1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00
appwrite/public/styles/comps/tabs.less
2020-02-26 23:54:12 +02:00

105 lines
1.6 KiB
Plaintext

.phases {
list-style: none;
margin: 0;
padding: 0;
position: relative;
li {
display: none;
li {
display: block;
}
&.selected {
display: block;
}
}
.number {
display: none;
}
h2, h3, h4, h5, h6 {
margin: 0 0 30px 0;
text-align: inherit;
}
}
.container {
position: relative;
.tabs {
height: 55px;
line-height: 55px;
list-style: none;
padding: 0;
.clear;
.margin-bottom-large;
margin-top: -55px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
.selected {
font-weight: 400;
color: var(--config-color-focus);
position: relative;
opacity: 1;
&:after {
content: "";
display: block;
height: 2px;
background: var(--config-color-focus);
width: calc(100% + 6px);
margin: 0 -3px;
position: absolute;
bottom: 0;
border-radius: 2px;
}
}
.number {
display: none;
}
li {
.pull-start;
.func-margin-end(50px);
color: var(--config-color-focus);
opacity: .9;
cursor: pointer;
&:focus {
outline: none;
}
@media @phones {
.func-margin-end(25px);
}
}
}
.icon {
display: none;
}
@media @phones, @tablets {
.tabs {
width: auto;
overflow-x: scroll;
overflow-y: hidden;
white-space: nowrap;
li {
display: inline-block;
float: none;
}
}
}
}