I2P brand styleguides for the web
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

271 lines
5.0 KiB

7 years ago
.navbar {
// background-color: $oc-white !important;
}
.background-primary {
background-color: $primary;
}
.background-secondary {
background-color: $secondary;
}
.background-warning {
background-color: $warning;
}
.background-danger {
background-color: $danger;
}
6 years ago
.background-gray-0 {
background-color: $oc-gray-0;
}
7 years ago
.background-gray-1 {
background-color: $oc-gray-1;
}
.background-gray-2 {
background-color: $oc-gray-2;
}
6 years ago
.background-gray-3 {
background-color: $oc-gray-3;
}
.background-gray-4 {
background-color: $oc-gray-4;
}
.background-gray-5 {
background-color: $oc-gray-5;
}
.background-gray-6 {
background-color: $oc-gray-6;
}
.background-gray-7 {
background-color: $oc-gray-7;
}
.background-gray-8 {
background-color: $oc-gray-8;
}
.background-gray-9 {
background-color: $oc-gray-9;
}
7 years ago
.background-black {
background-color: $oc-black;
}
.color-primary {
color: $primary
}
.color-secondary {
color: $secondary;
}
6 years ago
.color-gray-9 {
color: $oc-gray-3;
7 years ago
}
.rb-code {
7 years ago
font-family: 'Source Code Pro', monospace !important;
7 years ago
}
.rb-isBold {
font-weight: bold;
}
/*
Overwriting the default size for btn-lg and btn-md
*/
.btn-lg, .btn-md {
line-height: 1em;
}
7 years ago
.btn-primary {
background-color: $primary !important;
border-color: transparent !important;
padding: 1rem 1.5rem !important;
font-size: 1rem;
&:hover {
background-color: $secondary !important;
border-color: transparent !important;
}
}
.btn-small {
background-color: $primary !important;
border-color: transparent !important;
padding: .08rem .4rem 0 !important;
font-size: .8rem;
color: $oc-white;
&:hover {
background-color: $secondary !important;
border-color: transparent !important;
}
}
.btn-medium {
background-color: $primary !important;
border-color: transparent !important;
padding: .5rem 1rem !important;
font-size: 1rem !important;
color: $oc-white;
&:hover {
background-color: $secondary !important;
border-color: transparent !important;
color: $oc-white;
}
}
.btn-large {
border-radius: .3rem;
background-color: $primary !important;
border-color: transparent !important;
border-radius: 2em;
padding: .5rem 1rem !important;
font-size: 1.25rem !important;
line-height: 1.5;
color: $oc-white;
&:hover {
background-color: $secondary !important;
border-color: transparent !important;
color: $oc-white;
}
}
.btn-outline-medium {
border-color: $primary !important;
color: $primary !important;
padding: .5rem 1rem !important;
font-size: 1rem !important;
background-color: transparent !important;
&:hover {
color: white !important;
background-color: $primary !important;
border-color: transparent !important;
}
}
.btn-outline-small {
border-color: $primary !important;
color: $primary !important;
padding: .08rem .4rem 0 !important;
font-size: .8rem;
background-color: transparent !important;
&:hover {
color: white !important;
background-color: $primary !important;
border-color: transparent !important;
}
}
.btn-outline-primary {
border-color: $primary !important;
color: $primary !important;
padding: 1rem 1.5rem !important;
font-size: 1rem;
&:hover {
color: white !important;
background-color: $primary !important;
border-color: transparent !important;
}
}
.btn-link {
color: $primary !important;
&:hover {
color: $secondary !important;
}
}
.btn-scroller {
border-radius: .25rem;
text-align: center;
display: inline-block;
-webkit-transition-duration: .1s;
-o-transition-duration: .1s;
-webkit-transition-timing-function: linear;
-o-transition-timing-function: linear;
-webkit-transition-property: background-color,color,border-color;
-o-transition-property: background-color,color,border-color;
padding: .5rem 1rem;
transition-duration: .1s;
transition-timing-function: linear;
transition-property: background-color,color,border-color;
color: #00000b;
background-color: #dddde0;
border: 0;
}
.btn-scroller:active, .btn-scroller:focus, .btn-scroller:hover {
color: #00000b;
background-color: #aaaab0;
}
.btn-pill {
border-radius: 300px; //make it huge so itis alwas in pill shape
}
.faq__chevron-up {
height: .8em;
vertical-align: -.06em;
fill: currentColor;
margin-left: .5em;
-webkit-transform: rotate(270deg);
-ms-transform: rotate(270deg);
-o-transform: rotate(270deg);
transform: rotate(270deg);
}
.badge-primary {
background-color: $primary !important;
}
.badge-secondary {
background-color: $secondary !important;
}
.rb-link {
color: $primary !important;
&:hover {
color: $secondary !important;
}
}
.rb-paginate-active {
background-color: $primary !important;
color: white !important;
&:hover {
background-color: $secondary !important;
}
}
.pagination .page-link {
6 years ago
color: $oc-gray-9;
7 years ago
}
.table-striped > tbody > tr:nth-child(2n+1) > td, .table-striped > tbody > tr:nth-child(2n+1) > th {
6 years ago
background-color: $oc-gray-3 !important;
7 years ago
}
.mark, mark {
6 years ago
background-color: $oc-gray-3 !important;
7 years ago
padding: .2em !important;
}