Skip to content

Commit 1385eaf

Browse files
author
Tony Nedyalkov
committed
Style updates and icons.
1 parent a1a3db0 commit 1385eaf

File tree

6 files changed

+63
-31
lines changed

6 files changed

+63
-31
lines changed

src/network/network_style.css

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115

116116
.network-log-url-list li:last-child,
117117
.network-graph-row:last-child
118-
{
118+
{
119119
border-bottom-width: 1px;
120120
}
121121

@@ -249,7 +249,6 @@
249249
.network-details-view
250250
{
251251
height: 100%;
252-
padding: 0 5px;
253252
box-sizing: border-box;
254253
overflow: auto;
255254
}
@@ -281,7 +280,7 @@
281280

282281
.network-details-view .header-token-type-name
283282
{
284-
color: #149CBD;
283+
color: #5555aa;
285284
}
286285

287286
.network-details-view .http-token-type-boundary
@@ -297,6 +296,16 @@
297296
color: #808080;
298297
}
299298

299+
.network-detail-overlay\.wrap-detail-view::before
300+
{
301+
background-image: url("../ui-images/icons/icon_wrap_text.png");
302+
}
303+
304+
.network-detail-overlay\.view-raw::before
305+
{
306+
background-image: url("../ui-images/icons/icon_hidedefaults.png");
307+
}
308+
300309
.network-details-view pre,
301310
.network-details-view p
302311
{
@@ -324,6 +333,7 @@
324333
.network-details-view p
325334
{
326335
font: 11px "menu";
336+
margin: 6px;
327337
}
328338

329339
.network-details-view table
@@ -345,6 +355,8 @@
345355
.network-details-view th
346356
{
347357
vertical-align: top;
358+
padding: 4px 10px;
359+
border-right: 1px solid #fff;
348360
}
349361

350362
.network-details-view th
@@ -353,22 +365,38 @@
353365
white-space: nowrap;
354366
}
355367

368+
.network-details-view th .not-content
369+
{
370+
padding: 0px;
371+
font-style: normal;
372+
border-collapse: collapse;
373+
color: #808080;
374+
cursor: default;
375+
display: block;
376+
font-weight: normal;
377+
}
378+
356379
.network-details-view th:first-child,
357380
.network-details-view td:first-child
358381
{
359382
width: 20%;
360-
padding-right: 30px;
383+
padding-left: 0px;
384+
}
385+
386+
.network-details-view tr:nth-child(even)
387+
{
388+
background-color: rgba(0, 0, 0, 0.03);
361389
}
362390

363391
.network-details-view hr
364392
{
365393
border: none;
366-
border-top: 1px solid #a4a4a4;
394+
border-top: 1px solid #ccc;
367395
margin: 7px 0 -8px 0;
368396
}
369397

370-
.network-details-view div.header {
371-
margin: 0 0 0 -5px; /* todo: 10px 0 10px -5px; looks better to me but is inconsistent with dom panel headers */
398+
.response-summary + div .header {
399+
border-top-width: 1px;
372400
}
373401

374402
.request-crafter h2,
@@ -501,7 +529,7 @@
501529
border-radius: 3px;
502530
}
503531

504-
/* the value of the padding property of this selector
532+
/* the value of the padding property of this selector
505533
is read out in network_templates.js */
506534
.network-tooltip-legend .time_data
507535
{

src/ui-images/icons/icon_close.png

2.64 KB
Loading
1.13 KB
Loading

src/ui-scripts/sortable_table/sortable_table.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
padding: 4px 5px 1px 5px;
4040
}
4141

42-
.sortable-table > tr > td.align-justify
42+
.sortable-table > tr > td.align-justify
4343
{
4444
text-align: justify;
4545
}
@@ -53,12 +53,12 @@
5353
.network-log-url-list li,
5454
.network-timeline-row,
5555
.network-graph-row
56-
{
56+
{
5757
border: 0 solid #f0f0f0;
5858
}
5959

6060
.sortable-table > tr:last-child
61-
{
61+
{
6262
border-bottom-width: 1px;
6363
}
6464

src/ui-style/debugger_style.css

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -404,18 +404,12 @@ styles
404404
padding: 0 5px;
405405
}
406406

407-
header,
408-
div.header
409-
{
410-
padding: 2px;
411-
background-color: #fff;
412-
border-bottom: 1px solid #fff;
413-
border-bottom-color: #ccc;
414-
}
415-
416407
container > div > header,
417-
div.header
408+
.header
418409
{
410+
padding: 2px;
411+
border: 0 solid #ccc;
412+
border-bottom-width: 1px;
419413
line-height: 20px;
420414
background-color: #e9e9e9;
421415
background-image: -o-linear-gradient(-90deg,
@@ -425,9 +419,10 @@ div.header
425419
rgba(255, 255, 255, 0.45) 100%);
426420
}
427421

428-
div.unfolded
422+
.unfolded + div header,
423+
.unfolded + div .header
429424
{
430-
border-bottom: 1px solid #ccc;
425+
border-top-width: 1px;
431426
}
432427

433428
category header:hover input
@@ -446,13 +441,13 @@ header input,
446441
transition: 0.2s;
447442
}
448443

449-
.unfolded > header
444+
.unfolded .foldable
450445
{
451-
border-bottom-color: #d7d7d7;
446+
padding: 5px;
452447
}
453448

454449
.unfolded > header input,
455-
input.unfolded
450+
.unfolded > .header input
456451
{
457452
-o-transform: rotate(90deg);
458453
transform: rotate(90deg);
@@ -771,7 +766,7 @@ breadcrumb span
771766

772767
.js-dd-filter-container
773768
{
774-
margin: 0 3px;
769+
margin: 0 3px;
775770
}
776771

777772
.js-dd-filter
@@ -798,7 +793,7 @@ breadcrumb span
798793

799794
.js-dd-visible
800795
{
801-
opacity: 1;
796+
opacity: 1;
802797
-o-transition: opacity 0.5s;
803798
transition: opacity 0.5s;
804799
}
@@ -834,7 +829,7 @@ breadcrumb span
834829
}
835830

836831
.cmd-line-runtimes cst-option
837-
{
832+
{
838833
margin-bottom: 0;
839834
}
840835

@@ -878,7 +873,7 @@ breadcrumb span
878873
}
879874

880875
.cmd-line-runtimes cst-option:hover
881-
{
876+
{
882877
background-color: #bbcef1;
883878
color: #000;
884879
}

src/ui-style/ui.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,7 @@ view-slider
897897
{
898898
display: block;
899899
position: absolute;
900+
z-index: 2;
900901
}
901902

902903
view-slider.vertical
@@ -1845,5 +1846,13 @@ info {
18451846
{
18461847
position: absolute;
18471848
border: 1px solid #999;
1848-
box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.5);
1849+
box-shadow: 0 5px 5px hsla(0, 0%, 0%, 0.4),
1850+
0 2px 2px hsla(0, 0%, 0%, 0.3),
1851+
0 1px 1px hsla(0, 0%, 0%, 0.1);
1852+
}
1853+
1854+
#toolbar-to-cell-id-28,
1855+
.network-details-view
1856+
{
1857+
border-left-width: 0;
18491858
}

0 commit comments

Comments
 (0)