Skip to content

Commit 71c403f

Browse files
committed
Cleanup: CSS indents, spacing, duplicate entries
1 parent d851eaf commit 71c403f

14 files changed

Lines changed: 54 additions & 55 deletions

public/stylesheets/alert.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@
1515
.alert-overlay {
1616
display: flex;
1717
align-items: center;
18-
align-items: center;
1918
justify-content: center;
2019
}
2120

2221
.alert-dialog {
2322
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
2423
background-color: whitesmoke;
25-
border: 2px black solid;
24+
border: 2px solid black;
2625
border-radius: 20px;
2726
opacity: 1;
2827
overflow: hidden;

public/stylesheets/classes.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232

3333
.invisible {
34-
opacity:0;
34+
opacity: 0;
3535
width: 0;
3636
z-index: -1;
3737
}
@@ -47,7 +47,7 @@
4747
}
4848

4949
.spacious-entry {
50-
padding: 8px 8px;
50+
padding: 8px;
5151
}
5252

5353
.index-button {

public/stylesheets/classic.css

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,23 @@
33
*/
44

55
.netlogo-command {
6-
background-color: #BCBCE5;
6+
background-color: #BCBCE5;
77
}
8+
89
.netlogo-command.netlogo-active, .netlogo-command:active {
9-
background-color: #000;
10-
color: #BCBCE5;
10+
background-color: #000;
11+
color: #BCBCE5;
1112
}
13+
1214
.netlogo-button.netlogo-disabled:active, .netlogo-forever-button.netlogo-disabled.netlogo-active {
13-
background-color: #BCBCE5;
14-
color: grey;
15+
background-color: #BCBCE5;
16+
color: grey;
1517
}
18+
1619
.netlogo-input {
17-
background-color: #82BCB7;
20+
background-color: #82BCB7;
1821
}
22+
1923
.netlogo-output {
20-
background-color: #E0E0B5;
24+
background-color: #E0E0B5;
2125
}
22-

public/stylesheets/element-overrides.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ li {
2222
*/
2323

2424
body, html {
25-
background-color: #343434
25+
background-color: #343434;
2626
}
2727

2828
body {

public/stylesheets/hubnetweb-authoring.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@
8686
height: 100%;
8787
}
8888

89-
.grid-item {
90-
}
91-
9289
.hnw-button {
9390
border: 2px solid black;
9491
cursor: pointer;

public/stylesheets/info.css

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ elements. Font sizes are also hard-coded here instead of calculated. -Jeremy B
2828
--link-color: rgb(0, 110, 240);
2929
}
3030

31-
.netlogo-info :link { color: rgb(110,0,110); }
32-
.netlogo-info :visited { color: rgb(110,0,110); }
31+
.netlogo-info :link { color: rgb(110, 0, 110); }
32+
.netlogo-info :visited { color: rgb(110, 0, 110); }
3333
.netlogo-info {
3434
margin-left: 5px;
3535
font-family: "Segoe UI", "Open Sans", sans-serif;
@@ -64,10 +64,7 @@ elements. Font sizes are also hard-coded here instead of calculated. -Jeremy B
6464
margin-bottom: 4px;
6565
color: var(--h3-color);
6666
font-size: var(--h3-font-size);
67-
padding: 0.2em;
68-
padding-right: 6px;
69-
padding-top: 6px;
70-
padding-bottom: 6px;
67+
padding: 6px 6px 6px 0.2em;
7168
}
7269
.netlogo-info h4 {
7370
margin-top: 15px;
@@ -101,8 +98,8 @@ elements. Font sizes are also hard-coded here instead of calculated. -Jeremy B
10198
padding-top: 7px;
10299
padding-bottom: 7px;
103100
margin-left: 15px;
104-
margin-top:9px;
105-
margin-bottom:0px;
101+
margin-top: 9px;
102+
margin-bottom: 0;
106103
}
107104
.netlogo-info code {
108105
font-family: monospace;
@@ -119,8 +116,7 @@ elements. Font sizes are also hard-coded here instead of calculated. -Jeremy B
119116
background: var(--info-background);
120117
padding-bottom: 10px;
121118
}
122-
.netlogo-info blockquote p
123-
{
119+
.netlogo-info blockquote p {
124120
color: var(--p-color);
125121
margin: 0;
126122
padding: 15px;

public/stylesheets/inspection-pane.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ button.inspection-button {
110110
width: min-content;
111111
padding: 0.5em;
112112
border: 1px solid gray;
113-
background: white
113+
background: white;
114114
}
115115

116116
.inspection-agent-monitor-watch-button:hover {
Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
.cm-s-netlogo-default .cm-reporter {
2-
color: #660096;
2+
color: #660096;
33
}
4+
45
.cm-s-netlogo-default .cm-command {
5-
color: #0000AA;
6+
color: #0000AA;
67
}
8+
79
.cm-s-netlogo-default .cm-keyword {
8-
color: #007F69;
10+
color: #007F69;
911
}
12+
1013
.cm-s-netlogo-default .cm-comment {
11-
color: #5A5A5A;
14+
color: #5A5A5A;
1215
}
16+
1317
.cm-s-netlogo-default .cm-string,
1418
.cm-s-netlogo-default .cm-number,
1519
.cm-s-netlogo-default .cm-constant {
16-
color: #963700;
20+
color: #963700;
1721
}

public/stylesheets/nettango-builder.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ body#ntp-body, html#ntp-body {
33
}
44

55
#builder-body {
6-
margin: 0px;
6+
margin: 0;
77
}
88

99
.ntb-container-unthemed {
@@ -44,7 +44,7 @@ body#ntp-body, html#ntp-body {
4444
}
4545

4646
.ntb-menu-controls {
47-
padding: 10px 30px 10px 30px;
47+
padding: 10px 30px;
4848
position: sticky;
4949
top: 40px;
5050
z-index: 90;
@@ -189,7 +189,7 @@ body#ntp-body, html#ntp-body {
189189

190190
.ntb-netlogo-model-chooser {
191191
margin: 10px;
192-
margin-bottom: 0px;
192+
margin-bottom: 0;
193193
}
194194

195195
.ntb-netlogo-model-chooser > span.model-list {
@@ -226,7 +226,7 @@ body#ntp-body, html#ntp-body {
226226
}
227227

228228
.ntb-form-row input[readonly] {
229-
background-color: #f6f6f6;
229+
background-color: #f6f6f6;
230230
}
231231

232232
.ntb-button, .ntb-file-label {
@@ -255,7 +255,7 @@ body#ntp-body, html#ntp-body {
255255
list-style-image: none;
256256
list-style-type: none;
257257
margin: 10px;
258-
padding: 0px;
258+
padding: 0;
259259
}
260260

261261
.ntb-list-menu > li {
@@ -341,7 +341,7 @@ body#ntp-body, html#ntp-body {
341341
border: 1px solid #ddd;
342342
border-radius: 4px;
343343
background: #f6f6f6;
344-
margin: 4px 0px;
344+
margin: 4px 0;
345345
font-size: 16px;
346346
}
347347

@@ -390,7 +390,7 @@ body#ntp-body, html#ntp-body {
390390
}
391391

392392
.ntb-array-view-hidden {
393-
border: 0px;
393+
border: 0;
394394
background: unset;
395395
}
396396

@@ -441,7 +441,7 @@ body#ntp-body, html#ntp-body {
441441
}
442442

443443
.ntb-space-title {
444-
border: 0px;
444+
border: 0;
445445
border-radius: 3px;
446446
background: #eee;
447447
text-align: center;
@@ -465,7 +465,7 @@ body#ntp-body, html#ntp-body {
465465
margin: 8px;
466466
display: flex;
467467
flex-direction: column;
468-
padding: 0px;
468+
padding: 0;
469469
align-items: stretch;
470470
flex: 1;
471471
}
@@ -511,7 +511,7 @@ body#ntp-body, html#ntp-body {
511511
}
512512

513513
.ntb-flex-column > .widget-edit-dropdown {
514-
margin: 0px;
514+
margin: 0;
515515
}
516516

517517
.ntb-canvas {

public/stylesheets/settings.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ li {
3838
}
3939

4040
.description {
41-
text-align: center;
41+
text-align: center;
4242
}

0 commit comments

Comments
 (0)