funky-framadate-front/src/app/shared/components/selectors/language-selector/language-selector.component...

95 lines
1.4 KiB
SCSS
Raw Normal View History

2021-12-14 11:22:23 +01:00
@import './../../../../../styles/variables';
2022-03-10 16:37:17 +01:00
.outlined {
&:focus {
outline: $outline-color;
outline-style: solid;
outline-offset: 0.15rem;
}
&:active {
outline: transparent;
}
}
2021-12-14 11:22:23 +01:00
.language-selector-container {
color: $primary-color;
2022-02-11 11:43:50 +01:00
2021-12-14 11:22:23 +01:00
i {
color: $primary-color;
}
2022-02-11 11:43:50 +01:00
2022-02-16 16:45:55 +01:00
#lang_selector {
max-width: 15em;
width: 15em !important;
2022-02-15 12:32:27 +01:00
2022-02-16 16:45:55 +01:00
.top {
clear: both;
width: 100%;
}
2022-02-15 14:04:41 +01:00
}
2022-02-16 16:45:55 +01:00
#lang_button_popup {
background: transparent;
margin-right: 0.5rem;
2022-03-10 16:37:17 +01:00
&.is-primary {
outline: $outline-color;
outline-style: solid;
outline-offset: 0.15rem;
}
2022-02-16 16:45:55 +01:00
&:hover {
.fa {
color: $white;
}
}
2022-02-15 12:32:27 +01:00
}
2022-02-11 11:43:50 +01:00
2022-03-10 16:37:17 +01:00
.list-of-langs {
.is-focused {
outline: $outline-color !important;
outline-style: solid;
outline-offset: 0.15rem;
}
}
2022-03-10 10:11:49 +01:00
// some lang to select in the popup
2022-02-16 16:45:55 +01:00
.lang-element {
float: left;
2022-03-10 10:11:49 +01:00
height: auto;
min-height: auto;
2022-03-10 12:00:31 +01:00
margin-right: 2rem;
margin-bottom: 1rem;
2022-03-10 16:37:17 +01:00
border: 0 !important;
2022-02-16 16:45:55 +01:00
input {
2022-03-10 16:37:17 +01:00
//display: none;
border: 0 !important;
width: 1em;
height: 1em;
float: left;
margin-right: 1ch;
2022-02-16 16:45:55 +01:00
}
}
.is-current {
font-weight: bold;
}
2022-02-11 11:43:50 +01:00
2022-03-10 10:11:49 +01:00
// button to show all lang choices in a popup
2022-02-11 11:43:50 +01:00
.lang-button {
2022-02-16 16:45:55 +01:00
color: $primary-color;
border: none;
padding: 0 1rem;
display: block;
line-height: $stepper-nav-height;
height: $stepper-nav-height;
2022-03-10 10:11:49 +01:00
&:hover {
i {
color: $primary-color !important;
}
}
2022-02-16 16:45:55 +01:00
}
#lang_button_popup_mobile {
.lang-button {
width: 100% !important;
}
2022-02-11 11:43:50 +01:00
}
}