Skip to content

Commit 933b12f

Browse files
Merge pull request #77 from scennect/refactor/75
#75 Refactor: static 수정
2 parents bca35af + d115f6b commit 933b12f

File tree

6 files changed

+210
-116
lines changed

6 files changed

+210
-116
lines changed
0 Bytes
Binary file not shown.

src/main/resources/static/css/style.css

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ body, html {
5050
border-radius: 50%; /* 원형으로 만들기 */
5151
pointer-events: none; /* 클릭 이벤트 차단 */
5252
z-index: 1000; /* 다른 요소 위에 표시 */
53-
transition: transform 0.1s linear;
5453
}
5554
.cursor span {
5655
position: relative;
@@ -300,6 +299,7 @@ input:hover, textarea:hover {
300299
background-color: rgba(0, 0, 0, 0.3);
301300
border-radius: 0;
302301
border: none;
302+
font-size: 0.9rem;
303303
color: #00aeff;
304304
transition: 0.2s ease-in;
305305
}
@@ -471,6 +471,7 @@ input:hover, textarea:hover {
471471
.node-box.before {
472472
border: 2px solid #00aeff;
473473
min-width: 240px;
474+
overflow: visible;
474475
}
475476
.node-box:hover {
476477
border: 1px solid #00aeff;
@@ -550,6 +551,54 @@ input:hover, textarea:hover {
550551
font-style: normal;
551552
color: #00aeff;
552553
}
554+
.node-box .node-func form .form-switch {
555+
padding: 0.25rem 0.25rem 0 !important;
556+
display: flex;
557+
flex-direction: row;
558+
width: 100%;
559+
justify-content: space-between;
560+
}
561+
.node-box .node-func form .form-switch label {
562+
margin-top: 0.3rem;
563+
}
564+
.node-box .node-func form .form-switch label span {
565+
margin-top: 0.15rem;
566+
margin-left: 0.1rem;
567+
font-size: 0.85rem;
568+
}
569+
.node-box .node-func form .form-switch .form-check-input {
570+
zoom: 1.4;
571+
}
572+
.node-box .node-func form .form-switch .form-check-input:checked {
573+
background-color: #0d6efd !important;
574+
border-color: #0d6efd;
575+
}
576+
.node-box .node-func form .form-switch .tip {
577+
margin: 0 0.25rem 0 1rem;
578+
padding: 0.5rem 0.75rem;
579+
border-radius: 0.5rem;
580+
border: 1px solid rgba(255, 255, 255, 0.1);
581+
font-size: 0.75rem;
582+
color: rgba(255, 255, 255, 0.65);
583+
cursor: pointer;
584+
position: absolute;
585+
left: 228px;
586+
margin-top: 0.5rem;
587+
background-color: rgba(0, 0, 0, 0.5);
588+
width: 200px;
589+
-webkit-backdrop-filter: blur(16px);
590+
backdrop-filter: blur(16px);
591+
transition: 0.25s ease-in;
592+
opacity: 0;
593+
}
594+
.node-box .node-func form .form-switch:hover {
595+
transition: 0.25s ease-out;
596+
opacity: 1;
597+
}
598+
.node-box .node-func form .form-switch:hover .tip {
599+
transition: 0.25s ease-out;
600+
opacity: 1;
601+
}
553602
.node-box .node-func .action {
554603
display: flex;
555604
flex-direction: column;
@@ -714,4 +763,9 @@ input:hover, textarea:hover {
714763
#ImgExpandModal .modal-content .modal-footer .btnGroup .btn:first-of-type {
715764
margin: 0;
716765
margin-bottom: 0.75rem;
766+
}
767+
768+
.custom-tooltip {
769+
--bs-tooltip-bg: var(--bd-violet-bg);
770+
--bs-tooltip-color: var(--bs-white);
717771
}/*# sourceMappingURL=style.css.map */

src/main/resources/static/css/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/resources/static/css/style.scss

Lines changed: 74 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ input, textarea{
448448
border-radius: 0;
449449
border: none;
450450
// border-left: 1px solid rgba(255, 255, 255, 0.15);
451+
font-size: 0.9rem;
451452
color: $pointColor;
452453

453454
transition: 0.2s ease-in;
@@ -645,6 +646,7 @@ input, textarea{
645646
&.before{
646647
border: 2px solid $pointColor;
647648
min-width: 240px;
649+
overflow: visible;
648650
}
649651

650652

@@ -719,6 +721,9 @@ input, textarea{
719721
}
720722
}
721723
.node-func{
724+
725+
726+
722727
&.hide{
723728
display: none;
724729
}
@@ -728,7 +733,7 @@ input, textarea{
728733
margin-bottom: 0.5rem;
729734
width: 100%;
730735

731-
736+
732737

733738
p{
734739
font-size: 0.5rem;
@@ -760,7 +765,67 @@ input, textarea{
760765
}
761766
}
762767

768+
.form-switch{
769+
padding: 0.25rem 0.25rem 0 !important;
770+
771+
display: flex;
772+
flex-direction: row;
773+
width: 100%;
774+
justify-content: space-between;
775+
776+
label{
777+
margin-top: 0.3rem;
778+
span{
779+
margin-top: 0.15rem;
780+
margin-left: 0.1rem;
781+
font-size: 0.85rem;
782+
// color: $pointColor;
783+
}
784+
}
785+
786+
.form-check-input{
787+
zoom: 1.4;
788+
}
789+
.form-check-input:checked {
790+
background-color: #0d6efd !important;
791+
border-color: #0d6efd;
792+
}
793+
794+
.tip{
795+
margin: 0 0.25rem 0 1rem;
796+
padding: 0.5rem 0.75rem;
797+
798+
border-radius: 0.5rem;
799+
border: 1px solid rgba(255, 255, 255, 0.1);
800+
801+
font-size: 0.75rem;
802+
color: rgba(255,255,255,0.65);
803+
804+
cursor: pointer;
805+
806+
807+
808+
position: absolute;
809+
left: 228px;
810+
margin-top: 0.5rem;
811+
background-color: rgba(0, 0, 0, 0.5);
812+
width: 200px;
813+
backdrop-filter: blur(16px);
763814

815+
816+
transition: 0.25s ease-in;
817+
opacity: 0;
818+
819+
}
820+
&:hover{
821+
.tip{
822+
transition: 0.25s ease-out;
823+
opacity: 1;
824+
}
825+
transition: 0.25s ease-out;
826+
opacity: 1;
827+
}
828+
}
764829

765830
}
766831
.action{
@@ -985,4 +1050,11 @@ input, textarea{
9851050
}
9861051
}
9871052

988-
}
1053+
}
1054+
1055+
1056+
1057+
.custom-tooltip {
1058+
--bs-tooltip-bg: var(--bd-violet-bg);
1059+
--bs-tooltip-color: var(--bs-white);
1060+
}

0 commit comments

Comments
 (0)