X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fbootstrap.scss;h=a3261a8a66868ed92760d2afc91826d05859d77a;hb=bf64ed4196938ba9002c887cadb01bd2a6e3127a;hp=8f1e18d9e88779b7b59100f37fad212154c3b732;hpb=a42294c5edbdea3075c8defc03ba2cb73e0d86fc;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 8f1e18d9e..a3261a8a6 100644 --- a/client/src/sass/bootstrap.scss +++ b/client/src/sass/bootstrap.scss @@ -16,7 +16,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; .dropdown-menu { border-radius: 3px; - box-shadow: 0 3px 6px; + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2); font-size: 15px; .dropdown-item { @@ -37,7 +37,28 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; } } + +@media screen and (min-width: 768px) { + .modal:before { + display: inline-block; + vertical-align: middle; + content: " "; + height: 100%; + } + + .modal-dialog { + display: inline-block; + text-align: left; + vertical-align: middle; + min-width: 500px; + width: 40vw; + max-width: 900px; + } +} + .modal { + text-align: center; + .modal-content { background-color: var(--mainBackgroundColor); } @@ -141,3 +162,7 @@ ngb-tabset.bootstrap { max-height: 1500px; } } + +.dropdown-divider { + margin: 0.3rem 0; +} \ No newline at end of file