1 @use '_variables' as *;
7 color: pvar(--mainForegroundColor);
8 font-weight: $font-semibold;
9 border-bottom: 0.18em solid pvar(--mainColor);
10 display: inline-block;
14 color: pvar(--mainForegroundColor);
20 display: inline-block;
21 border-bottom: 0.19em solid pvar(--mainColor);
24 // ---------------------------------------------------------------------------
27 @include peertube-button;
30 .peertube-button-link {
31 @include peertube-button-link;
35 @include orange-button;
38 .orange-button-inverted {
39 @include orange-button-inverted;
47 @include tertiary-button;
50 .peertube-radio-container {
51 @include peertube-radio-container;
54 // ---------------------------------------------------------------------------
57 color: pvar(--greyForegroundColor) !important;
60 // ---------------------------------------------------------------------------
63 @include peertube-badge;
66 // ---------------------------------------------------------------------------
72 .input-error:not(:focus) {
74 + .nav-preview, // Markdown textarea
76 border-color: $red !important;
80 .input-group .input-error {
95 // Disable red error on input focus
97 .input-group:focus-within {
99 + * + .form-error, // Markdown textarea
100 + * + * + .form-error {
101 color: pvar(--mainForegroundColor);
105 .form-group-description {
106 @extend .muted !optional;
112 label + .form-group-description {
117 // ---------------------------------------------------------------------------
121 @include disable-default-a-behaviour;
122 @include margin-right(55px);
125 color: pvar(--mainForegroundColor);
126 display: inline-block;
127 font-weight: $font-semibold;
128 border-bottom: 2px solid transparent;
133 border-bottom-color: pvar(--mainColor);
139 color: pvar(--mainForegroundColor);
147 outline: 0 hidden !important;
150 @media screen and (max-width: $mobile-view) {
151 @include margin-left(15px);
162 @include margin-right(55px);
167 color: pvar(--mainForegroundColor);
168 display: inline-block;
169 font-weight: $font-semibold;
173 @include disable-default-a-behaviour;
183 @media screen and (max-width: $mobile-view) {
184 @include margin-left(15px);
193 @media screen and (max-width: $small-view) {
194 flex-direction: column;
198 // ---------------------------------------------------------------------------
205 flex-direction: column;
207 justify-content: center;
208 font-weight: $font-semibold;
211 // ---------------------------------------------------------------------------
214 @include chevron-down(0.55rem, 0.15rem);
220 @include chevron-up(0.55rem, 0.15rem);
226 @include chevron-right(0.55rem, 0.15rem);
232 @include chevron-left(0.55rem, 0.15rem);
237 // ---------------------------------------------------------------------------
241 border: 1px solid #eee;
242 border-radius: .25rem;
249 color: #6c757d !important;
252 &:not(.callout-light) {
253 border-left-width: .25rem;
257 border-color: pvar(--mainColorLightest);
259 &:not(.callout-light) {
260 border-left-color: pvar(--mainColor);
265 // ---------------------------------------------------------------------------
269 top: #{-($header-height + 20px)};
272 .offset-content { // if sub-menu fixed
274 top: #{-($header-height + $sub-menu-height + 20px)};
278 // ---------------------------------------------------------------------------
282 background-color: pvar(--mainColorVeryLight);
283 border: 2px solid pvar(--mainColorLightest);