summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-02-18 10:19:20 +0100
committerVolpeon <git@volpeon.ink>2022-02-18 10:19:20 +0100
commit8860e649fc6df9af11d784b6bcbed2a2ab4f77ac (patch)
tree5cbf964e7f0ccb2ce4c07296ee5a5a65bc310e84 /src
parentImproved lightbox nav buttons (diff)
downloadiro-design-8860e649fc6df9af11d784b6bcbed2a2ab4f77ac.tar.gz
iro-design-8860e649fc6df9af11d784b6bcbed2a2ab4f77ac.tar.bz2
iro-design-8860e649fc6df9af11d784b6bcbed2a2ab4f77ac.zip
Better dialog padding
Diffstat (limited to 'src')
-rw-r--r--src/objects/_dialog.scss11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/objects/_dialog.scss b/src/objects/_dialog.scss
index bf0defb..b0b435f 100644
--- a/src/objects/_dialog.scss
+++ b/src/objects/_dialog.scss
@@ -4,8 +4,8 @@
4@include iro.props-namespace('dialog') { 4@include iro.props-namespace('dialog') {
5 @include iro.props-store(( 5 @include iro.props-store((
6 --dims: ( 6 --dims: (
7 --pad-x: iro.fn-px-to-rem(40px), 7 --pad-x: fn.global-dim(--size --400),
8 --pad-y: iro.fn-px-to-rem(40px), 8 --pad-y: fn.global-dim(--size --400),
9 --width-sm: iro.fn-px-to-rem(500px), 9 --width-sm: iro.fn-px-to-rem(500px),
10 --width-md: iro.fn-px-to-rem(800px), 10 --width-md: iro.fn-px-to-rem(800px),
11 --width-lg: iro.fn-px-to-rem(1100px), 11 --width-lg: iro.fn-px-to-rem(1100px),
@@ -15,6 +15,13 @@
15 ), 'dims'); 15 ), 'dims');
16 16
17 @include iro.props-store(( 17 @include iro.props-store((
18 --dims: (
19 --pad-x: fn.global-dim(--size --300),
20 --pad-y: fn.global-dim(--size --300),
21 ),
22 ), 'md');
23
24 @include iro.props-store((
18 --colors: ( 25 --colors: (
19 --shadow: 0 .2em .5em rgba(#000, .2), 26 --shadow: 0 .2em .5em rgba(#000, .2),
20 ), 27 ),