diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-20 20:14:58 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-20 21:15:28 +0100 |
commit | 3921166d78540a08d329793c9c2f952135c6fd67 (patch) | |
tree | 0f036d15013a0a25e63135fdba595c3b535dc291 /client/src/sass | |
parent | 223b24e618146f85b20b5bf365bc18d14a5964cd (diff) | |
download | PeerTube-3921166d78540a08d329793c9c2f952135c6fd67.tar.gz PeerTube-3921166d78540a08d329793c9c2f952135c6fd67.tar.zst PeerTube-3921166d78540a08d329793c9c2f952135c6fd67.zip |
(css) vertical-center modals, bullet as separator
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/bootstrap.scss | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 2944dd9e2..2f691de70 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss | |||
@@ -37,7 +37,28 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; | |||
37 | } | 37 | } |
38 | } | 38 | } |
39 | 39 | ||
40 | |||
41 | @media screen and (min-width: 768px) { | ||
42 | .modal:before { | ||
43 | display: inline-block; | ||
44 | vertical-align: middle; | ||
45 | content: " "; | ||
46 | height: 100%; | ||
47 | } | ||
48 | |||
49 | .modal-dialog { | ||
50 | display: inline-block; | ||
51 | text-align: left; | ||
52 | vertical-align: middle; | ||
53 | min-width: 500px; | ||
54 | width: 40vw; | ||
55 | max-width: 900px; | ||
56 | } | ||
57 | } | ||
58 | |||
40 | .modal { | 59 | .modal { |
60 | text-align: center; | ||
61 | |||
41 | .modal-content { | 62 | .modal-content { |
42 | background-color: var(--mainBackgroundColor); | 63 | background-color: var(--mainBackgroundColor); |
43 | } | 64 | } |