mirror of
https://github.com/danog/sass-site.git
synced 2024-12-15 10:57:24 +01:00
a13314a3fd
Also added override for the a:focus blue hover since it: a) Doesn't confine to the style guide b) Makes the tab arrow look weird
62 lines
1.3 KiB
SCSS
62 lines
1.3 KiB
SCSS
.slides {
|
|
.ui-helper-reset { line-height: inherit; }
|
|
|
|
.ui-tabs {
|
|
&,
|
|
.ui-tabs-nav,
|
|
.ui-tabs-nav li.ui-tabs-active,
|
|
.ui-tabs-panel { padding: 0; }
|
|
|
|
.ui-tabs-nav {
|
|
@include trailer(-3);
|
|
margin-right: -1em;
|
|
a:focus {
|
|
outline: 0px !important;
|
|
border:none !important;
|
|
box-shadow:none !important;
|
|
}
|
|
.ui-tabs-active {
|
|
&:after, &:before {
|
|
bottom: -1px;
|
|
left: 50%;
|
|
border: solid transparent;
|
|
content: " ";
|
|
height: 0;
|
|
width: 0;
|
|
position: absolute;
|
|
pointer-events: none;
|
|
}
|
|
&:after {
|
|
border-color: transparent;
|
|
border-bottom-color: #f8f8f8;
|
|
border-width: 10px;
|
|
margin-left: -10px;
|
|
}
|
|
&:before {
|
|
border-color: transparent;
|
|
border-bottom-color: #ebebeb;
|
|
border-width: 11px;
|
|
margin-left: -11px;
|
|
}
|
|
}
|
|
li {
|
|
float: right;
|
|
|
|
&,
|
|
&.ui-tabs-active { margin: 0; }
|
|
}
|
|
|
|
.ui-tabs-active a { color: $color-text-weak; }
|
|
|
|
.ui-tabs-anchor {
|
|
@include padding-leader(.5);
|
|
@include padding-trailer(.5);
|
|
padding: {
|
|
right: 1em;
|
|
left: 1em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|