X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Fprimeng-custom.scss;h=da67992508abf5c90c9dc9c1f1fbe6647de746ed;hb=1fd3ef3fb49cf5482f2ab6f827a2b059a44f409c;hp=674aa649e47dde159945aad98dd6152eff863763;hpb=141b177db088891e84040f68aa95008fb52f1d44;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index 674aa649e..da6799250 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -7,7 +7,7 @@ @mixin glyphicon-light { font-family: 'Glyphicons Halflings'; text-decoration: none !important; - color: #000 !important; + color: var(--mainForegroundColor) !important; } // data table customizations @@ -26,14 +26,14 @@ p-table { } tr { - background-color: #fff !important; + background-color: var(--mainBackgroundColor) !important; height: 46px; } .ui-table-tbody { tr { &:hover { - background-color: #f0f0f0 !important; + background-color: var(--submenuColor) !important; } &:not(:hover) { @@ -60,15 +60,15 @@ p-table { th { border: none !important; - border-bottom: 1px solid #f0f0f0 !important; + border-bottom: 1px solid var(--submenuColor) !important; text-align: left !important; padding: 5px 0 5px 15px !important; font-weight: $font-semibold !important; - color: #000 !important; + color: var(--mainForegroundColor) !important; &.ui-sortable-column:hover { - background-color: #f0f0f0 !important; - border: 1px solid #f0f0f0 !important; + background-color: var(--submenuColor) !important; + border: 1px solid var(--submenuColor) !important; border-width: 0 1px !important; &:first-child { @@ -77,13 +77,14 @@ p-table { } &.ui-state-highlight { - background-color: #fff !important; + background-color:var(--submenuColor) !important; .pi { @extend .glyphicon; color: #000; font-size: 11px; + top: 0; &.pi-sort-up { @extend .glyphicon-triangle-top; @@ -108,8 +109,9 @@ p-table { p-paginator { .ui-paginator-bottom { + background-color: var(--mainBackgroundColor) !important; position: relative; - border: 1px solid #f0f0f0 !important; + border: 1px solid var(--submenuColor) !important; height: 40px; display: flex; justify-content: center; @@ -166,7 +168,7 @@ p-table { &.ui-state-active { &, &:hover, &:active, &:focus { color: #fff !important; - background-color: $orange-color !important; + background-color: var(--mainColor) !important; } } }