Skip to content

Commit ab20a57

Browse files
committed
small fixes
1 parent 6f8775a commit ab20a57

3 files changed

Lines changed: 60 additions & 29 deletions

File tree

docs/css/dashboard-header.css

Lines changed: 45 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,25 @@
1111
#search-container {
1212
display: flex;
1313
flex: 5;
14+
position: relative;
15+
/*display: inline-flex;*/
16+
align-items: center;
17+
}
18+
19+
#clear-search {
20+
position: absolute;
21+
display: block;
22+
right: 10px;
23+
width: 25px;
24+
height: 25px;
25+
border-radius: 50%;
26+
color: #fff;
27+
background-color: #8b1708;
28+
font: 22px monospace;
29+
text-align: center;
30+
line-height: 1em;
31+
cursor: pointer;
32+
visibility: hidden;
1433
}
1534

1635
#search-input {
@@ -38,13 +57,13 @@
3857
}
3958

4059
/* I'm feeling lucky container */
41-
#random-container{
60+
#random-container {
4261
flex: 2;
4362
display: flex;
4463
gap: 10px;
4564
}
4665

47-
#random-button{
66+
#random-button {
4867
flex: 3;
4968
width: 100%;
5069
border: none;
@@ -53,14 +72,15 @@
5372
border-radius: 100px;
5473
padding: 5px 15px;
5574
text-decoration: none;
75+
cursor: pointer;
5676
}
5777

58-
#random-button:hover{
59-
background: linear-gradient(45deg, rgba(255,0,0,1) 0%, rgba(255,154,0,1) 10%, rgba(208,222,33,1) 20%, rgba(79,220,74,1) 30%, rgba(63,218,216,1) 40%, rgba(47,201,226,1) 50%, rgba(28,127,238,1) 60%, rgba(95,21,242,1) 70%, rgba(186,12,248,1) 80%, rgba(251,7,217,1) 90%, rgba(255,0,0,1) 100%);
60-
text-shadow: 1px 1px 2px black;
78+
#random-button:hover {
79+
background: linear-gradient(45deg, rgba(255, 0, 0, 1) 0%, rgba(255, 154, 0, 1) 10%, rgba(208, 222, 33, 1) 20%, rgba(79, 220, 74, 1) 30%, rgba(63, 218, 216, 1) 40%, rgba(47, 201, 226, 1) 50%, rgba(28, 127, 238, 1) 60%, rgba(95, 21, 242, 1) 70%, rgba(186, 12, 248, 1) 80%, rgba(251, 7, 217, 1) 90%, rgba(255, 0, 0, 1) 100%);
80+
text-shadow: 1px 1px 2px black;
6181
}
6282

63-
#random-number-input{
83+
#random-number-input {
6484
max-width: 80px;
6585
box-sizing: border-box !important;
6686
overflow: visible;
@@ -72,10 +92,10 @@
7292
padding: 0.8em 1.2em;
7393
}
7494

75-
#random-reset-button{
95+
#random-reset-button {
7696
border: 1px solid red;
7797
cursor: pointer;
78-
background-color: rgba(0,0,0,0);
98+
background-color: rgba(0, 0, 0, 0);
7999
color: red;
80100
padding: 5px 15px;
81101
text-align: center;
@@ -85,13 +105,13 @@
85105
}
86106

87107
/* Span text for the I'm feeling lucky button*/
88-
.lg-view{
89-
display:inline-block;
90-
}
91-
92-
.sm-view{
93-
display:none;
94-
}
108+
.lg-view {
109+
display: inline-block;
110+
}
111+
112+
.sm-view {
113+
display: none;
114+
}
95115

96116
/* Potential updates container */
97117

@@ -132,14 +152,14 @@
132152
}
133153

134154
@media screen and (max-width: 1200px) {
135-
136-
.lg-view{
137-
display:none;
138-
}
139-
140-
.sm-view{
141-
display:inline-block;
142-
}
155+
156+
.lg-view {
157+
display: none;
158+
}
159+
160+
.sm-view {
161+
display: inline-block;
162+
}
143163

144164
}
145165

@@ -152,11 +172,11 @@
152172
gap: 10px;
153173
}
154174

155-
#random-container{
175+
#random-container {
156176
display: none;
157177
}
158178

159179
#regex-search-container {
160180
display: none;
161181
}
162-
}
182+
}

docs/css/dashboard-table-main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
position: sticky;
1111
/* make the table heads sticky */
1212
top: 0px;
13-
z-index: 99;
13+
z-index: 1;
1414
/* table head will be placed from the top of the table and sticks to it */
1515
}
1616

docs/css/dashboard-table-updates.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11

22
.table-container {
3+
width:100%;
34
max-height: 1200px;
45
/* Set maximum height for scrollable area */
56
overflow-y: auto;
7+
overflow-x: auto;
8+
overflow-wrap: anywhere;
69
/* Enable vertical scrolling */
710
}
811

@@ -53,20 +56,28 @@ td {
5356

5457
td:nth-child(1) {
5558
width: 10%;
59+
overflow-wrap: normal;
5660
}
5761
td:nth-child(2) {
62+
width: 5%;
5863
max-width: 70px;
64+
overflow-wrap: normal;
5965
}
6066
td:nth-child(3) {
61-
width: 10%;
67+
min-width: 300px;
68+
width:20%;
69+
overflow-wrap: anywhere;
6270
}
6371
td:nth-child(4) {
64-
min-width: 100px;
72+
min-width: 300px;
73+
width:50%;
74+
overflow-wrap: anywhere;
6575
}
6676
td:nth-child(5) {
77+
width: 5%;
6778
max-width: 70px;
79+
overflow-wrap: normal;
6880
}
69-
7081
tr:nth-child(even) {
7182
background-color: #ebebeb;
7283
}

0 commit comments

Comments
 (0)