diff options
Diffstat (limited to 'view/theme/dispy/dark/_base.less')
-rw-r--r-- | view/theme/dispy/dark/_base.less | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/view/theme/dispy/dark/_base.less b/view/theme/dispy/dark/_base.less index aee933135..000cdbd5a 100644 --- a/view/theme/dispy/dark/_base.less +++ b/view/theme/dispy/dark/_base.less @@ -23,7 +23,6 @@ @med_bg_colour: #4e4f4e; @menu_bg_colour: #555753; - //* font colour, aka color: */ @lt_main_colour: #ffff99; @main_colour: #eeeecc; @@ -48,6 +47,7 @@ @orange: #f8911b; @lt_orange: #fcaf3e; @shadow_colour: darken(@main_alt_colour, 86.5%); +@lt_shadow_colour: #888888; @friendica_blue: #3465a4; @border2: #babdb6; @group_show: #9ade00; @@ -66,6 +66,9 @@ //@hover_colour: #729fcf; @hover_colour: @dk_link_colour; +// other colours +@med_border_colour: #c8bebe; + //* box shadows */ @menu_shadow: 5px 0 10px 0 @shadow_colour; @main_shadow: 3px 3px 3px 10px 0 @shadow_colour; @@ -96,7 +99,7 @@ //*/ //* text-shadow */ -.text_shadow (@h: 1px, @v: 1px, @c: #111) { +.text_shadow (@h: 1px, @v: 1px, @c: @shadow_colour) { -moz-text-shadow: @h @v @c; -o-text-shadow: @h @v @c; -webkit-text-shadow: @h @v @c; @@ -104,7 +107,7 @@ text-shadow: @h @v @c; } //* transitions */ -.transition (@type: all, @dur: 0.5s, @effect: ease-in-out) { +.transition (@type: all, @dur: 0.75s, @effect: ease-in-out) { -webkit-transition: @arguments; -moz-transition: @arguments; -o-transition: @arguments; @@ -116,7 +119,9 @@ .borders (@size: 1px, @style: solid, @colour: @main_colour) { border: @size @style @colour; } - +.med_borders (@sz: 2px, @st: solid, @c: @med_border_colour) { + border: @sz @st @c; +} //* rounded box corners */ .rounded_corners (@r: 5px) { -o-border-radius: @r; @@ -145,6 +150,12 @@ line-height: 1.1em; font-family: sans-serif; } +.font_size_adjust () { + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100%; + -o-text-size-adjust: 100%; + font-size-adjust: 100%; +} //* reset ul, ol */ .list_reset () { |