Skip to content

Commit a306f3b

Browse files
committed
Add Settings Panel
1 parent bab7805 commit a306f3b

22 files changed

+694
-387
lines changed

assets/css/editor.css

Lines changed: 141 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ input, button, textarea, :focus {
179179
/*padding: 10px;*/
180180
min-height: 200px;
181181
min-width: 200px;
182-
white-space: nowrap;
182+
/*white-space: nowrap;*/
183183
/*background: #21252b;*/
184184
/*color: #9da5b4;*/
185185
}
@@ -295,14 +295,151 @@ input, button, textarea, :focus {
295295
}
296296

297297
.btn{
298-
border:2px solid #64895e;
298+
border:2px solid #ff3939;
299299
outline: none;
300300
background: none;
301-
padding: 15px;
302-
color:#9edd93;
301+
padding: 10px;
302+
color:#ff6868;
303303
}
304304
.btn:hover{
305305
cursor: pointer;
306306
/*background:#79df67;*/
307307
/*color:#a6ed9a;*/
308+
}
309+
310+
311+
.settings-panel{
312+
padding-top:20px;
313+
position: relative;
314+
/*vertical-align: middle;*/
315+
display: none;
316+
width: 100%;
317+
height: 100%;
318+
/*margin-left: 200px;*/
319+
}
320+
321+
.left-settings-panel{
322+
/*margin-top: 10px;*/
323+
float: left;
324+
width: 200px;
325+
/*margin-left: -200px;*/
326+
/*background-color: #CCCCCC;*/
327+
}
328+
.right-settings-panel{
329+
word-wrap: break-word;
330+
overflow: overlay;
331+
padding-left:20px;
332+
/*margin-top: 10px;*/
333+
height: 100%;
334+
float: right;
335+
width: calc(100% - 200px);
336+
/*background-color: #F0F0F0;*/
337+
}
338+
339+
#menu > li{
340+
padding:10px;
341+
}
342+
343+
#menu > li:hover{
344+
cursor: pointer;
345+
}
346+
347+
.theme-container{
348+
display: inline-block;
349+
padding:10px;
350+
}
351+
352+
.theme-img{
353+
width: 170px;
354+
height: 100px;
355+
}
356+
357+
.label-cbx {
358+
user-select: none;
359+
cursor: pointer;
360+
margin-bottom: 0;
361+
}
362+
.label-cbx input:checked + .checkbox {
363+
border-color: #ff3939;
364+
}
365+
.label-cbx input:checked + .checkbox svg path {
366+
fill: #ff3939;
367+
}
368+
.label-cbx input:checked + .checkbox svg polyline {
369+
stroke-dashoffset: 0;
370+
}
371+
.label-cbx:hover .checkbox svg path {
372+
stroke-dashoffset: 0;
373+
}
374+
.label-cbx .checkbox {
375+
position: relative;
376+
top: 2px;
377+
float: left;
378+
margin-right: 8px;
379+
width: 17px;
380+
height: 17px;
381+
border: 2px solid #9da5b4;
382+
border-radius: 3px;
383+
}
384+
.label-cbx .checkbox svg {
385+
position: absolute;
386+
top: -2px;
387+
left: -2px;
388+
}
389+
.label-cbx .checkbox svg path {
390+
fill: none;
391+
stroke: #ff3939;
392+
stroke-width: 2;
393+
stroke-linecap: round;
394+
stroke-linejoin: round;
395+
stroke-dasharray: 71px;
396+
stroke-dashoffset: 71px;
397+
transition: all 0.6s ease;
398+
}
399+
.label-cbx .checkbox svg polyline {
400+
fill: none;
401+
stroke: #FFF;
402+
stroke-width: 2;
403+
stroke-linecap: round;
404+
stroke-linejoin: round;
405+
stroke-dasharray: 18px;
406+
stroke-dashoffset: 18px;
407+
transition: all 0.3s ease;
408+
}
409+
.label-cbx > span {
410+
pointer-events: none;
411+
vertical-align: middle;
412+
}
413+
414+
.invisible {
415+
position: absolute;
416+
z-index: -1;
417+
width: 0;
418+
height: 0;
419+
opacity: 0;
420+
}
421+
422+
.checkbox-description{
423+
margin-top: 0;
424+
padding: 2px;
425+
font-size: 12px;
426+
margin-left: 25px;
427+
}
428+
.checkbox-description-input{
429+
margin-top: 0;
430+
padding: 2px;
431+
font-size: 12px;
432+
/*margin-left: 25px;*/
433+
}
434+
435+
.input-field{
436+
border:2px solid #ff3939;
437+
color:inherit;
438+
background-color: inherit;
439+
width: calc(100% - 40%);
440+
padding:15px;
441+
height: 20px;
442+
}
443+
::-webkit-outer-spin-button, ::-webkit-inner-spin-button{
444+
-webkit-appearance: none;
308445
}

0 commit comments

Comments
 (0)