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.

431 lines
7.2 KiB

.alert {
border-radius: 15px;
&-custom {
color: #3b4f87;
background-color: #e2e6f0;
border-color: #6679ac;
& hr {
border-top-color: #6679ac;
}
& .alert-link {
color: #081b4f;
}
}
&-primary {
color: #3b4f87;
background-color: #e2e6f0;
border-color: #6679ac;
& hr {
border-top-color: #6679ac;
}
& .alert-link {
color: #003600;
}
}
&-secondary {
color: $oc-gray-7;
background-color: $oc-gray-2;
border-color: $oc-gray-6;
& hr {
border-top-color: $oc-gray-6;
}
& .alert-link {
color: $oc-gray-8;
}
}
&-success {
color: #105c10;
background-color: #e1f2e1;
border-color: #60ab60;
& hr {
border-top-color: #1d731d;
}
& .alert-link {
color: #003b00;
}
}
&-warning {
color: #6b4c00;
background-color: #ffeab5;
border-color: #cca443;
& hr {
border-top-color: #cca443;
}
& .alert-link {
color: #a66b00;
}
}
&-danger {
color: #700b00;
background-color: #ffcac4;
border-color: #e15647;
& hr {
border-top-color: #e15647;
}
& .alert-link {
color: #880000;
}
}
}
7 years ago
.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-9;
7 years ago
}
.rb-code {
6 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-primary,
.btn-outline-primary,
.btn-lg,
.btn-large,
.btn-outline-large,
.btn-md,
.btn-medium,
.btn-outline-medium {
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-white {
color: $primary !important;
background-color: $oc-white !important;
border-color: transparent !important;
padding: 1rem 1.5rem !important;
font-size: 1rem;
&:hover {
color: $oc-white !important;
background-color: $secondary !important;
border-color: transparent !important;
}
}
7 years ago
.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;
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: 30px;
7 years ago
}
.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;
}
.footer {
ul {
list-style: none;
font-weight: 600;
text-transform: capitalize;
span {
display: block;
margin-bottom: 0.5em;
}
a {
color: rgba(255,255,255,0.5);
font-weight: 400;
&:hover {
color: $oc-white;
}
}
}
&__social-media {
display: flex;
&-icon {
content: " ";
width: 75px;
height: 75px;
margin-right: 1rem;
background-color: rgba(255,255,255,0.5);
border-radius: 75px;
}
}
&-extras{
ul {
li {
margin: 0 0.5rem;
}
}
}
.spacer {
content: " ";
height: 2rem;
}
}
#styleguide-nav {
background-color: $oc-gray-0 !important;
.nav-item:hover {
box-shadow: inset 0 -5px $primary;
& .nav-link {
color: $primary;
}
}
.nav-link {
color: $oc-gray-9;
}
.show {
.nav-item:hover {
box-shadow: 0 0;
}
}
}
7 years ago
.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;
}