Skip to content

Commit 992718f

Browse files
committed
Merge #20036 - Frontend: Allow mouse selection of cells for easier copying
Pull-request: #20036 Signed-off-by: William Desportes <williamdes@wdes.fr>
2 parents 50a473c + 2267c42 commit 992718f

5 files changed

Lines changed: 433 additions & 0 deletions

File tree

public/themes/bootstrap/scss/_tables.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
content: "\200b";
66
}
77
}
8+
9+
.cell-selected {
10+
outline: 1px solid #7facd6;
11+
12+
&.with-bg-color {
13+
background-color: #d0e4f7;
14+
}
15+
}
816
}
917

1018
@media only screen and (width >= 768px) {

public/themes/metro/scss/_tables.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
font-weight: normal;
3131
text-align: center;
3232
}
33+
34+
.cell-selected {
35+
outline: 1px solid #7facd6;
36+
37+
&.with-bg-color {
38+
background-color: #d0e4f7;
39+
}
40+
}
3341
}
3442

3543
@media only screen and (width >= 768px) {

public/themes/original/scss/_tables.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
font-weight: bold;
2828
text-align: center;
2929
}
30+
31+
.cell-selected {
32+
outline: 1px solid #7facd6;
33+
34+
&.with-bg-color {
35+
background-color: #d0e4f7;
36+
}
37+
}
3038
}
3139

3240
.table-striped {

public/themes/pmahomme/scss/_tables.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@
2929
font-weight: bold;
3030
text-align: center;
3131
}
32+
33+
.cell-selected {
34+
outline: 1px solid #7facd6;
35+
36+
&.with-bg-color {
37+
background-color: #d0e4f7;
38+
}
39+
}
3240
}
3341

3442
.table-hover {

0 commit comments

Comments
 (0)