File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ const result = computed(() => {
6464
6565 < span> = < / span>
6666
67- < span class = " counter " : style= " { color: result > 0 ? '#5EC697' : '#f15a16' }" >
67+ < span class = " result " : style= " { color: result > 0 ? '#5EC697' : '#f15a16' }" >
6868 {{ result }}
6969 < / span>
7070
Original file line number Diff line number Diff line change 1515 stroke-width : 3 ;
1616}
1717
18+ .vue-flow__node {
19+ background-color : # f3f4f6 ;
20+ }
21+
1822.vue-flow__node-value {
1923 display : flex;
2024 align-items : center;
2125 gap : 8px ;
2226 padding : 8px 16px ;
23- background-color : # f3f4f6 ;
2427 border-radius : 8px ;
2528 box-shadow : 0 0 10px rgba (0 , 0 , 0 , 0.2 );
2629}
3942
4043.vue-flow__node-value input : focus {
4144 outline : none;
45+ box-shadow : 0 0 0 2px # ec4899 ;
46+ transition : box-shadow 0.2s ;
4247}
4348
4449.vue-flow__node-value .vue-flow__handle {
5156 align-items : center;
5257 gap : 8px ;
5358 padding : 16px 24px ;
54- background-color : # f3f4f6 ;
5559 border-radius : 8px ;
5660 box-shadow : 0 0 10px rgba (0 , 0 , 0 , 0.2 );
5761}
112116 align-items : center;
113117 gap : 8px ;
114118 padding : 16px 24px ;
115- background-color : # f3f4f6 ;
116119 border-radius : 8px ;
117120 box-shadow : 0 0 10px rgba (0 , 0 , 0 , 0.2 );
118121}
121124 box-shadow : 0 0 0 2px # 5EC697 ;
122125}
123126
124- .vue-flow__node-result .calculation {
127+ .vue-flow__node-result .result {
125128 display : flex;
126129 gap : 8px ;
127130 font-size : 24px ;
128131}
132+
133+ input ::-webkit-outer-spin-button ,
134+ input ::-webkit-inner-spin-button {
135+ -webkit-appearance : none;
136+ margin : 0 ;
137+ }
138+
139+ input [type = "number" ] {
140+ -moz-appearance : textfield;
141+ }
You can’t perform that action at this time.
0 commit comments