Skip to content

Commit c563325

Browse files
committed
update css toolbar,welcome_message
1 parent 0732719 commit c563325

File tree

3 files changed

+12
-42
lines changed

3 files changed

+12
-42
lines changed

admin/css/debug-toolbar/toolbar.scss

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,11 @@
398398
text-align: right;
399399
}
400400
}
401+
402+
// show tab
403+
&>.debug-bar-dblock {
404+
display: block;
405+
}
401406
}
402407

403408

@@ -467,18 +472,6 @@
467472
@import '_theme-light';
468473
}
469474

470-
// show tab
471-
#ci-database.debug-bar-dblock,
472-
#ci-files.debug-bar-dblock,
473-
#ci-routes.debug-bar-dblock,
474-
#ci-events.debug-bar-dblock,
475-
#ci-history.debug-bar-dblock,
476-
#ci-vars.debug-bar-dblock,
477-
#ci-config.debug-bar-dblock,
478-
#ci-timeline.debug-bar-dblock {
479-
display: block;
480-
}
481-
482475
// LAYOUT HELPERS
483476
// ========================================================================== */
484477

app/Views/welcome_message.php

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -150,24 +150,9 @@
150150
.further h2:first-of-type {
151151
padding-top: 0;
152152
}
153-
.f1 {
153+
.svg-stroke {
154154
fill: none;
155155
stroke: #000;
156-
stroke-linejoin: round;
157-
stroke-width: 32px;
158-
}
159-
.f2 {
160-
fill: none;
161-
stroke: #000;
162-
stroke-linecap: round;
163-
stroke-linejoin: round;
164-
stroke-width: 32px;
165-
}
166-
.f3 {
167-
fill: none;
168-
stroke: #000;
169-
stroke-linecap: round;
170-
stroke-miterlimit: 10;
171156
stroke-width: 32px;
172157
}
173158
footer {
@@ -273,7 +258,7 @@
273258
<h1>Go further</h1>
274259

275260
<h2>
276-
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><rect x='32' y='96' width='64' height='368' rx='16' ry='16' class="f1" /><line x1='112' y1='224' x2='240' y2='224' class="f2" /><line x1='112' y1='400' x2='240' y2='400' class="f2" /><rect x='112' y='160' width='128' height='304' rx='16' ry='16' class="f1" /><rect x='256' y='48' width='96' height='416' rx='16' ry='16' class="f1" /><path d='M422.46,96.11l-40.4,4.25c-11.12,1.17-19.18,11.57-17.93,23.1l34.92,321.59c1.26,11.53,11.37,20,22.49,18.84l40.4-4.25c11.12-1.17,19.18-11.57,17.93-23.1L445,115C443.69,103.42,433.58,94.94,422.46,96.11Z' class="f1"/></svg>
261+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><rect x='32' y='96' width='64' height='368' rx='16' ry='16' class="svg-stroke" /><line x1='112' y1='224' x2='240' y2='224' class="svg-stroke" /><line x1='112' y1='400' x2='240' y2='400' class="svg-stroke" /><rect x='112' y='160' width='128' height='304' rx='16' ry='16' class="svg-stroke" /><rect x='256' y='48' width='96' height='416' rx='16' ry='16' class="svg-stroke" /><path d='M422.46,96.11l-40.4,4.25c-11.12,1.17-19.18,11.57-17.93,23.1l34.92,321.59c1.26,11.53,11.37,20,22.49,18.84l40.4-4.25c11.12-1.17,19.18-11.57,17.93-23.1L445,115C443.69,103.42,433.58,94.94,422.46,96.11Z' class="svg-stroke"/></svg>
277262
Learn
278263
</h2>
279264

@@ -283,7 +268,7 @@
283268
target="_blank">User Guide</a> !</p>
284269

285270
<h2>
286-
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M431,320.6c-1-3.6,1.2-8.6,3.3-12.2a33.68,33.68,0,0,1,2.1-3.1A162,162,0,0,0,464,215c.3-92.2-77.5-167-173.7-167C206.4,48,136.4,105.1,120,180.9a160.7,160.7,0,0,0-3.7,34.2c0,92.3,74.8,169.1,171,169.1,15.3,0,35.9-4.6,47.2-7.7s22.5-7.2,25.4-8.3a26.44,26.44,0,0,1,9.3-1.7,26,26,0,0,1,10.1,2L436,388.6a13.52,13.52,0,0,0,3.9,1,8,8,0,0,0,8-8,12.85,12.85,0,0,0-.5-2.7Z' class="f3" /><path d='M66.46,232a146.23,146.23,0,0,0,6.39,152.67c2.31,3.49,3.61,6.19,3.21,8s-11.93,61.87-11.93,61.87a8,8,0,0,0,2.71,7.68A8.17,8.17,0,0,0,72,464a7.26,7.26,0,0,0,2.91-.6l56.21-22a15.7,15.7,0,0,1,12,.2c18.94,7.38,39.88,12,60.83,12A159.21,159.21,0,0,0,284,432.11' class="f3" /></svg>
271+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M431,320.6c-1-3.6,1.2-8.6,3.3-12.2a33.68,33.68,0,0,1,2.1-3.1A162,162,0,0,0,464,215c.3-92.2-77.5-167-173.7-167C206.4,48,136.4,105.1,120,180.9a160.7,160.7,0,0,0-3.7,34.2c0,92.3,74.8,169.1,171,169.1,15.3,0,35.9-4.6,47.2-7.7s22.5-7.2,25.4-8.3a26.44,26.44,0,0,1,9.3-1.7,26,26,0,0,1,10.1,2L436,388.6a13.52,13.52,0,0,0,3.9,1,8,8,0,0,0,8-8,12.85,12.85,0,0,0-.5-2.7Z' class="svg-stroke" /><path d='M66.46,232a146.23,146.23,0,0,0,6.39,152.67c2.31,3.49,3.61,6.19,3.21,8s-11.93,61.87-11.93,61.87a8,8,0,0,0,2.71,7.68A8.17,8.17,0,0,0,72,464a7.26,7.26,0,0,0,2.91-.6l56.21-22a15.7,15.7,0,0,1,12,.2c18.94,7.38,39.88,12,60.83,12A159.21,159.21,0,0,0,284,432.11' class="svg-stroke" /></svg>
287272
Discuss
288273
</h2>
289274

@@ -294,7 +279,7 @@
294279
target="_blank">chat on Slack</a> !</p>
295280

296281
<h2>
297-
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><line x1='176' y1='48' x2='336' y2='48' class="f3" /><line x1='118' y1='304' x2='394' y2='304' class="f3" /><path d='M208,48v93.48a64.09,64.09,0,0,1-9.88,34.18L73.21,373.49C48.4,412.78,76.63,464,123.08,464H388.92c46.45,0,74.68-51.22,49.87-90.51L313.87,175.66A64.09,64.09,0,0,1,304,141.48V48' class="f3" /></svg>
282+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><line x1='176' y1='48' x2='336' y2='48' class="svg-stroke" /><line x1='118' y1='304' x2='394' y2='304' class="svg-stroke" /><path d='M208,48v93.48a64.09,64.09,0,0,1-9.88,34.18L73.21,373.49C48.4,412.78,76.63,464,123.08,464H388.92c46.45,0,74.68-51.22,49.87-90.51L313.87,175.66A64.09,64.09,0,0,1,304,141.48V48' class="svg-stroke" /></svg>
298283
Contribute
299284
</h2>
300285

system/Debug/Toolbar/Views/toolbar.css

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,9 @@
288288
padding-left: 1em;
289289
text-align: right;
290290
}
291+
#debug-bar > .debug-bar-dblock {
292+
display: block;
293+
}
291294

292295
.debug-view.show-view {
293296
border: 1px solid;
@@ -765,17 +768,6 @@
765768
color: #434343;
766769
}
767770

768-
#ci-database.debug-bar-dblock,
769-
#ci-files.debug-bar-dblock,
770-
#ci-routes.debug-bar-dblock,
771-
#ci-events.debug-bar-dblock,
772-
#ci-history.debug-bar-dblock,
773-
#ci-vars.debug-bar-dblock,
774-
#ci-config.debug-bar-dblock,
775-
#ci-timeline.debug-bar-dblock {
776-
display: block;
777-
}
778-
779771
.debug-bar-width30 {
780772
width: 30%;
781773
}

0 commit comments

Comments
 (0)