@@ -82,39 +82,6 @@ $invert: luma($color-primary) > 0.6;
8282 #appmenu .icon-more-white {
8383 @include icon-color (' more' , ' actions' , $color-black , 1 , true);
8484 }
85-
86- #body-login {
87-
88- input ,
89- #alternative-logins li a {
90- border : 1px solid nc-lighten ($color-primary-text , 50% );
91- }
92- input .primary ,
93- button .primary ,
94- #alternative-logins li a {
95- background-color : $color-primary ;
96- color : $color-primary-text ;
97- }
98- a ,
99- label ,
100- footer p ,
101- #alternative-logins legend ,
102- .lost-password-container #lost-password {
103- color : $color-primary-text ;
104- }
105- input [type = ' checkbox' ].checkbox--white + label :before {
106- border-color : nc-darken ($color-primary-element , 40% ) !important ;
107- }
108- input [type = ' checkbox' ].checkbox--white :not (:disabled ):not (:checked ) + label :hover :before ,
109- input [type = ' checkbox' ].checkbox--white :focus + label :before {
110- border-color : nc-darken ($color-primary-element , 30% ) !important ;
111- }
112- input [type = ' checkbox' ].checkbox--white :checked + label :before {
113- border-color : nc-darken ($color-primary-element , 30% ) !important ;
114- background-color : nc-darken ($color-primary-element , 30% ) !important ;
115- @include icon-color (' checkbox-mark' , ' actions' , $color-white , 1 , true);
116- }
117- }
11885} @else {
11986 #appmenu :not (.inverted ) svg {
12087 filter : none ;
@@ -204,21 +171,61 @@ input.primary,
204171@if ($invert ) {
205172 #body-login {
206173 .body-login-container {
207- background-color : $color-main-background ;
208- }
209- #submit-wrapper .icon-confirm-white {
210- background-image : url (' ../../../core/img/actions/confirm.svg' );
211- }
212- .body-login-container {
174+ background-color : transparentize (nc-lighten ($color-primary , 30% ), 0.2 );
175+ color : $color-primary-text !important ;
176+
213177 h2 {
214- color : $color-main -text ;
178+ color : $color-primary -text ;
215179 }
216180 .icon-search.icon-white {
217181 // CSS variable is not used here since it is on the public page layout,
218182 // where the dark theme doesn't apply at the moment
219183 background-image : url (' ../../../core/img/actions/search.svg' );
220184 }
221185 }
186+
187+ input ,
188+ #alternative-logins li a {
189+ border : 1px solid nc-lighten ($color-primary-text , 50% );
190+ }
191+ input .primary ,
192+ button .primary ,
193+ #alternative-logins li a {
194+ background-color : $color-primary ;
195+ color : $color-primary-text ;
196+ }
197+ a ,
198+ label ,
199+ footer p ,
200+ #alternative-logins legend ,
201+ .lost-password-container #lost-password ,
202+ .warning , .update , .error {
203+ color : $color-primary-text !important ;
204+ }
205+ input [type = ' checkbox' ].checkbox--white + label :before {
206+ border-color : nc-darken ($color-primary-element , 40% ) !important ;
207+ }
208+ input [type = ' checkbox' ].checkbox--white :not (:disabled ):not (:checked ) + label :hover :before ,
209+ input [type = ' checkbox' ].checkbox--white :focus + label :before {
210+ border-color : nc-darken ($color-primary-element , 30% ) !important ;
211+ }
212+ input [type = ' checkbox' ].checkbox--white :checked + label :before {
213+ border-color : nc-darken ($color-primary-element , 30% ) !important ;
214+ background-color : nc-darken ($color-primary-element , 30% ) !important ;
215+ @include icon-color (' checkbox-mark' , ' actions' , $color-white , 1 , true);
216+ }
217+ #submit-wrapper .icon-confirm-white {
218+ background-image : url (' ../../../core/img/actions/confirm.svg' );
219+ }
220+
221+ .two-factor-provider {
222+ & :hover , & :focus {
223+ border-color : $color-primary-text ;
224+ }
225+ img {
226+ filter : invert (1 );
227+ }
228+ }
222229 }
223230 #body-public #header .icon-more-white {
224231 background-image : var (--icon-more-000 );
0 commit comments