diff options
Diffstat (limited to 'src/objects/_menu.scss')
-rw-r--r-- | src/objects/_menu.scss | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/objects/_menu.scss b/src/objects/_menu.scss index f03dbc1..40610e0 100644 --- a/src/objects/_menu.scss +++ b/src/objects/_menu.scss | |||
@@ -9,8 +9,9 @@ | |||
9 | ), | 9 | ), |
10 | --separator: fn.global-dim(--size --150), | 10 | --separator: fn.global-dim(--size --150), |
11 | --item: ( | 11 | --item: ( |
12 | --pad-x: fn.global-dim(--size --150), | 12 | --pad-x: fn.global-dim(--size --150), |
13 | --pad-y: fn.global-dim(--size --100), | 13 | --pad-y: fn.global-dim(--size --100), |
14 | --rounding: 3px, | ||
14 | ), | 15 | ), |
15 | ), | 16 | ), |
16 | ), 'dims'); | 17 | ), 'dims'); |
@@ -52,12 +53,13 @@ | |||
52 | } | 53 | } |
53 | 54 | ||
54 | @include iro.bem-elem('item') { | 55 | @include iro.bem-elem('item') { |
55 | display: block; | 56 | display: block; |
56 | box-sizing: border-box; | 57 | box-sizing: border-box; |
57 | width: 100%; | 58 | width: 100%; |
58 | padding: calc(fn.dim(--item --pad-y) - 2px) calc(fn.dim(--item --pad-x) - 2px); | 59 | padding: calc(fn.dim(--item --pad-y) - 2px) calc(fn.dim(--item --pad-x) - 2px); |
59 | border: 2px solid transparent; | 60 | border: 2px solid transparent; |
60 | color: fn.color(--item --disabled --label); | 61 | border-radius: fn.dim(--item --rounding); |
62 | color: fn.color(--item --disabled --label); | ||
61 | 63 | ||
62 | &:link, | 64 | &:link, |
63 | &:visited, | 65 | &:visited, |