Skip to content

Commit 8fffa72

Browse files
committed
Improved the pagination display in Bootstrap5
1 parent e1f51dc commit 8fffa72

File tree

1 file changed

+65
-60
lines changed

1 file changed

+65
-60
lines changed

htdocs/themes/bootstrap5/css/style.css

Lines changed: 65 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
/* Footer
1313
-------------------------------------------------- */
1414
.footer {
15-
margin-top: 35px;
16-
padding: 15px 0 10px;
17-
border-top: 1px solid #e5e5e5;
15+
margin-top: 35px;
16+
padding: 15px 0 10px;
17+
border-top: 1px solid #e5e5e5;
1818
}
1919

2020
.footer p {
21-
margin-bottom: 0;
22-
color: #555;
21+
margin-bottom: 0;
22+
color: #555;
2323
}
2424

2525
section {
@@ -107,35 +107,35 @@ table.table thead .sorting_desc_disabled { background: url('../images/sort_desc_
107107

108108
/* Search */
109109
.page-header {
110-
position: relative;
110+
position: relative;
111111
}
112112

113113
/* line nums > 1000 are hidden */
114114

115115
.CodeMirror ol {
116-
margin-left: 50px;
117-
padding-left: 0.5rem;
116+
margin-left: 50px;
117+
padding-left: 0.5rem;
118118
}
119119

120120
.text {
121-
word-wrap: break-word;
121+
word-wrap: break-word;
122122
}
123123

124124
a {
125-
text-decoration: none;
125+
text-decoration: none;
126126
}
127127

128128
a:hover {
129-
text-decoration: underline;
129+
text-decoration: underline;
130130
}
131131

132132
.ui-selectable>.ui-selected { background-color: #a6c9e2; }
133133
.ui-selectable>.ui-selecting { background: #FECA40; }
134134

135135
.ui-selectable-helper {
136-
position: absolute;
137-
z-index: 100;
138-
border:1px dotted black;
136+
position: absolute;
137+
z-index: 100;
138+
border:1px dotted black;
139139
}
140140

141141
#embed_field {
@@ -146,117 +146,122 @@ a:hover {
146146
float: right;
147147
}
148148

149+
.pages {
150+
display: flex;
151+
gap: 3px;
152+
}
153+
149154
/* Light mode Paste Form background */
150155
.paste-form-bg {
151-
background-color: #f9f9f9;
156+
background-color: #f9f9f9;
152157
}
153158

154159
/* Dark theme styles */
155160
.dark-theme {
156-
background-color: #121212;
157-
color: #ffffff;
161+
background-color: #121212;
162+
color: #ffffff;
158163
}
159164

160165
/* Paste Form background */
161166
.dark-theme .paste-form-bg {
162-
background-color: #2c3034;
163-
color: #ffffff;
167+
background-color: #2c3034;
168+
color: #ffffff;
164169
}
165170

166171
/* Muted text */
167172
.dark-theme .text-muted {
168-
color: #7b7b7b !important;
173+
color: #7b7b7b !important;
169174
}
170175

171176
/* Forms */
172177
.dark-theme .form-control,
173178
.dark-theme .form-group {
174-
background-color: #1e1e1e;
175-
color: #fff;
176-
border: 1px solid #555;
179+
background-color: #1e1e1e;
180+
color: #fff;
181+
border: 1px solid #555;
177182
}
178183

179184
/* Placeholder color in dark mode */
180185
.dark-theme .form-control::placeholder {
181-
color: #bbb;
186+
color: #bbb;
182187
}
183188

184189
/* Buttons styling */
185190
.dark-theme .btn {
186-
border-color: #666;
191+
border-color: #666;
187192
}
188193

189194
/* Dropdowns */
190195
.dark-theme .form-select {
191-
background-color: #1e1e1e;
192-
color: #fff;
193-
border: 1px solid #555;
196+
background-color: #1e1e1e;
197+
color: #fff;
198+
border: 1px solid #555;
194199
}
195200

196201
/* Navbar styling */
197202
.custom-navbar {
198-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
199-
transition: background-color 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
203+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
204+
transition: background-color 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
200205
}
201206

202207
.dark-theme .custom-navbar {
203-
background-color: #343a40;
204-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
208+
background-color: #343a40;
209+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
205210
}
206211

207212
.nav-link, .navbar-brand {
208-
text-decoration: none !important;
213+
text-decoration: none !important;
209214
}
210215

211216
/* Alert Banner */
212217
:root {
213-
--alert-bg-start: #e3f2fd;
214-
--alert-bg-end: #bbdefb;
215-
--alert-text: #0d47a1;
218+
--alert-bg-start: #e3f2fd;
219+
--alert-bg-end: #bbdefb;
220+
--alert-text: #0d47a1;
216221
}
217222

218223
@media (prefers-color-scheme: dark) {
219-
:root {
220-
--alert-bg-start: #3f4c6b;
221-
--alert-bg-end: #606c88;
222-
--alert-text: #ecf0f1;
223-
}
224+
:root {
225+
--alert-bg-start: #3f4c6b;
226+
--alert-bg-end: #606c88;
227+
--alert-text: #ecf0f1;
228+
}
224229
}
225230

226231
.alert-banner {
227-
padding: 1rem 1.5rem;
228-
margin-bottom: -30px;
229-
border: none;
230-
border-radius: 0.25rem;
231-
background: linear-gradient(90deg, var(--alert-bg-start), var(--alert-bg-end));
232-
color: var(--alert-text);
233-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
232+
padding: 1rem 1.5rem;
233+
margin-bottom: -30px;
234+
border: none;
235+
border-radius: 0.25rem;
236+
background: linear-gradient(90deg, var(--alert-bg-start), var(--alert-bg-end));
237+
color: var(--alert-text);
238+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
234239
}
235240

236241
.alert-banner h5 {
237-
margin: 0;
238-
font-size: 15px;
239-
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
242+
margin: 0;
243+
font-size: 15px;
244+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
240245
}
241246

242247
/* ACE Editor Color Scheme */
243248
.ace-clouds {
244-
border: 1px solid #CDCDCD !important;
245-
border-radius: 3px;
249+
border: 1px solid #CDCDCD !important;
250+
border-radius: 3px;
246251
}
247252

248253
.dark-theme .ace-clouds {
249-
background-color: #2c3034 !important;
250-
color: #ebf3f6 !important;
251-
border: 1px solid #555 !important;
252-
border-radius: 3px;
254+
background-color: #2c3034 !important;
255+
color: #ebf3f6 !important;
256+
border: 1px solid #555 !important;
257+
border-radius: 3px;
253258
}
254259

255260
.dark-theme .ace-clouds .ace_gutter {
256-
background: #1e1e1e !important;
257-
color: #ebf3f6 !important;
261+
background: #1e1e1e !important;
262+
color: #ebf3f6 !important;
258263
}
259264

260265
.dark-theme .ace-clouds .ace_marker-layer .ace_active-line {
261-
background: #113a1b;
266+
background: #113a1b;
262267
}

0 commit comments

Comments
 (0)