diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-05 22:45:46 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-14 00:58:16 +0300 |
commit | 658b42b1fa79c77b1acef67a645b36a2928a71bd (patch) | |
tree | 5baa871a6d41bfc3910f4196340ec27ae4e4bb10 /app/assets/stylesheets/pages/profiles | |
parent | 0c0c31ff34b3010c2c269ec56ef48dd305c6f74a (diff) |
Consolidate theme stylesheets into one
Since they're all defined by a mixin, it didn't provide any benefit to
have them in separate files.
This also adds variables defining the basic color of each theme so we
can re-use them in the previews.
Diffstat (limited to 'app/assets/stylesheets/pages/profiles')
-rw-r--r-- | app/assets/stylesheets/pages/profiles/preferences.scss | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/profiles/preferences.scss b/app/assets/stylesheets/pages/profiles/preferences.scss new file mode 100644 index 00000000000..846a940f1c9 --- /dev/null +++ b/app/assets/stylesheets/pages/profiles/preferences.scss @@ -0,0 +1,57 @@ +.application-theme { + label { + margin-right: 20px; + text-align: center; + + .application-theme-preview { + height: 80px; + width: 160px; + margin-bottom: 10px; + @include border-radius(4px); + + &.ui_blue { + background: $theme-blue; + } + + &.ui_charcoal { + background: $theme-charcoal; + } + + &.ui_graphite { + background: $theme-graphite; + } + + &.ui_gray { + background: $theme-gray; + } + + &.ui_green { + background: $theme-green; + } + + &.ui_violet { + background: $theme-violet; + } + } + } +} + +.code_highlight_opts { + margin-top: 10px; + + label { + margin-right: 20px; + text-align: center; + + .prev { + width: 160px; + margin-bottom: 10px; + + img { + max-width: 100%; + @include border-radius(4px); + } + } + } +} + |