diff options
Diffstat (limited to 'webapp/sass')
-rw-r--r-- | webapp/sass/components/_modal.scss | 51 | ||||
-rw-r--r-- | webapp/sass/components/_popover.scss | 5 | ||||
-rw-r--r-- | webapp/sass/responsive/_mobile.scss | 45 | ||||
-rw-r--r-- | webapp/sass/routes/_admin-console.scss | 51 |
4 files changed, 69 insertions, 83 deletions
diff --git a/webapp/sass/components/_modal.scss b/webapp/sass/components/_modal.scss index d17ba1706..81c241986 100644 --- a/webapp/sass/components/_modal.scss +++ b/webapp/sass/components/_modal.scss @@ -24,6 +24,10 @@ min-height: 8em; } + .suggestion-list { + bottom: -149px; + } + .suggestion-list__content { max-height: 150px; } @@ -460,24 +464,10 @@ float: right; margin-top: 5px; } - - .more-modal__list { - max-height: calc(100vh - 270px); - } } } .more-modal { - .more-modal__list { - height: 100vh; - max-height: calc(100vh - 340px); - } - - &.more-direct-channels { - .more-modal__list { - max-height: calc(100vh - 325px); - } - } .user-list { margin-top: 10px; @@ -492,7 +482,6 @@ } .filter-row { - @include clearfix; margin: 5px 0 10px; width: 300px; } @@ -557,7 +546,11 @@ .more-modal__list { display: flex; flex-direction: column; - overflow: auto; + + > div { + min-height: 100%; + overflow: auto; + } .popover & { font-size: .95em; @@ -602,6 +595,7 @@ .more-modal__actions { flex-grow: 0; flex-shrink: 0; + margin: 5px 0 10px; padding-left: 20px; } @@ -624,8 +618,7 @@ .more-modal__row { border-bottom: 1px solid $light-gray; display: flex; - min-height: 70px; - padding: 8px 15px; + padding: 10px 15px; } p { @@ -646,16 +639,15 @@ .filtered-user-list { display: flex; flex-direction: column; + height: calc(90vh - 120px); width: 100%; - .filter-row { - flex-grow: 0; - flex-shrink: 0; + > div { + flex: 1; } - .user-list { - flex-grow: 1; - flex-shrink: 1; + .more-modal__list { + flex-grow: 500; } .filter-button { @@ -665,9 +657,6 @@ } .filter-controls { - @include clearfix; - flex-grow: 0; - flex-shrink: 0; padding: 1em 1.5em 0; .filter-control__next { @@ -679,10 +668,4 @@ margin-left: 0; padding-left: 0; } -} - -.channel-switch-modal { - .modal-body { - overflow: visible; - } -} +}
\ No newline at end of file diff --git a/webapp/sass/components/_popover.scss b/webapp/sass/components/_popover.scss index 31ef83d6a..1f5ed7248 100644 --- a/webapp/sass/components/_popover.scss +++ b/webapp/sass/components/_popover.scss @@ -94,10 +94,13 @@ .search-help-popover { font-size: em(13px); - margin-top: 17px !important; max-width: 300px; width: 100%; + &:not(.autocomplete) { + margin-top: 17px !important; + } + &.autocomplete { display: block; diff --git a/webapp/sass/responsive/_mobile.scss b/webapp/sass/responsive/_mobile.scss index d9a929690..8fcf2e94e 100644 --- a/webapp/sass/responsive/_mobile.scss +++ b/webapp/sass/responsive/_mobile.scss @@ -427,8 +427,14 @@ } .search-help-popover { + left: 0 !important; margin-left: 10px; - max-width: calc(100% - 20px); + max-width: calc(100% - 80px); + + .focused & { + left: 45px !important; + margin-top: 50px; + } } .modal-direct-channels, @@ -1085,7 +1091,7 @@ .post-error { top: 0; left: 0; - } + } } } @@ -1214,6 +1220,16 @@ } @media screen and (max-width: 640px) { + .filtered-user-list { + height: calc(100vh - 80px); + } + + .more-modal--action { + .filtered-user-list { + height: calc(100vh - 110px); + } + } + .app__body { .modal { .more-modal { @@ -1221,10 +1237,6 @@ max-height: calc(100vh - 62px); padding-bottom: 5px; } - - .more-modal__list { - max-height: calc(100vh - 230px); - } } } @@ -1385,15 +1397,14 @@ @media screen and (max-width: 550px) { .app__body { .more-modal { - .filter-row { - width: 100%; - } - - &.more-direct-channels { + &.more-system-members { .filter-row { - padding-bottom: 50px; + min-height: 80px; + width: 100%; } + } + &.more-direct-channels { .member-show { display: none; } @@ -1451,16 +1462,6 @@ .app__body { .modal { - &.more-channel__modal { - .more-modal__list { - max-height: calc(100vh - 250px); - } - - .modal-body { - padding-bottom: 35px; - } - } - .settings-modal { &.display--content { .modal-body { diff --git a/webapp/sass/routes/_admin-console.scss b/webapp/sass/routes/_admin-console.scss index 64fad6aec..56199a545 100644 --- a/webapp/sass/routes/_admin-console.scss +++ b/webapp/sass/routes/_admin-console.scss @@ -245,38 +245,37 @@ .more-modal__list { .filtered-user-list { - .filter-controls { - padding-bottom: 1em; + .filter-controls { + padding-bottom: 1em; + } } - } - .filter-row { - margin: 10px 0; - overflow: hidden; + .filter-row { + margin: 10px 0; + } } -} - -.member-list-holder { - background: $white; - margin-bottom: 4em; - overflow: visible; - padding: 5px 0; - .more-modal__list { + .member-list-holder { + background: $white; + margin-bottom: 4em; overflow: visible; - } + padding: 5px 0; + + .more-modal__list { + overflow: visible; + } - .more-modal__row { - &:last-child { - border: none; + .more-modal__row { + &:last-child { + border: none; + } } } -} -.member-count { - @include opacity(.7); - margin-top: 8px; -} + .member-count { + @include opacity(.7); + margin-top: 8px; + } } .brand-img { @@ -469,13 +468,13 @@ } .cluster-status { - width: 24px; height: 24px; + width: 24px; } .config-hash { - width: 130px; - white-space: nowrap; overflow: hidden; text-overflow: ellipsis; + white-space: nowrap; + width: 130px; } |