mirror of
https://github.com/jcreek/phldnhack.git
synced 2026-07-13 02:53:44 +00:00
Cleanup & addition of Foundation 5
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
.tabs {
|
||||
@include flexbox();
|
||||
position: relative;
|
||||
height: 48px;
|
||||
background-color: $tabs-bg-color;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
|
||||
.tab {
|
||||
-webkit-box-flex: 1;
|
||||
-webkit-flex-grow: 1;
|
||||
-ms-flex-positive: 1;
|
||||
flex-grow: 1;
|
||||
display: block;
|
||||
float: left;
|
||||
text-align: center;
|
||||
line-height: 48px;
|
||||
height: 48px;
|
||||
padding: 0 20px;
|
||||
margin: 0;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .8px;
|
||||
width: 15%;
|
||||
|
||||
a {
|
||||
color: $tabs-text-color;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@include transition( color .28s ease);
|
||||
&:hover {
|
||||
color: lighten($tabs-text-color, 20%);
|
||||
}
|
||||
}
|
||||
|
||||
&.disabled a {
|
||||
color: lighten($tabs-text-color, 20%);
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
.indicator {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
height: 2px;
|
||||
background-color: $tabs-underline-color;
|
||||
will-change: left, right;
|
||||
}
|
||||
}
|
||||
|
||||
.tabs .tab { padding: 0; }
|
||||
|
||||
Reference in New Issue
Block a user