Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

dark_theme: Keep modal related css together.

Aman Agrawal7dea22c53213
diff --git a/static/styles/dark_theme.css b/static/styles/dark_theme.css
index dded6a9895b..b49a6c41238 100644
--- a/static/styles/dark_theme.css
+++ b/static/styles/dark_theme.css
@@ -39,6 +39,29 @@ body.dark-theme {
background-color: hsla(0, 0%, 83%, 0.5);
}
+ .modal-bg,
+ .modal__container {
+ background-color: hsl(212, 28%, 18%);
+ }
+
+ .modal__close {
+ &::before {
+ color: hsl(236, 33%, 90%);
+ }
+
+ &:hover {
+ background: hsla(0, 0%, 91%, 0.1);
+ }
+ }
+
+ .modal-footer {
+ box-shadow: inset 0 1px 0 hsla(0, 0%, 0%, 0.2);
+ }
+
+ #invite_user_form .modal-footer {
+ /* no transparency prevents overlap issues */
+ background-color: hsl(211, 28%, 14%);
+ }
.enter_sends kbd {
background-color: hsl(211, 29%, 14%);
@@ -161,21 +184,6 @@ body.dark-theme {
border-color: hsla(0, 0%, 100%, 0.4);
}
- .modal-bg,
- .modal__container {
- background-color: hsl(212, 28%, 18%);
- }
-
- .modal__close {
- &::before {
- color: hsl(236, 33%, 90%);
- }
-
- &:hover {
- background: hsla(0, 0%, 91%, 0.1);
- }
- }
-
.streams_popover .sp-container {
background-color: transparent;
@@ -631,15 +639,6 @@ body.dark-theme {
background-color: hsl(212, 28%, 18%);
}
- .modal-footer {
- box-shadow: inset 0 1px 0 hsla(0, 0%, 0%, 0.2);
- }
-
- #invite_user_form .modal-footer {
- /* no transparency prevents overlap issues */
- background-color: hsl(211, 28%, 14%);
- }
-
.subscriptions-container .right .display-type,
.stream-row,
.subscriptions-container .left .search-container,