diff --git a/STARTERKIT/components/asset-builds/css/clearfix.css b/STARTERKIT/components/asset-builds/css/clearfix.css new file mode 100644 index 0000000000000000000000000000000000000000..3a06e2ddd32e2405442981dbf2be119ed37b2e1d --- /dev/null +++ b/STARTERKIT/components/asset-builds/css/clearfix.css @@ -0,0 +1,10 @@ +.clearfix:before { + content: ''; + display: table; +} + +.clearfix:after { + content: ''; + display: table; + clear: both; +} diff --git a/STARTERKIT/components/asset-builds/css/components.css b/STARTERKIT/components/asset-builds/css/components.css index c8cd3018b0b8f763f87c7965bbc4f5f02276bda5..f4802614fdbf5ee4531fa5c438e7ef463b9f6b92 100644 --- a/STARTERKIT/components/asset-builds/css/components.css +++ b/STARTERKIT/components/asset-builds/css/components.css @@ -16,21 +16,6 @@ border-color: #0072b9; } -.clearfix:before, -.header:before, -.tabs:before { - content: ''; - display: table; -} - -.clearfix:after, -.header:after, -.tabs:after { - content: ''; - display: table; - clear: both; -} - .comment__section, .comments { margin: 1.5rem 0; @@ -114,6 +99,19 @@ h6 { margin-bottom: 1.5rem; } +.clearfix:before, +.header:before { + content: ''; + display: table; +} + +.clearfix:after, +.header:after { + content: ''; + display: table; + clear: both; +} + .header__logo { float: left; margin: 0 10px 0 0; @@ -399,111 +397,6 @@ span.field-label { font-weight: bold; } -.tabs { - margin: 1.125rem 0 0; - line-height: 1.875rem; - border-bottom: 1px solid #cccccc \0/ie; - background-image: -webkit-linear-gradient(bottom, #cccccc 1px, transparent 1px); - background-image: linear-gradient(to top, #cccccc 1px, transparent 1px); - padding: 0 2px; - list-style: none; - white-space: nowrap; -} - -@media print { - .tabs { - display: none; - } -} - -.tabs__tab { - float: left; - margin: 0 3px; - border: 1px solid #cccccc; - border-top-left-radius: 8px; - border-top-right-radius: 8px; - border-bottom-color: transparent; - border-bottom: 0 \0/ie; - overflow: hidden; - background: #dddddd; -} - -[dir="rtl"] .tabs__tab { - float: right; -} - -.tabs__tab.is-active { - border-bottom-color: #fff; -} - -.tabs__tab-link { - padding: 0 1.5rem; - display: block; - text-decoration: none; - -webkit-transition: color .3s, background .3s, border .3s; - transition: color .3s, background .3s, border .3s; - text-shadow: #fff 0 1px 0; - color: #000; - background: #dddddd; - letter-spacing: 1px; -} - -.tabs__tab-link:focus, .tabs__tab-link:hover { - background: #eaeaea; -} - -.tabs__tab-link:active, .tabs__tab-link.is-active, .tabs__tab-link--is-active { - background: #fff; - text-shadow: none; -} - -.tabs--secondary { - margin-top: 1.5rem; - font-size: 0.875rem; - background-image: none; -} - -.tabs + .tabs--secondary { - margin-top: 0; - background-image: -webkit-linear-gradient(bottom, #cccccc 1px, transparent 1px); - background-image: linear-gradient(to top, #cccccc 1px, transparent 1px); -} - -.tabs--secondary .tabs__tab { - margin: 0.5625rem 0.1875rem; - border: 0; - background: transparent; -} - -[dir="rtl"] .tabs--secondary .tabs__tab { - float: right; -} - -.tabs--secondary .tabs__tab.is-active { - border-bottom-color: transparent; -} - -.tabs--secondary .tabs__tab-link { - border: 1px solid #cccccc; - border-radius: 24px; - color: #666666; - background: #f1f1f1; - letter-spacing: normal; -} - -.tabs--secondary .tabs__tab-link:focus, .tabs--secondary .tabs__tab-link:hover { - color: #333333; - background: #dddddd; - border-color: #999999; -} - -.tabs--secondary .tabs__tab-link:active, .tabs--secondary .tabs__tab-link.is-active, .tabs--secondary .tabs__tab-link--is-active { - color: white; - text-shadow: #333333 0 1px 0; - background: #666666; - border-color: black; -} - .autocomplete, .form-autocomplete { background-image: url(../..//forms/autocomplete/throbber-inactive.png); diff --git a/STARTERKIT/components/asset-builds/css/tabs.css b/STARTERKIT/components/asset-builds/css/tabs.css new file mode 100644 index 0000000000000000000000000000000000000000..c16d52f5ac57e561e8d314b1be1defd30f9d5df3 --- /dev/null +++ b/STARTERKIT/components/asset-builds/css/tabs.css @@ -0,0 +1,104 @@ +.tabs { + margin: 1.125rem 0 0; + line-height: 1.875rem; + border-bottom: 1px solid #cccccc \0/ie; + background-image: -webkit-linear-gradient(bottom, #cccccc 1px, transparent 1px); + background-image: linear-gradient(to top, #cccccc 1px, transparent 1px); + padding: 0 2px; + list-style: none; + white-space: nowrap; +} + +@media print { + .tabs { + display: none; + } +} + +.tabs__tab { + float: left; + margin: 0 3px; + border: 1px solid #cccccc; + border-top-left-radius: 8px; + border-top-right-radius: 8px; + border-bottom-color: transparent; + border-bottom: 0 \0/ie; + overflow: hidden; + background: #dddddd; +} + +[dir="rtl"] .tabs__tab { + float: right; +} + +.tabs__tab.is-active { + border-bottom-color: #fff; +} + +.tabs__tab-link { + padding: 0 1.5rem; + display: block; + text-decoration: none; + -webkit-transition: color .3s, background .3s, border .3s; + transition: color .3s, background .3s, border .3s; + text-shadow: #fff 0 1px 0; + color: #000; + background: #dddddd; + letter-spacing: 1px; +} + +.tabs__tab-link:focus, .tabs__tab-link:hover { + background: #eaeaea; +} + +.tabs__tab-link:active, .tabs__tab-link.is-active, .tabs__tab-link--is-active { + background: #fff; + text-shadow: none; +} + +.tabs--secondary { + margin-top: 1.5rem; + font-size: 0.875rem; + background-image: none; +} + +.tabs + .tabs--secondary { + margin-top: 0; + background-image: -webkit-linear-gradient(bottom, #cccccc 1px, transparent 1px); + background-image: linear-gradient(to top, #cccccc 1px, transparent 1px); +} + +.tabs--secondary .tabs__tab { + margin: 0.5625rem 0.1875rem; + border: 0; + background: transparent; +} + +[dir="rtl"] .tabs--secondary .tabs__tab { + float: right; +} + +.tabs--secondary .tabs__tab.is-active { + border-bottom-color: transparent; +} + +.tabs--secondary .tabs__tab-link { + border: 1px solid #cccccc; + border-radius: 24px; + color: #666666; + background: #f1f1f1; + letter-spacing: normal; +} + +.tabs--secondary .tabs__tab-link:focus, .tabs--secondary .tabs__tab-link:hover { + color: #333333; + background: #dddddd; + border-color: #999999; +} + +.tabs--secondary .tabs__tab-link:active, .tabs--secondary .tabs__tab-link.is-active, .tabs--secondary .tabs__tab-link--is-active { + color: white; + text-shadow: #333333 0 1px 0; + background: #666666; + border-color: black; +} diff --git a/STARTERKIT/styleguide/index.html b/STARTERKIT/styleguide/index.html index 5a25f74f5093f94214ab1e4c8fff3ef26cd33f0f..9082fde4d3dfdb3d0b7b28f739e8119a597ddecc 100644 --- a/STARTERKIT/styleguide/index.html +++ b/STARTERKIT/styleguide/index.html @@ -11,14 +11,16 @@ - + + + diff --git a/STARTERKIT/styleguide/section-base.html b/STARTERKIT/styleguide/section-base.html index 475fe5fdcc8d2389e9325898d87107b959ba173d..553b9f3682ca1c4bc92994772991806a84c3dbc9 100644 --- a/STARTERKIT/styleguide/section-base.html +++ b/STARTERKIT/styleguide/section-base.html @@ -11,14 +11,16 @@ - + + + @@ -213,6 +215,12 @@ 2.6.2Scalable vector + +
base/embedded/_embedded.scss
, line 35
+ The HTML root component contains the doctype, HTML element, HEAD element and
+BODY element. It also contains the CSS for those elements and the *
+universal selector.
+<!DOCTYPE html>
+<html >
+ <head>
+ <title></title>
+ </head>
+ <body >
+
+ </body>
+</html>
+
+ base/root/_root.scss
, line 3
+ components/clearfix/_clearfix.scss
, line 1
+ Source: components/clearfix/clearfix.scss
, line 3
<footer class="footer " role="contentinfo">
- Copyright statement here. Legalize here.
-</footer>
+ Copyright statement here. Legalize here.
+ </footer>
diff --git a/STARTERKIT/styleguide/section-forms.html b/STARTERKIT/styleguide/section-forms.html
index 66c29871c13085a7c39ee9f9c4230a36c78ef783..21937cb5e05558dcd5553cc5dd300d054ee2193c 100644
--- a/STARTERKIT/styleguide/section-forms.html
+++ b/STARTERKIT/styleguide/section-forms.html
@@ -11,14 +11,16 @@
-
+
+
+
@@ -212,7 +214,7 @@ or form elements.
components.scss
, line 71
+ Source: components.scss
, line 69
components.scss
, line 57
+ Source: components.scss
, line 56