aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/application.scss
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-23 14:36:16 +0100
committerChocobozzz <me@florianbigard.com>2018-02-23 14:36:16 +0100
commitab998f7b6dffbe461d830d3696cb46491ad6afb0 (patch)
treef819e4049ca62b5389fd31ebfcbcb6ffbe0eaf0b /client/src/sass/application.scss
parent621d99f53f47a11919ec243e05273ecf5907b444 (diff)
downloadPeerTube-ab998f7b6dffbe461d830d3696cb46491ad6afb0.tar.gz
PeerTube-ab998f7b6dffbe461d830d3696cb46491ad6afb0.tar.zst
PeerTube-ab998f7b6dffbe461d830d3696cb46491ad6afb0.zip
Improve admin tables
Diffstat (limited to 'client/src/sass/application.scss')
-rw-r--r--client/src/sass/application.scss48
1 files changed, 23 insertions, 25 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss
index f998096ae..438990a40 100644
--- a/client/src/sass/application.scss
+++ b/client/src/sass/application.scss
@@ -131,21 +131,9 @@ label {
131} 131}
132 132
133// ngprime data table customizations 133// ngprime data table customizations
134p-datatable { 134p-table {
135 font-size: 15px !important; 135 font-size: 15px !important;
136 136
137 .ui-datatable-scrollable-header {
138 background-color: #fff !important;
139 }
140
141 .ui-widget-content {
142 border: none !important;
143 }
144
145 .ui-datatable-virtual-table {
146 border-top: none !important;
147 }
148
149 td { 137 td {
150 border: 1px solid #E5E5E5 !important; 138 border: 1px solid #E5E5E5 !important;
151 padding-left: 15px !important; 139 padding-left: 15px !important;
@@ -157,23 +145,33 @@ p-datatable {
157 tr { 145 tr {
158 background-color: #fff !important; 146 background-color: #fff !important;
159 height: 46px; 147 height: 46px;
148 }
160 149
161 &:hover { 150 .ui-table-tbody {
162 background-color: #f0f0f0 !important; 151 tr {
163 } 152 &:hover {
153 background-color: #f0f0f0 !important;
154 }
164 155
165 &:not(:hover) { 156 &:not(:hover) {
166 .action-cell * { 157 .action-cell * {
167 display: none !important; 158 display: none !important;
159 }
168 } 160 }
169 }
170 161
171 &:first-child td { 162 &:first-child td {
172 border-top: none !important; 163 border-top: none !important;
164 }
165
166 &:last-child td {
167 border-bottom: none !important;
168 }
173 } 169 }
174 170
175 &:last-child td { 171 .expander {
176 border-bottom: none !important; 172 cursor: pointer;
173 position: relative;
174 top: 1px;
177 } 175 }
178 } 176 }
179 177
@@ -195,7 +193,7 @@ p-datatable {
195 } 193 }
196 } 194 }
197 195
198 &.ui-state-active { 196 &.ui-state-highlight {
199 background-color: #fff !important; 197 background-color: #fff !important;
200 198
201 .fa { 199 .fa {