Skip to content

Commit

Permalink
Make messages readable in dark mode, remove iOS9 compatibility trick …
Browse files Browse the repository at this point in the history
…which leads to unnecessary scoll bars (#7485)
  • Loading branch information
fsbraun committed Jan 24, 2023
1 parent 5135ca3 commit 6a96b7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
15 changes: 1 addition & 14 deletions cms/static/cms/sass/components/_structureboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -564,19 +564,6 @@
}
}


@at-root .cms-structure-mode-structure {
// overflow: hidden;

// min-height is necessary for iOS9
// when we have a page that has content
// that takes less than a screen structureboard
// becomes unusable because it tries to fit
// in the size of the content and not the size
// of the device screen
min-height: 100%;
}

// hide elements when dragging
@at-root .ui-sortable-helper.cms-draggable .cms-submenu-btn {
display: none !important;
Expand All @@ -595,7 +582,7 @@
left: 0;
top: 0;
bottom: 0;
background: #fff !important;
background: $white !important;
opacity: .5;
z-index: 9999;
}
4 changes: 2 additions & 2 deletions cms/static/cms/sass/settings/_cms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -346,13 +346,13 @@ $messages-color: $white;
$messages-font-size: 12px;
$messages-line-height: 16px;
$messages-border-radius: $border-radius-base;
$messages-bgcolor: rgba(0, 0, 0, 0.74);
$messages-bgcolor: rgba(var(--dca-shadow), 0.74);
$messages-font-weight: 200;
$messages-close-area-size: 20px;
$messages-close-icon-size: 10px;

$screenblock-color: $white;
$screenblock-bgcolor: rgba(0, 0, 0, 0.9);
$screenblock-bgcolor: rgba(var(--dca-shadow), 0.9);
$screenblock-inner-position: 300px;

$login-form-input-font-size: $font-size-normal;
Expand Down

0 comments on commit 6a96b7c

Please sign in to comment.