X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fapplication.scss;h=f2d9f720126537e8466171cafea95cc20759a44b;hb=4195cd2bc5046d4cdf1c677c27cd41f427d7a13a;hp=f04aef85d89db17b8f84796e4a37123e8a4c3cd4;hpb=07fa4c97ca50b83b0bee9230da97d02401b4e05f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index f04aef85d..f2d9f7201 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -19,11 +19,19 @@ $FontPathSourceSansPro: '../../node_modules/npm-font-source-sans-pro/fonts'; } body { - font-family: 'Source Sans Pro', sans-serif; + font-family: $main-fonts; font-weight: $font-regular; color: #000; } +#incompatible-browser { + display: none; + text-align: center; + position: absolute; + width: 100%; + top: 45%; +} + strong { font-weight: $font-semibold; } @@ -131,21 +139,9 @@ label { } // ngprime data table customizations -p-datatable { +p-table { font-size: 15px !important; - .ui-datatable-scrollable-header { - background-color: #fff !important; - } - - .ui-widget-content { - border: none !important; - } - - .ui-datatable-virtual-table { - border-top: none !important; - } - td { border: 1px solid #E5E5E5 !important; padding-left: 15px !important; @@ -157,23 +153,33 @@ p-datatable { tr { background-color: #fff !important; height: 46px; + } - &:hover { - background-color: #f0f0f0 !important; - } + .ui-table-tbody { + tr { + &:hover { + background-color: #f0f0f0 !important; + } + + &:not(:hover) { + .action-cell * { + display: none !important; + } + } - &:not(:hover) { - .action-cell * { - display: none !important; + &:first-child td { + border-top: none !important; } - } - &:first-child td { - border-top: none !important; + &:last-child td { + border-bottom: none !important; + } } - &:last-child td { - border-bottom: none !important; + .expander { + cursor: pointer; + position: relative; + top: 1px; } } @@ -195,7 +201,7 @@ p-datatable { } } - &.ui-state-active { + &.ui-state-highlight { background-color: #fff !important; .fa {