1
0
Fork 0
mirror of synced 2024-07-01 12:40:34 +12:00
appwrite/public/styles/comps/tabs.less

105 lines
1.6 KiB
Plaintext
Raw Normal View History

2019-05-09 18:54:39 +12:00
.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 {
2019-08-06 18:42:47 +12:00
height: 55px;
line-height: 55px;
2019-05-09 18:54:39 +12:00
list-style: none;
padding: 0;
.clear;
.margin-bottom-large;
2019-08-06 18:42:47 +12:00
margin-top: -55px;
2019-05-09 18:54:39 +12:00
-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;
2020-02-11 06:04:57 +13:00
color: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
position: relative;
opacity: 1;
&:after {
content: "";
display: block;
height: 2px;
2020-02-11 06:04:57 +13:00
background: var(--config-color-focus);
2020-02-27 10:54:12 +13:00
width: calc(100% + 6px);
margin: 0 -3px;
2019-05-09 18:54:39 +12:00
position: absolute;
bottom: 0;
border-radius: 2px;
}
}
.number {
display: none;
}
li {
.pull-start;
2020-02-27 10:54:12 +13:00
.func-margin-end(50px);
2020-02-11 06:04:57 +13:00
color: var(--config-color-focus);
2019-05-09 18:54:39 +12:00
opacity: .9;
cursor: pointer;
2020-02-27 10:54:12 +13:00
2019-05-09 18:54:39 +12:00
&:focus {
outline: none;
}
2020-02-27 10:54:12 +13:00
@media @phones {
.func-margin-end(25px);
}
2019-05-09 18:54:39 +12:00
}
}
.icon {
display: none;
}
@media @phones, @tablets {
.tabs {
width: auto;
overflow-x: scroll;
overflow-y: hidden;
white-space: nowrap;
li {
display: inline-block;
float: none;
}
}
}
}