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.
78 lines
2.1 KiB
78 lines
2.1 KiB
6 years ago
|
/**
|
||
|
* @file
|
||
|
* Visual styles for Magazine+'s nav pills.
|
||
|
*/
|
||
|
.nav.nav-pills {
|
||
|
margin-right: -15px;
|
||
|
margin-left: -15px;
|
||
|
}
|
||
|
.nav.nav-pills.text-center {
|
||
|
font-size: 0px;
|
||
|
}
|
||
|
.nav.nav-pills.text-center > li {
|
||
|
float: none;
|
||
|
display: inline-block;
|
||
|
}
|
||
|
.nav-pills > li > a {
|
||
|
font-size: 12px;
|
||
|
font-weight: 400;
|
||
|
padding: 10px 30px;
|
||
|
color: #ffffff;
|
||
|
display: inline-block;
|
||
|
line-height: 1;
|
||
|
-webkit-transition: all 0.2s ease-in-out;
|
||
|
-moz-transition: all 0.2s ease-in-out;
|
||
|
-ms-transition: all 0.2s ease-in-out;
|
||
|
-o-transition: all 0.2s ease-in-out;
|
||
|
transition: all 0.2s ease-in-out;
|
||
|
margin: 10px 0;
|
||
|
text-align: center;
|
||
|
border-radius: 0;
|
||
|
border-width: 1px;
|
||
|
border-style: solid;
|
||
|
border-color: transparent;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
.headings-wide-spacing-enabled .nav-pills > li > a {
|
||
|
letter-spacing: 0.25em;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
.nav-pills > li.active > a,
|
||
|
.nav-pills > li.active > a:focus,
|
||
|
.nav-pills > li.active > a:hover,
|
||
|
.nav-pills > li > a:focus {
|
||
|
background-color: transparent;
|
||
|
}
|
||
|
.nav-pills > li > a:hover {
|
||
|
color: #ffffff;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
.nav.nav-pills > li,
|
||
|
.nav.nav-pills > li + li {
|
||
|
margin: 0px 15px 15px;
|
||
|
}
|
||
|
|
||
|
/*nav pills @colored-regions*/
|
||
|
.region--light-typography .nav-pills > li > a {
|
||
|
color: #ffffff;
|
||
|
text-decoration: none;
|
||
|
background-color: transparent;
|
||
|
border-style: solid;
|
||
|
border-width: 1px;
|
||
|
border-color: #ffffff;
|
||
|
}
|
||
|
.region--light-typography .nav-pills > li.active > a,
|
||
|
.region--light-typography .nav-pills > li.active > a:focus,
|
||
|
.region--light-typography .nav-pills > li.active > a:hover,
|
||
|
.region--light-typography .nav-pills > li > a:hover,
|
||
|
.region--light-typography .nav-pills > li > a:focus {
|
||
|
color: #ffffff;
|
||
|
}
|
||
|
.region--light-typography.region--colored-background .nav-pills > li.active > a,
|
||
|
.region--light-typography.region--colored-background .nav-pills > li.active > a:focus,
|
||
|
.region--light-typography.region--colored-background .nav-pills > li.active > a:hover,
|
||
|
.region--light-typography.region--colored-background .nav-pills > li > a:hover,
|
||
|
.region--light-typography.region--colored-background .nav-pills > li > a:focus {
|
||
|
color: #ffffff;
|
||
|
}
|