feat(aio): api label styles
- Moved info bar section in pipe template to be the first section to match other templates - Fixed label styling for type label - Added label styling for status label
This commit is contained in:

committed by
Pete Bacon Darwin

parent
a8379a46cf
commit
d27588b5fb
@ -36,29 +36,34 @@
|
||||
}
|
||||
}
|
||||
|
||||
.api-type-label {
|
||||
|
||||
.api-header label {
|
||||
border-radius: 4px;
|
||||
padding: 4px 16px;
|
||||
background-color: $accentblue;
|
||||
display: inline;
|
||||
margin: 0 16px;
|
||||
|
||||
@each $name, $symbol in $api-symbols {
|
||||
&.#{$name} {
|
||||
background: map-get($symbol, background);
|
||||
}
|
||||
}
|
||||
|
||||
font-size: 14px;
|
||||
color: white;
|
||||
margin: 0 8px 0 16px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
display: block;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 14px;
|
||||
color: white;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
&.api-status-label {
|
||||
background-color: $mediumgray;
|
||||
}
|
||||
|
||||
&.api-type-label {
|
||||
background-color: $accentblue;
|
||||
|
||||
@each $name, $symbol in $api-symbols {
|
||||
&.#{$name} {
|
||||
background: map-get($symbol, background);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
/* BANNER */
|
||||
|
||||
.info-banner {
|
||||
margin: 16px 0;
|
||||
justify-content: center;
|
||||
background: $white;
|
||||
border: 1px solid rgba($lightgray, 0.5);
|
||||
@ -17,8 +18,8 @@
|
||||
|
||||
p, .text-body {
|
||||
color: $darkgray;
|
||||
font-size: 18px;
|
||||
line-height: 32px;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user