X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fbootstrap.scss;h=a3261a8a66868ed92760d2afc91826d05859d77a;hb=bf64ed4196938ba9002c887cadb01bd2a6e3127a;hp=12e73278a89d046ce460b7d2f204a3106c5ba467;hpb=b6a1dd4d1b3b0032f8b968e72cbd074f646e8827;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/bootstrap.scss b/client/src/sass/bootstrap.scss index 12e73278a..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); } @@ -125,6 +146,11 @@ ngb-tabset.bootstrap { border-bottom: none; } +.card { + background-color: var(--mainBackgroundColor); + border-color: #dee2e6; +} + .collapse-transition { // Animation when we show/hide the filters transition: max-height 0.3s; @@ -136,3 +162,7 @@ ngb-tabset.bootstrap { max-height: 1500px; } } + +.dropdown-divider { + margin: 0.3rem 0; +} \ No newline at end of file