From c2079b687ee88632f24fdf31a251c11f7d695a13 Mon Sep 17 00:00:00 2001 From: Gabriel Albo Date: Tue, 19 Aug 2014 14:43:02 -0300 Subject: Adding (hard-coded) color palette section plus a few minor style changes --- web-ui/app/scss/style-guide.scss | 43 +++++++++++--- web-ui/app/style-guide.html | 118 +++++++++++++++++++++++++++++---------- 2 files changed, 122 insertions(+), 39 deletions(-) (limited to 'web-ui') diff --git a/web-ui/app/scss/style-guide.scss b/web-ui/app/scss/style-guide.scss index f6b957df..77efdfa8 100644 --- a/web-ui/app/scss/style-guide.scss +++ b/web-ui/app/scss/style-guide.scss @@ -1,4 +1,5 @@ @import "compass/css3"; +@import "styles.scss"; body { display: block; @@ -12,10 +13,18 @@ nav { width: 100%; background-color: #3e3a37; color: white; + opacity: 0.95; } ul li { display: inline; + + a { + color: $primary_color; + } + a:hover { + color: lighten($primary_color, 15%); + } } ul.left, ul.right { @@ -32,15 +41,33 @@ ul.right { section.guide-section { display: block; - height: 550px; + height: 100%; overflow-y: auto; padding: 82px 32px; +} - &:nth-child(even) { - background: white - } - - &:nth-child(odd) { - background: #E5E5E3 - } +.color-swatch { + width: 160px; + height: 230px; + background-color: #344a5f; + border-radius: 5px; + display: inline-block; + margin-right: 15px; } + +.color-label { + position: relative; + top: 173px; + background-color: white; + border: 1px solid #eee; + text-align: center; + color: #344a5f; + border-bottom-left-radius: 5px; + border-bottom-right-radius: 5px; + padding: 10px 0; +} + +.color-name { + font-size: small; +} + diff --git a/web-ui/app/style-guide.html b/web-ui/app/style-guide.html index dc72b9a0..0f7b8e03 100644 --- a/web-ui/app/style-guide.html +++ b/web-ui/app/style-guide.html @@ -29,7 +29,7 @@
- Basic Guidelines section. +

Basic Guidelines

Guidelines, guidelines, guidelines.
@@ -45,59 +45,115 @@
- Color palette. -
- Color palette. Primary and secondary colors. -
- Color palette. Primary and secondary colors. -
- Color palette. Primary and secondary colors. -
- Color palette. Primary and secondary colors. -
- Color palette. Primary and secondary colors. -
+

Color Palette

+
+
+
+

+ PRIMARY COLOR +
#EF4E2F +

+
+
+

+ SECONDARY COLOR +
#3E3A37 +

+
+
+

+ TOP PANE +
#EAEAEA +

+
+
+

+ CONTRAST +
#F2F3ED +

+
+
+
+
+
+

+ SUCCESS +
#2DAB49 +

+
+
+

+ ATTENTION +
#F6A40A +

+
+
+

+ WARNING +
#F7E8AF +

+
+
+

+ ERROR +
#D72A25 +

+
+
+

+ SEARCH HIGHLIGHT +
#FFEF29 +

+
+
+

+ COUNT BACKGROUND +
#C0B9B9 +

+
+
- Typography. Basic references to typefaces and sizes. +

Typography

+
- Typography. + Typography. Basic references to typefaces and sizes.
- Typography. + Typography. Basic references to typefaces and sizes.
- Typography. + Typography. Basic references to typefaces and sizes.
- Typography. + Typography. Basic references to typefaces and sizes.
- Typography. + Typography. Basic references to typefaces and sizes.
- Example of components, such as warnings, modals, buttons, etc.. +

Components


- Components. + Example of components, such as warnings, modals, buttons, etc..
- Components. + Example of components, such as warnings, modals, buttons, etc..
- Components. + Example of components, such as warnings, modals, buttons, etc..
- Components. + Example of components, such as warnings, modals, buttons, etc..
- Components. + Example of components, such as warnings, modals, buttons, etc..
- Icons - style and usage. +

Icons


- Icons. + Icons - style and usage.
- Icons. + Icons - style and usage.
- Icons. + Icons - style and usage.
- Icons. + Icons - style and usage.
- Icons. + Icons - style and usage.
-- cgit v1.2.3