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

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Cottrell <mcottrell@gitlab.com>2022-11-09 00:22:59 +0300
committerSarah German <sgerman@gitlab.com>2022-11-09 00:22:59 +0300
commit1ae27a79d2086275b5ca3a1f60c5d67103dbadcb (patch)
tree4796c2cba286a35392846cb6f78f889a3ca0d391 /content/assets
parent618007f8e9cc711a616e6186e178f429e1e656b2 (diff)
Add layout and styling for blueprint index page
Diffstat (limited to 'content/assets')
-rw-r--r--content/assets/stylesheets/labels.scss26
-rw-r--r--content/assets/stylesheets/stylesheet.scss1
2 files changed, 27 insertions, 0 deletions
diff --git a/content/assets/stylesheets/labels.scss b/content/assets/stylesheets/labels.scss
new file mode 100644
index 00000000..34b29e86
--- /dev/null
+++ b/content/assets/stylesheets/labels.scss
@@ -0,0 +1,26 @@
+.gl-label {
+ --label-inset-border: inset 0 0 0 2px var(--label-background-color);
+ color: var(--white);
+ font-size: .75rem;
+ line-height: 1rem;
+
+ &.devops {
+ --label-background-color: var(--orange);
+ }
+
+ &.proposed {
+ --label-background-color: var(--gray);
+ }
+ &.accepted {
+ --label-background-color: var(--cyan);
+ }
+ &.ready {
+ --label-background-color: var(--green);
+ }
+ &.implemented {
+ --label-background-color: var(--blue);
+ }
+ &.rejected {
+ --label-background-color: var(--red);
+ }
+} \ No newline at end of file
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss
index d6fa587f..421786b3 100644
--- a/content/assets/stylesheets/stylesheet.scss
+++ b/content/assets/stylesheets/stylesheet.scss
@@ -9,6 +9,7 @@ version: 130
@import 'mixins';
@import 'base';
@import 'tables';
+@import 'labels';
@import 'sidebar';
@import 'typography';
@import 'docsearch';