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

106 lines
1.7 KiB
SCSS
Raw Normal View History

@import "/imports/ui/stylesheets/variables/breakpoints";
@import "/imports/ui/stylesheets/variables/placeholders";
2017-01-27 23:41:11 +08:00
.tabs {
@extend %flex-row;
2017-01-27 23:41:11 +08:00
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 {
@extend %flex-column;
@extend %no-margin;
2017-12-19 19:13:37 +08:00
border: none;
padding: 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 {
margin: 0 .5rem 0 0;
font-size: var(--font-size-large);
[dir="rtl"] & {
margin: 0 0 0 .5rem;
}
2017-01-27 23:41:11 +08:00
}
.tabSelector {
@extend %flex-row;
2017-01-27 23:41:11 +08:00
font-size: 0.9rem;
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: 0 var(--sm-padding-x) 0 0;
2017-12-19 19:13:37 +08:00
& > .icon {
display: none;
}
[dir="rtl"] & {
margin: 0 0 0 var(--sm-padding-x);
}
}
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: 0 0 0 1rem;
2017-12-19 19:13:37 +08:00
width: calc(100% / 3 * 2);
[dir="rtl"] & {
margin: 0 1rem 0 0;
}
2017-12-19 19:13:37 +08:00
@include mq($small-only) {
width: 100%;
2021-08-25 19:35:37 +08:00
margin: 0;
padding-left: 1rem;
padding-right: 1rem;
2017-12-19 19:13:37 +08:00
}
}
.selectedTab {
display: block;
}
2021-05-01 03:06:28 +08:00
.toggleLabel {
margin-right: var(--sm-padding-x);
[dir="rtl"] & {
margin: 0 0 0 var(--sm-padding-x);
}
}