From ff60c57f3e5511079067d5439b33c984077589cd Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 16 Nov 2018 00:13:05 +0100 Subject: [PATCH] Followup for issue #2330 - selecting the overviews on the I Pad does not work. --- .../ticket_overview/batch_dragger.jst.eco | 2 +- app/assets/stylesheets/zammad.scss | 56 ++++++++----------- 2 files changed, 23 insertions(+), 35 deletions(-) diff --git a/app/assets/javascripts/app/views/ticket_overview/batch_dragger.jst.eco b/app/assets/javascripts/app/views/ticket_overview/batch_dragger.jst.eco index 2fe63e905..903703d30 100644 --- a/app/assets/javascripts/app/views/ticket_overview/batch_dragger.jst.eco +++ b/app/assets/javascripts/app/views/ticket_overview/batch_dragger.jst.eco @@ -1,3 +1,3 @@ -
+
\ No newline at end of file diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index 0e493522e..7ed2cd10b 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -213,19 +213,6 @@ ol, ul { cursor: not-allowed; } -.zIndex-1, -.zIndex-2, -.zIndex-3, -.zIndex-4, -.zIndex-5, -.zIndex-6, -.zIndex-7, -.zIndex-8, -.zIndex-9, -.zIndex-10 { - position: relative; -} - .zIndex-1 { z-index: 100; } @@ -2017,6 +2004,7 @@ input.has-error { } .selected-clue { + position: relative; @extend .zIndex-7; pointer-events: none; } @@ -3519,7 +3507,7 @@ footer { opacity: 0; transition: 0s; transition: .1s 0s; - + .icon { fill: white; opacity: 0.5; @@ -3649,7 +3637,7 @@ footer { .global-search-detail-no-result { margin: 0 10px; - + .icon { width: 30px; height: 29px; @@ -4100,7 +4088,7 @@ footer { padding: 10px 20px; overflow: auto; position: relative; - + &--large-padding { padding: 30px 40px; } @@ -4242,6 +4230,7 @@ footer { max-width: 400px; min-width: 350px; flex-direction: column; + @extend .zIndex-10; &.is-visible { display: flex; @@ -4751,18 +4740,18 @@ footer { left: 0; padding: 0 5px 0 20px; width: 100%; - + .controls-label { display: none; } - + .form-control { width: 70px; line-height: inherit; position: static; padding: 0; height: auto; - + &.time { margin-left: 5px; width: 38px; @@ -5479,7 +5468,7 @@ footer { color: inherit; align-items: center; border-bottom: 1px solid hsl(0,0%,96%); - + &:last-child { border-bottom: none; } @@ -5491,11 +5480,11 @@ footer { top: 9px; width: 38px; text-align: center; - + svg { vertical-align: bottom; } - + img { width: 30px; height: 30px; @@ -5917,7 +5906,7 @@ footer { border-radius: 3px; color: white; border: none; - + .icon { margin-right: 10px; fill: currentColor; @@ -6299,7 +6288,7 @@ footer { /* allow/show autocomplete in modal dialog */ .ui-autocomplete.ui-widget-content { - @extend .zIndex-9; + @extend .zIndex-8; position: absolute; } @@ -6309,11 +6298,11 @@ footer { color: white; font-family: inherit; font-size: inherit; - + .ui-menu-item { padding: 9px 15px; list-style-image: none; - + &:not(:first-child) { box-shadow: 0 1px rgba(255,255,255,.13) inset; } @@ -6462,8 +6451,7 @@ footer { } .modal { - position: fixed; - @extend .zIndex-9; + @extend .zIndex-10; } .modal-dialog { @@ -6471,7 +6459,7 @@ footer { max-width: 660px; margin-top: 35px; margin-bottom: 35px; - + &.wizard { margin: 35px auto; } @@ -6558,6 +6546,7 @@ footer { .modal.modal--local { display: block; padding: 0 40px; + @extend .zIndex-9; .modal-backdrop { background: hsla(210,17%,93%,.55); @@ -6577,13 +6566,11 @@ footer { } .dropdown-backdrop { - position: fixed; @extend .zIndex-5; // has to be behind dropdown-menu } .dropdown-menu { @extend .zIndex-6; // has to be behind modal windows and beneath notifications (popover) - position: absolute; margin: 0; padding: 0; min-width: 100%; @@ -7457,7 +7444,7 @@ label + .wizard-buttonList { padding: 0; @extend %clickable; opacity: 0; - + &:focus + label { text-decoration: underline; } @@ -7757,7 +7744,7 @@ label + .wizard-buttonList { .horizontal-filter-value { flex-shrink: 0; - + // lower the min-width of url input fields (normally 400px) so that it fits in input[type=url] { min-width: 200px; @@ -8539,7 +8526,7 @@ output { top: 10px; left: 0; right: 0; - @extend .zIndex-10; + @extend .zIndex-9; pointer-events: none; .noty_bar { @@ -9440,6 +9427,7 @@ output { width: 250px; height: 40px; will-change: transform; + @extend .zIndex-10; &-item { position: absolute;