aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-08 15:15:11 +0200
committerChocobozzz <me@florianbigard.com>2018-10-08 15:55:32 +0200
commit791645e620fb98c6e7c32271d91d91ff7e41b892 (patch)
treeb9554ae53c93c1e699d8cc2e137128e599a4c045 /client/src/sass
parent80c7336a896d9eb1e71b7c89a72285f914259457 (diff)
downloadPeerTube-791645e620fb98c6e7c32271d91d91ff7e41b892.tar.gz
PeerTube-791645e620fb98c6e7c32271d91d91ff7e41b892.tar.zst
PeerTube-791645e620fb98c6e7c32271d91d91ff7e41b892.zip
Add bulk actions in users table
Diffstat (limited to 'client/src/sass')
-rw-r--r--client/src/sass/primeng-custom.scss38
1 files changed, 37 insertions, 1 deletions
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss
index 5a03ac9c5..4a19e0275 100644
--- a/client/src/sass/primeng-custom.scss
+++ b/client/src/sass/primeng-custom.scss
@@ -14,8 +14,11 @@
14p-table { 14p-table {
15 font-size: 15px !important; 15 font-size: 15px !important;
16 16
17 .ui-table-caption {
18 border: none;
19 }
20
17 td { 21 td {
18 // border: 1px solid #E5E5E5 !important;
19 padding-left: 15px !important; 22 padding-left: 15px !important;
20 23
21 &:not(.action-cell) { 24 &:not(.action-cell) {
@@ -28,6 +31,11 @@ p-table {
28 tr { 31 tr {
29 background-color: var(--mainBackgroundColor) !important; 32 background-color: var(--mainBackgroundColor) !important;
30 height: 46px; 33 height: 46px;
34
35 &.ui-state-highlight {
36 background-color:var(--submenuColor) !important;
37 color:var(--mainForegroundColor) !important;
38 }
31 } 39 }
32 40
33 .ui-table-tbody { 41 .ui-table-tbody {
@@ -216,4 +224,32 @@ p-calendar .ui-datepicker {
216 @include glyphicon-light; 224 @include glyphicon-light;
217 } 225 }
218 } 226 }
227}
228
229.ui-chkbox-box {
230 &.ui-state-active {
231 border-color: var(--mainColor) !important;
232 background-color: var(--mainColor) !important;
233 }
234
235 .ui-chkbox-icon {
236 position: relative;
237
238 &:after {
239 content: '';
240 position: absolute;
241 left: 5px;
242 width: 5px;
243 height: 12px;
244 opacity: 0;
245 transform: rotate(45deg) scale(0);
246 border-right: 2px solid var(--mainBackgroundColor);
247 border-bottom: 2px solid var(--mainBackgroundColor);
248 }
249
250 &.pi-check:after {
251 opacity: 1;
252 transform: rotate(45deg) scale(1);
253 }
254 }
219} \ No newline at end of file 255} \ No newline at end of file