Browse Source

fix and group the z-indexes

Olivier Massot 5 years ago
parent
commit
4296b58ae4
22 changed files with 126 additions and 60 deletions
  1. 1 4
      ot_templating/Resources/Public/assets/style/common/_base.scss
  2. 16 0
      ot_templating/Resources/Public/assets/style/common/_layout.scss
  3. 1 1
      ot_templating/Resources/Public/assets/style/common/module/_menu.scss
  4. 0 1
      ot_templating/Resources/Public/assets/style/common/module/_user-toolbar.scss
  5. 12 6
      ot_templating/Resources/Public/assets/style/style.css
  6. 0 0
      ot_templating/Resources/Public/assets/style/style.css.map
  7. 12 6
      ot_templating/Resources/Public/assets/style/theme-blue.css
  8. 0 0
      ot_templating/Resources/Public/assets/style/theme-blue.css.map
  9. 12 6
      ot_templating/Resources/Public/assets/style/theme-green.css
  10. 0 0
      ot_templating/Resources/Public/assets/style/theme-green.css.map
  11. 12 6
      ot_templating/Resources/Public/assets/style/theme-grey.css
  12. 0 0
      ot_templating/Resources/Public/assets/style/theme-grey.css.map
  13. 12 6
      ot_templating/Resources/Public/assets/style/theme-light-blue.css
  14. 0 0
      ot_templating/Resources/Public/assets/style/theme-light-blue.css.map
  15. 12 6
      ot_templating/Resources/Public/assets/style/theme-light-red.css
  16. 0 0
      ot_templating/Resources/Public/assets/style/theme-light-red.css.map
  17. 12 6
      ot_templating/Resources/Public/assets/style/theme-orange.css
  18. 0 0
      ot_templating/Resources/Public/assets/style/theme-orange.css.map
  19. 12 6
      ot_templating/Resources/Public/assets/style/theme-purple.css
  20. 0 0
      ot_templating/Resources/Public/assets/style/theme-purple.css.map
  21. 12 6
      ot_templating/Resources/Public/assets/style/theme-red.css
  22. 0 0
      ot_templating/Resources/Public/assets/style/theme-red.css.map

+ 1 - 4
ot_templating/Resources/Public/assets/style/common/_base.scss

@@ -8,7 +8,4 @@ a {
   text-decoration: none;
 }
 
-// Ensures the jquery-ui datepicker is above anything else (even leaflet maps)
-.ui-datepicker {
-  z-index:9998 !important;
-}
+

+ 16 - 0
ot_templating/Resources/Public/assets/style/common/_layout.scss

@@ -27,3 +27,19 @@ body {
   width: 15%;
   min-width: 185px;
 }
+
+
+// Z indexes
+
+// Ensures the jquery-ui datepicker is above anything else (even leaflet maps)
+.ui-datepicker {
+  z-index:9990 !important;
+}
+
+#menu {
+  z-index: 9991;
+}
+
+#login-popup .popup-form {
+  z-index: 9992;
+}

+ 1 - 1
ot_templating/Resources/Public/assets/style/common/module/_menu.scss

@@ -31,7 +31,7 @@ $submenu-item-height: 30px;
   margin: 0 0 1em;
 
   position: relative;
-  z-index: 9999;
+
 }
 
 #menu:after {

+ 0 - 1
ot_templating/Resources/Public/assets/style/common/module/_user-toolbar.scss

@@ -88,7 +88,6 @@ $user-toolbar-popup-background-color: $user-toolbar-popup-background-color;
   position: absolute;
   right: 0;
   top: 1em;
-  z-index: 1;
 }
 
 /* Toggle this class when clicking on the popup container (hide and show the popup) */

+ 12 - 6
ot_templating/Resources/Public/assets/style/style.css

@@ -7,10 +7,6 @@ a {
   text-decoration: none;
 }
 
-.ui-datepicker {
-  z-index: 9998 !important;
-}
-
 .alert {
   color: #e60000;
   font-weight: bold;
@@ -53,6 +49,18 @@ body {
   min-width: 185px;
 }
 
+.ui-datepicker {
+  z-index: 9990 !important;
+}
+
+#menu {
+  z-index: 9991;
+}
+
+#login-popup .popup-form {
+  z-index: 9992;
+}
+
 .dropdown {
   position: relative;
   display: inline-block;
@@ -144,7 +152,6 @@ ul.dropdown-left {
   align-items: center;
   margin: 0 0 1em;
   position: relative;
-  z-index: 9999;
 }
 
 #menu:after {
@@ -477,7 +484,6 @@ footer .logo-ot {
   position: absolute;
   right: 0;
   top: 1em;
-  z-index: 1;
 }
 
 /* Toggle this class when clicking on the popup container (hide and show the popup) */

File diff suppressed because it is too large
+ 0 - 0
ot_templating/Resources/Public/assets/style/style.css.map


+ 12 - 6
ot_templating/Resources/Public/assets/style/theme-blue.css

@@ -7,10 +7,6 @@ a {
   text-decoration: none;
 }
 
-.ui-datepicker {
-  z-index: 9998 !important;
-}
-
 .alert {
   color: #e60000;
   font-weight: bold;
@@ -53,6 +49,18 @@ body {
   min-width: 185px;
 }
 
+.ui-datepicker {
+  z-index: 9990 !important;
+}
+
+#menu {
+  z-index: 9991;
+}
+
+#login-popup .popup-form {
+  z-index: 9992;
+}
+
 .dropdown {
   position: relative;
   display: inline-block;
@@ -144,7 +152,6 @@ ul.dropdown-left {
   align-items: center;
   margin: 0 0 1em;
   position: relative;
-  z-index: 9999;
 }
 
 #menu:after {
@@ -477,7 +484,6 @@ footer .logo-ot {
   position: absolute;
   right: 0;
   top: 1em;
-  z-index: 1;
 }
 
 /* Toggle this class when clicking on the popup container (hide and show the popup) */

File diff suppressed because it is too large
+ 0 - 0
ot_templating/Resources/Public/assets/style/theme-blue.css.map


+ 12 - 6
ot_templating/Resources/Public/assets/style/theme-green.css

@@ -7,10 +7,6 @@ a {
   text-decoration: none;
 }
 
-.ui-datepicker {
-  z-index: 9998 !important;
-}
-
 .alert {
   color: #e60000;
   font-weight: bold;
@@ -53,6 +49,18 @@ body {
   min-width: 185px;
 }
 
+.ui-datepicker {
+  z-index: 9990 !important;
+}
+
+#menu {
+  z-index: 9991;
+}
+
+#login-popup .popup-form {
+  z-index: 9992;
+}
+
 .dropdown {
   position: relative;
   display: inline-block;
@@ -144,7 +152,6 @@ ul.dropdown-left {
   align-items: center;
   margin: 0 0 1em;
   position: relative;
-  z-index: 9999;
 }
 
 #menu:after {
@@ -477,7 +484,6 @@ footer .logo-ot {
   position: absolute;
   right: 0;
   top: 1em;
-  z-index: 1;
 }
 
 /* Toggle this class when clicking on the popup container (hide and show the popup) */

File diff suppressed because it is too large
+ 0 - 0
ot_templating/Resources/Public/assets/style/theme-green.css.map


+ 12 - 6
ot_templating/Resources/Public/assets/style/theme-grey.css

@@ -7,10 +7,6 @@ a {
   text-decoration: none;
 }
 
-.ui-datepicker {
-  z-index: 9998 !important;
-}
-
 .alert {
   color: #e60000;
   font-weight: bold;
@@ -53,6 +49,18 @@ body {
   min-width: 185px;
 }
 
+.ui-datepicker {
+  z-index: 9990 !important;
+}
+
+#menu {
+  z-index: 9991;
+}
+
+#login-popup .popup-form {
+  z-index: 9992;
+}
+
 .dropdown {
   position: relative;
   display: inline-block;
@@ -144,7 +152,6 @@ ul.dropdown-left {
   align-items: center;
   margin: 0 0 1em;
   position: relative;
-  z-index: 9999;
 }
 
 #menu:after {
@@ -477,7 +484,6 @@ footer .logo-ot {
   position: absolute;
   right: 0;
   top: 1em;
-  z-index: 1;
 }
 
 /* Toggle this class when clicking on the popup container (hide and show the popup) */

File diff suppressed because it is too large
+ 0 - 0
ot_templating/Resources/Public/assets/style/theme-grey.css.map


+ 12 - 6
ot_templating/Resources/Public/assets/style/theme-light-blue.css

@@ -7,10 +7,6 @@ a {
   text-decoration: none;
 }
 
-.ui-datepicker {
-  z-index: 9998 !important;
-}
-
 .alert {
   color: #e60000;
   font-weight: bold;
@@ -53,6 +49,18 @@ body {
   min-width: 185px;
 }
 
+.ui-datepicker {
+  z-index: 9990 !important;
+}
+
+#menu {
+  z-index: 9991;
+}
+
+#login-popup .popup-form {
+  z-index: 9992;
+}
+
 .dropdown {
   position: relative;
   display: inline-block;
@@ -144,7 +152,6 @@ ul.dropdown-left {
   align-items: center;
   margin: 0 0 1em;
   position: relative;
-  z-index: 9999;
 }
 
 #menu:after {
@@ -477,7 +484,6 @@ footer .logo-ot {
   position: absolute;
   right: 0;
   top: 1em;
-  z-index: 1;
 }
 
 /* Toggle this class when clicking on the popup container (hide and show the popup) */

File diff suppressed because it is too large
+ 0 - 0
ot_templating/Resources/Public/assets/style/theme-light-blue.css.map


+ 12 - 6
ot_templating/Resources/Public/assets/style/theme-light-red.css

@@ -7,10 +7,6 @@ a {
   text-decoration: none;
 }
 
-.ui-datepicker {
-  z-index: 9998 !important;
-}
-
 .alert {
   color: #e60000;
   font-weight: bold;
@@ -53,6 +49,18 @@ body {
   min-width: 185px;
 }
 
+.ui-datepicker {
+  z-index: 9990 !important;
+}
+
+#menu {
+  z-index: 9991;
+}
+
+#login-popup .popup-form {
+  z-index: 9992;
+}
+
 .dropdown {
   position: relative;
   display: inline-block;
@@ -144,7 +152,6 @@ ul.dropdown-left {
   align-items: center;
   margin: 0 0 1em;
   position: relative;
-  z-index: 9999;
 }
 
 #menu:after {
@@ -477,7 +484,6 @@ footer .logo-ot {
   position: absolute;
   right: 0;
   top: 1em;
-  z-index: 1;
 }
 
 /* Toggle this class when clicking on the popup container (hide and show the popup) */

File diff suppressed because it is too large
+ 0 - 0
ot_templating/Resources/Public/assets/style/theme-light-red.css.map


+ 12 - 6
ot_templating/Resources/Public/assets/style/theme-orange.css

@@ -7,10 +7,6 @@ a {
   text-decoration: none;
 }
 
-.ui-datepicker {
-  z-index: 9998 !important;
-}
-
 .alert {
   color: #e60000;
   font-weight: bold;
@@ -53,6 +49,18 @@ body {
   min-width: 185px;
 }
 
+.ui-datepicker {
+  z-index: 9990 !important;
+}
+
+#menu {
+  z-index: 9991;
+}
+
+#login-popup .popup-form {
+  z-index: 9992;
+}
+
 .dropdown {
   position: relative;
   display: inline-block;
@@ -144,7 +152,6 @@ ul.dropdown-left {
   align-items: center;
   margin: 0 0 1em;
   position: relative;
-  z-index: 9999;
 }
 
 #menu:after {
@@ -477,7 +484,6 @@ footer .logo-ot {
   position: absolute;
   right: 0;
   top: 1em;
-  z-index: 1;
 }
 
 /* Toggle this class when clicking on the popup container (hide and show the popup) */

File diff suppressed because it is too large
+ 0 - 0
ot_templating/Resources/Public/assets/style/theme-orange.css.map


+ 12 - 6
ot_templating/Resources/Public/assets/style/theme-purple.css

@@ -7,10 +7,6 @@ a {
   text-decoration: none;
 }
 
-.ui-datepicker {
-  z-index: 9998 !important;
-}
-
 .alert {
   color: #e60000;
   font-weight: bold;
@@ -53,6 +49,18 @@ body {
   min-width: 185px;
 }
 
+.ui-datepicker {
+  z-index: 9990 !important;
+}
+
+#menu {
+  z-index: 9991;
+}
+
+#login-popup .popup-form {
+  z-index: 9992;
+}
+
 .dropdown {
   position: relative;
   display: inline-block;
@@ -144,7 +152,6 @@ ul.dropdown-left {
   align-items: center;
   margin: 0 0 1em;
   position: relative;
-  z-index: 9999;
 }
 
 #menu:after {
@@ -477,7 +484,6 @@ footer .logo-ot {
   position: absolute;
   right: 0;
   top: 1em;
-  z-index: 1;
 }
 
 /* Toggle this class when clicking on the popup container (hide and show the popup) */

File diff suppressed because it is too large
+ 0 - 0
ot_templating/Resources/Public/assets/style/theme-purple.css.map


+ 12 - 6
ot_templating/Resources/Public/assets/style/theme-red.css

@@ -7,10 +7,6 @@ a {
   text-decoration: none;
 }
 
-.ui-datepicker {
-  z-index: 9998 !important;
-}
-
 .alert {
   color: #e60000;
   font-weight: bold;
@@ -53,6 +49,18 @@ body {
   min-width: 185px;
 }
 
+.ui-datepicker {
+  z-index: 9990 !important;
+}
+
+#menu {
+  z-index: 9991;
+}
+
+#login-popup .popup-form {
+  z-index: 9992;
+}
+
 .dropdown {
   position: relative;
   display: inline-block;
@@ -144,7 +152,6 @@ ul.dropdown-left {
   align-items: center;
   margin: 0 0 1em;
   position: relative;
-  z-index: 9999;
 }
 
 #menu:after {
@@ -477,7 +484,6 @@ footer .logo-ot {
   position: absolute;
   right: 0;
   top: 1em;
-  z-index: 1;
 }
 
 /* Toggle this class when clicking on the popup container (hide and show the popup) */

File diff suppressed because it is too large
+ 0 - 0
ot_templating/Resources/Public/assets/style/theme-red.css.map


Some files were not shown because too many files changed in this diff