bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/settings/styles.scss

87 lines
1.4 KiB
SCSS
Raw Normal View History

@import "../../stylesheets/variables/_all";
2017-01-27 23:41:11 +08:00
.tabs {
display: flex;
flex-flow: row;
justify-content: flex-start;
2017-12-19 19:13:37 +08:00
@include mq($small-only) {
width: 100%;
flex-flow: column;
}
2017-01-27 23:41:11 +08:00
}
.tabList {
display: flex;
flex-flow: column;
2017-12-19 19:13:37 +08:00
border: none;
padding: 0;
margin: 0;
2018-01-11 02:55:33 +08:00
width: calc(100% / 3);
2017-12-19 19:13:37 +08:00
@include mq($small-only) {
width: 100%;
flex-flow: row;
flex-wrap: wrap;
justify-content: center;
}
2017-01-27 23:41:11 +08:00
}
.icon {
2017-12-19 19:13:37 +08:00
margin-right: .5rem;
font-size: var(--font-size-large);
2017-01-27 23:41:11 +08:00
}
.tabSelector {
font-size: 0.9rem;
2017-12-19 19:13:37 +08:00
display: flex;
2017-01-27 23:41:11 +08:00
flex-flow: row;
2017-12-19 19:13:37 +08:00
flex: 0 0 auto;
2017-01-27 23:41:11 +08:00
justify-content: flex-start;
border: none !important;
padding: var(--md-padding-y) var(--md-padding-x);
color: var(--color-gray-dark);
2017-12-19 19:13:37 +08:00
border-radius: .2rem;
cursor: pointer;
margin-bottom: var(--sm-padding-y);
2017-12-19 19:13:37 +08:00
align-items: center;
flex-grow: 0;
min-width: 0;
& > span {
@extend %text-elipsis;
}
2017-01-27 23:41:11 +08:00
2017-12-19 19:13:37 +08:00
@include mq($small-only) {
max-width: 100%;
margin-right: var(--sm-padding-x);
2017-12-19 19:13:37 +08:00
& > .icon {
display: none;
}
}
2017-12-19 19:13:37 +08:00
}
2017-12-19 19:13:37 +08:00
.selected {
color: var(--color-white);
background-color: var(--color-primary);
2017-12-19 19:13:37 +08:00
font-weight: bold;
2017-01-27 23:41:11 +08:00
2017-12-19 19:13:37 +08:00
& > .icon {
color: var(--color-white);
2017-01-27 23:41:11 +08:00
}
}
.tabPanel {
2017-12-19 19:13:37 +08:00
display: none;
margin-left: 1rem;
width: calc(100% / 3 * 2);
@include mq($small-only) {
width: 100%;
margin-left: 0;
margin-top: 1rem;
}
}
.selectedTab {
display: block;
}