Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-09-17 00:22:49 +0300
committerGitHub <noreply@github.com>2019-09-17 00:22:49 +0300
commit129bb08fc4d2c850ae71250371adf82a4441dc70 (patch)
tree4816ae6ce08538296928eec9a83a498359fd78eb /site/assets/scss/_brand.scss
parenta9c05ab798df7b1a40af41c25dd92faa84b13f99 (diff)
Use Hugo for our docs Sass and JS. (#29280)
Now there's only one command needed to run the docs: `npm run docs-serve`. Also, simplify the npm scripts.
Diffstat (limited to 'site/assets/scss/_brand.scss')
-rw-r--r--site/assets/scss/_brand.scss67
1 files changed, 67 insertions, 0 deletions
diff --git a/site/assets/scss/_brand.scss b/site/assets/scss/_brand.scss
new file mode 100644
index 0000000000..be6aa91ffb
--- /dev/null
+++ b/site/assets/scss/_brand.scss
@@ -0,0 +1,67 @@
+//
+// Brand guidelines
+//
+
+// Logo series wrapper
+.bd-brand-logos {
+ color: $bd-purple;
+
+ .inverse {
+ color: $white;
+ background-color: $bd-purple;
+ }
+}
+
+// Individual items
+.bd-brand-item {
+ width: 100%;
+ padding: 4rem 1rem;
+
+ + .bd-brand-item {
+ border-top: 1px solid $white;
+ }
+
+ @include media-breakpoint-up(md) {
+ + .bd-brand-item {
+ border-top: 0;
+ border-left: 1px solid $white;
+ }
+ }
+}
+
+
+//
+// Color swatches
+//
+
+.color-swatches {
+ display: flex;
+ margin: 0 -5px;
+
+ // Docs colors
+ .bd-purple {
+ background-color: $bd-purple;
+ }
+ .bd-purple-light {
+ background-color: $bd-purple-light;
+ }
+ .bd-purple-lighter {
+ background-color: #e5e1ea;
+ }
+ .bd-gray {
+ background-color: #f9f9f9;
+ }
+}
+
+.color-swatch {
+ width: 4rem;
+ height: 4rem;
+ margin-right: .25rem;
+ margin-left: .25rem;
+ @include border-radius();
+
+ @include media-breakpoint-up(md) {
+ width: 6rem;
+ height: 6rem;
+ }
+}