Skip to content

Commit 2fc75cf

Browse files
committed
clean(*): format
1 parent 26aca7d commit 2fc75cf

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

APIServer/public/less/style.less

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import (less) "../../node_modules/purecss/build/pure-nr-min.css";
22
@import (less) "../../node_modules/purecss/build/grids-responsive-min.css";
33
@tint: #10aded;
4+
45
html,
56
button,
67
input,
@@ -21,10 +22,12 @@ textarea {
2122
nav {
2223
>section {
2324
padding: 0.3em;
25+
2426
&:empty {
2527
display: none;
2628
}
2729
}
30+
2831
overflow: auto;
2932
box-sizing: border-box;
3033
background: lighten(@tint, 50%);
@@ -52,26 +55,31 @@ main {
5255
box-sizing: border-box;
5356
height: 100%;
5457
overflow: hidden;
58+
5559
>form {
5660
&.closed {
5761
display: none;
5862
}
63+
5964
&:not(.closed)~#visBtn {
6065
display: none;
6166
}
67+
6268
>*:not(:first-child) {
6369
margin-top: 0.5em;
6470
}
71+
6572
box-shadow: 2px 0 10px 1px rgba(0, 0, 0, 0.2);
6673
margin: -1em -1em 1em -1em;
6774
padding: 0.5em 1em;
6875
border-bottom: 1px solid #EEE;
6976
z-index: 1;
7077
}
78+
7179
>svg {
7280
margin: -1em;
73-
width: calc( 100% + 2rem);
74-
height: calc( 100% + 2rem);
81+
width: calc(100% + 2rem);
82+
height: calc(100% + 2rem);
7583
box-sizing: content-box;
7684
}
7785
}
@@ -89,6 +97,7 @@ header {
8997
line-height: 2em;
9098
font-size: 2em;
9199
color: white;
100+
92101
img {
93102
height: 1.5em;
94103
margin-top: .25em;
@@ -135,22 +144,26 @@ button[onclick="toggle('createLanguage')"]:hover use {
135144
&.pure-button-primary use {
136145
fill: white;
137146
}
147+
138148
&.large-icon-button {
139149
text-align: center;
140150
font-size: 0.7em;
151+
141152
svg {
142153
display: block;
143154
margin: 0 auto;
144155
width: 2em;
145156
height: 2em;
146157
}
147158
}
159+
148160
svg {
149161
display: inline-block;
150162
margin-bottom: -0.2ex;
151163
width: 1em;
152164
height: 1em;
153165
}
166+
154167
overflow: hidden;
155168
text-overflow: ellipsis;
156169
}
@@ -160,22 +173,27 @@ button[onclick="toggle('createLanguage')"]:hover use {
160173
fill: url("../svg.svg#bubbleGradient") #EEE;
161174
stroke: transparent;
162175
}
176+
163177
>use {
164178
pointer-events: none;
165179
}
180+
166181
>path {
167182
fill: #EEE;
168183
cursor: pointer;
169184
mix-blend-mode: darken;
170185
stroke: #AAA;
171186
stroke-width: 0.5;
187+
172188
&:hover {
173189
fill: #ff2d2d;
174190
}
175191
}
192+
176193
>path+use {
177194
fill: black;
178195
}
196+
179197
>path:hover+use {
180198
fill: white;
181199
}

0 commit comments

Comments
 (0)