Skip to content

Commit 7a87a02

Browse files
committed
update darkmode: removed unnecessary comments
1 parent 0eb0bf9 commit 7a87a02

12 files changed

Lines changed: 75 additions & 96 deletions

File tree

src/App.css

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -48,57 +48,57 @@
4848
}
4949

5050
* {
51-
font-family: 'Helvetica', 'Arial', sans-serif;
51+
font-family: 'Helvetica', 'Arial', sans-serif
5252
}
5353

5454
input {
5555
border: 1px solid var(--border-primary);
5656
}
5757

5858
.container {
59-
height: 100vh;
60-
display: flex;
61-
width: 100vw;
62-
flex-direction: column;
59+
height: 100vh;
60+
display: flex;
61+
width: 100vw;
62+
flex-direction: column;
6363
}
6464

6565
.body {
66-
background-color: var(--bg-primary);
67-
height: -webkit-fill-available;
68-
flex: 1;
66+
background-color: var(--bg-primary);
67+
height: -webkit-fill-available;
68+
flex: 1;
6969
}
7070

7171
.graph {
72-
padding: 50px;
73-
background-color: var(--bg-primary);
74-
height: -webkit-fill-available;
75-
flex: 80;
72+
padding: 50px;
73+
background-color: var(--bg-primary);
74+
height: -webkit-fill-available;
75+
flex: 80;
7676
}
7777

7878
.graph-container {
7979
background-color: var(--bg-secondary);
8080
}
8181

8282
.middle {
83-
display: flex;
84-
justify-content: center;
85-
align-items: center;
83+
display: flex;
84+
justify-content: center;
85+
align-items: center;
8686
}
8787

8888
.btn {
89-
display: inline-block;
90-
font-weight: 400;
91-
color: var(--text-primary);
92-
text-align: center;
93-
vertical-align: middle;
94-
-webkit-user-select: none;
95-
-ms-user-select: none;
96-
user-select: none;
97-
background-color: transparent;
98-
border: 1px solid var(--border-transparent);
99-
padding: .375rem .75rem;
100-
line-height: 1.5;
101-
border-radius: .25rem;
89+
display: inline-block;
90+
font-weight: 400;
91+
color: var(--text-primary);
92+
text-align: center;
93+
vertical-align: middle;
94+
-webkit-user-select: none;
95+
-ms-user-select: none;
96+
user-select: none;
97+
background-color: transparent;
98+
border: 1px solid var(--border-transparent);
99+
padding: .375rem .75rem;
100+
line-height: 1.5;
101+
border-radius: .25rem;
102102
}
103103

104104
.btn-primary {
@@ -114,23 +114,23 @@ input {
114114
}
115115

116116
.btn:not(:disabled):not(.disabled) {
117-
cursor: pointer;
117+
cursor: pointer;
118118
}
119119

120120
@media screen and (max-width: 1000px) {
121-
.graph {
122-
padding: 40px;
123-
}
121+
.graph {
122+
padding: 40px;
123+
}
124124
}
125125

126126
@media screen and (max-width: 650px) {
127-
.graph {
128-
padding: 35px;
129-
}
127+
.graph {
128+
padding: 35px;
129+
}
130130
}
131131

132132
@media screen and (max-width: 500px) {
133-
.graph {
134-
padding: 20px;
135-
}
133+
.graph {
134+
padding: 20px;
135+
}
136136
}

src/component/modals/contributeDetails.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,34 @@
1-
.contribute-details {
1+
.contribute-details{
22
padding: 20px;
33
display: grid;
44
grid-template-columns: auto auto;
55
gap: 20px;
66
}
77

8-
.contribute-details * {
8+
.contribute-details *{
99
padding: 10px 5px;
1010
text-align: center;
1111
}
1212

13-
.contribute-details .expand {
13+
.contribute-details .expand{
1414
grid-column: 1 / span 2;
1515
padding: 0;
1616
}
1717

18-
.contribute-details .btn {
18+
.contribute-details .btn{
1919
width: 100%;
2020
}
2121

22-
.contribute-details .btn-secondary {
22+
.contribute-details .btn-secondary{
2323
align-self: flex-end;
2424
}
25-
26-
.contribute-details textarea {
25+
.contribute-details textarea{
2726
resize: vertical;
2827
max-height: 200px;
2928
max-width: 300px;
3029
text-align: left;
3130
max-lines: 10;
3231
}
33-
3432
.Toastify__toast-container {
3533
/* width: 350px; */
3634
/* height: 80px; */

src/component/modals/edgeDetails.css

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
text-align: center;
33
}
44

5-
.par-div {
5+
.par-div{
66
height: 1px;
77
min-height: 100px;
88
width: auto;
@@ -13,7 +13,7 @@
1313
padding: 20px;
1414
}
1515

16-
.edge-div {
16+
.edge-div{
1717
border: none;
1818
width: 240px;
1919
height: 0;
@@ -41,20 +41,20 @@
4141
padding: 20px;
4242
}
4343

44-
.span-rest {
44+
.span-rest{
4545
grid-column: 2 / span 3;
4646

4747
}
4848

49-
.edgeform .color-box {
49+
.edgeform .color-box{
5050
width: 36px;
5151
height: 14px;
5252
border-radius: 2px;
5353
background: rgb(241, 112, 19);
5454
border: 1px solid gray
5555
}
5656

57-
.color-box-par {
57+
.color-box-par{
5858
padding: 5px;
5959
background: rgba(0, 0, 0, 0.384);
6060
border-radius: 1px;
@@ -65,7 +65,7 @@
6565
border: 1px solid gray
6666
}
6767

68-
.color-picker {
68+
.color-picker{
6969
display: inline-block;
7070
margin: 13px 0px;
7171
position: absolute;
@@ -84,22 +84,21 @@
8484
}
8585

8686

87-
.edgeform .label {
87+
.edgeform .label{
8888
position: absolute;
8989
margin-top: 30px;
9090
}
9191

92-
.hascheckbox {
92+
.hascheckbox{
9393
display: flex;
94-
justify-content: space-between;
94+
justify-content: space-between;
9595
}
9696

9797
@media screen and (max-width: 650px) {
98-
.edgeform .form {
98+
.edgeform .form {
9999
grid-template-columns: auto auto;
100100
width: auto
101101
}
102-
103102
.edgeform .span-rest {
104103
grid-column: 2;
105104
}

src/component/modals/file-edit.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.setting-container {
1+
.setting-container{
22
display: grid;
33
grid-template-columns: auto auto;
44
grid-gap: 0px;
@@ -7,7 +7,7 @@
77
min-height: '400px',
88
}
99

10-
.save-bar {
10+
.save-bar{
1111
display: flex;
1212
flex-wrap: wrap;
1313
justify-content: flex-end;
@@ -20,7 +20,7 @@
2020
}
2121

2222
@media screen and (max-width: 890px) {
23-
.setting-container {
23+
.setting-container{
2424
grid-template-columns: auto;
2525
}
2626
}

src/component/modals/nodeDetails.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,9 @@
106106
grid-template-columns: auto auto;
107107
width: auto
108108
}
109-
110109
.nodeform .nodeLabel {
111110
grid-column: 2 / span 1;
112111
}
113-
114112
.nodeform .nodeLabelFile {
115113
grid-column: 2 / span 1;
116114
}

src/component/modals/optionsModal.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.main-div {
22
padding: 30px;
33
}
4-
54
.main-div-comp {
65
margin: 20px;
76
}

src/component/modals/parent-modal.css

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
transition: all 200ms ease-out;
33
}
44

5-
.ReactModalPortal,
6-
.ReactModal__Overlay {
5+
.ReactModalPortal, .ReactModal__Overlay {
76
z-index: 3
87
}
98

@@ -44,7 +43,7 @@
4443
line-height: 1.5;
4544
}
4645

47-
.modal-body {
46+
.modal-body{
4847
max-height: calc(80vh - 70px);
4948
overflow: auto;
5049
}
@@ -115,8 +114,7 @@
115114
.ReactModalPortal .Overlay.closing {
116115
opacity: 0;
117116
}
118-
119-
.ReactModal__Overlay.ReactModal__Overlay--after-open.Overlay {
117+
.ReactModal__Overlay.ReactModal__Overlay--after-open.Overlay{
120118
overflow: auto;
121119
}
122120

src/component/tabBar.css

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
display: flex;
33
overflow: auto;
44
margin-bottom: -1px;
5-
width: 100%;
6-
;
5+
width: 100%;;
76
}
87

98
.tab {
@@ -60,9 +59,7 @@
6059
text-shadow: 0px 0px 10px #000;
6160
}
6261

63-
/* ============================================
64-
DARK MODE - NODE / FLOW TAB BAR
65-
============================================ */
62+
/* DARK MODE - NODE / FLOW TAB BAR */
6663

6764
/* Tab Bar Container */
6865
[data-theme='dark'] .tab-par {

src/component/zoomSetter.css

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
border-bottom: none;
1313
border-top-left-radius: 3px;
1414
}
15-
16-
.zoom-comp>* {
15+
.zoom-comp > *{
1716
padding: 2px 5px;
1817
}
1918

@@ -32,21 +31,18 @@
3231
user-select: none;
3332
}
3433

35-
.zoom-comp .zoom-btn {
34+
.zoom-comp .zoom-btn{
3635
cursor: pointer;
3736
}
38-
39-
.zoom-comp .zoom-btn:hover {
37+
.zoom-comp .zoom-btn:hover{
4038
background: #eee;
4139
}
4240

4341
.zoom-comp .zoom-value {
4442
width: 40px;
4543
}
4644

47-
/* ============================================
48-
DARK MODE - ZOOM CONTROLS
49-
============================================ */
45+
/* DARK MODE - ZOOM CONTROLS*/
5046

5147
/* Container */
5248
[data-theme='dark'] .zoom-comp {

0 commit comments

Comments
 (0)