bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/settings/styles.scss
Ghazi Triki 1f6326f7fd Change layout direction for RTL languages.
Update styles for RTL layout.
2019-05-14 14:17:19 +01:00

105 lines
1.6 KiB
SCSS

@import "../../stylesheets/variables/_all";
.tabs {
display: flex;
flex-flow: row;
justify-content: flex-start;
@include mq($small-only) {
width: 100%;
flex-flow: column;
}
}
.tabList {
display: flex;
flex-flow: column;
border: none;
padding: 0;
margin: 0;
width: calc(100% / 3);
@include mq($small-only) {
width: 100%;
flex-flow: row;
flex-wrap: wrap;
justify-content: center;
}
}
.icon {
margin: 0 .5rem 0 0;
font-size: var(--font-size-large);
[dir="rtl"] & {
margin: 0 0 0 .5rem;
}
}
.tabSelector {
font-size: 0.9rem;
display: flex;
flex-flow: row;
flex: 0 0 auto;
justify-content: flex-start;
border: none !important;
padding: var(--md-padding-y) var(--md-padding-x);
color: var(--color-gray-dark);
border-radius: .2rem;
cursor: pointer;
margin-bottom: var(--sm-padding-y);
align-items: center;
flex-grow: 0;
min-width: 0;
& > span {
@extend %text-elipsis;
}
@include mq($small-only) {
max-width: 100%;
margin: 0 var(--sm-padding-x) 0 0;
& > .icon {
display: none;
}
[dir="rtl"] & {
margin: 0 0 0 var(--sm-padding-x);
}
}
}
.selected {
color: var(--color-white);
background-color: var(--color-primary);
font-weight: bold;
& > .icon {
color: var(--color-white);
}
}
.tabPanel {
display: none;
margin: 0 0 0 1rem;
width: calc(100% / 3 * 2);
[dir="rtl"] & {
margin: 0 1rem 0 0;
}
@include mq($small-only) {
width: 100%;
margin-left: 1rem;
margin-right: inherit;
[dir="rtl"] & {
margin-left: inherit;
margin-right: 1rem;
}
}
}
.selectedTab {
display: block;
}