badguardhome/client/src/components/ui/Tabs.css

89 lines
1.3 KiB
CSS
Raw Normal View History

2019-01-18 17:17:48 +00:00
.tabs__controls {
display: flex;
justify-content: space-between;
margin-bottom: 15px;
2020-08-01 14:12:29 +00:00
padding: 10px 0;
2019-01-18 17:17:48 +00:00
border-bottom: 1px solid #e8e8e8;
2020-08-01 14:12:29 +00:00
overflow: auto;
}
@media screen and (min-width: 768px) {
.tabs__controls {
padding: 15px 0;
overflow: initial;
}
2019-01-18 17:17:48 +00:00
}
2019-07-18 11:52:47 +00:00
.tabs__controls--form {
justify-content: flex-start;
}
.tabs__controls--form .tab__control {
min-width: initial;
margin-right: 25px;
font-size: 14px;
}
.tabs__controls--form .tab__icon {
display: none;
}
2019-01-18 17:17:48 +00:00
.tab__control {
display: flex;
flex-direction: column;
align-items: center;
min-width: 70px;
font-size: 13px;
2020-08-01 14:12:29 +00:00
white-space: nowrap;
2019-01-18 17:17:48 +00:00
color: #555555;
cursor: pointer;
opacity: 0.6;
}
2020-08-01 14:12:29 +00:00
@media screen and (min-width: 768px) {
.tab__control {
white-space: normal;
}
}
2019-01-18 17:17:48 +00:00
.tab__control:hover,
.tab__control:focus {
opacity: 1;
}
.tab__control--active {
color: #4a4a4a;
opacity: 1;
}
.tab__title {
margin-bottom: 10px;
font-size: 16px;
font-weight: 700;
}
.tab__icon {
width: 24px;
height: 24px;
margin-bottom: 6px;
fill: #4a4a4a;
}
2019-01-22 14:17:33 +00:00
.tab__text {
line-height: 1.7;
}
.tab__text li,
.tab__text p {
margin-bottom: 5px;
}
.tab__text ul,
.tab__text ol {
padding-left: 25px;
}
.tab__paragraph {
margin-bottom: 10px;
}