|
| 1 | +.math-flow { |
| 2 | + background-color: #edf2f7; |
| 3 | + height: 100%; |
| 4 | + width: 100%; |
| 5 | +} |
| 6 | + |
| 7 | +.vue-flow__handle { |
| 8 | + height: 24px; |
| 9 | + width: 10px; |
| 10 | + background: #aaa; |
| 11 | + border-radius: 4px |
| 12 | +} |
| 13 | + |
| 14 | +.vue-flow__edges path { |
| 15 | + stroke-width: 3; |
| 16 | +} |
| 17 | + |
| 18 | +.vue-flow__node-value { |
| 19 | + display: flex; |
| 20 | + align-items: center; |
| 21 | + gap: 8px; |
| 22 | + padding: 8px 16px; |
| 23 | + background-color: #f3f4f6; |
| 24 | + border-radius: 8px; |
| 25 | + box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
| 26 | +} |
| 27 | + |
| 28 | +.vue-flow__node-value.selected { |
| 29 | + box-shadow: 0 0 0 2px #ec4899; |
| 30 | +} |
| 31 | + |
| 32 | +.vue-flow__node-value input { |
| 33 | + flex: 1; |
| 34 | + padding: 8px; |
| 35 | + border: none; |
| 36 | + border-radius: 8px; |
| 37 | + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); |
| 38 | +} |
| 39 | + |
| 40 | +.vue-flow__node-value input:focus { |
| 41 | + outline: none; |
| 42 | +} |
| 43 | + |
| 44 | +.vue-flow__node-value .vue-flow__handle { |
| 45 | + background-color: #ec4899; |
| 46 | +} |
| 47 | + |
| 48 | +.vue-flow__node-operator { |
| 49 | + display: flex; |
| 50 | + flex-direction: column; |
| 51 | + align-items: center; |
| 52 | + gap: 8px; |
| 53 | + padding: 16px 24px; |
| 54 | + background-color: #f3f4f6; |
| 55 | + border-radius: 8px; |
| 56 | + box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
| 57 | +} |
| 58 | + |
| 59 | +.vue-flow__node-operator.selected { |
| 60 | + box-shadow: 0 0 0 2px #0EA5E9; |
| 61 | +} |
| 62 | + |
| 63 | +.vue-flow__node-operator .buttons { |
| 64 | + display: flex; |
| 65 | + gap: 8px; |
| 66 | +} |
| 67 | + |
| 68 | +.vue-flow__node-operator button { |
| 69 | + border: none; |
| 70 | + cursor: pointer; |
| 71 | + background-color: #4a5568; |
| 72 | + border-radius: 8px; |
| 73 | + color: white; |
| 74 | + box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); |
| 75 | + width: 40px; |
| 76 | + height: 40px; |
| 77 | + font-size: 16px; |
| 78 | + display: flex; |
| 79 | + align-items: center; |
| 80 | + justify-content: center; |
| 81 | +} |
| 82 | + |
| 83 | +.vue-flow__node-operator button:hover { |
| 84 | + background-color: #0EA5E9; |
| 85 | + transition: background-color 0.2s; |
| 86 | +} |
| 87 | + |
| 88 | +.vue-flow__node-operator button.selected { |
| 89 | + background-color: #0EA5E9; |
| 90 | +} |
| 91 | + |
| 92 | +.vue-flow__node-operator .vue-flow__handle[data-handleid="target-a"] { |
| 93 | + top: 25%; |
| 94 | +} |
| 95 | + |
| 96 | +.vue-flow__node-operator .vue-flow__handle[data-handleid="target-b"] { |
| 97 | + top: 75%; |
| 98 | +} |
| 99 | + |
| 100 | +.vue-flow__node-operator .vue-flow__handle { |
| 101 | + background-color: #0EA5E9; |
| 102 | +} |
| 103 | + |
| 104 | +.vue-flow__node-result { |
| 105 | + display: flex; |
| 106 | + flex-direction: column; |
| 107 | + align-items: center; |
| 108 | + gap: 8px; |
| 109 | + padding: 16px 24px; |
| 110 | + background-color: #f3f4f6; |
| 111 | + border-radius: 8px; |
| 112 | + box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
| 113 | +} |
| 114 | + |
| 115 | +.vue-flow__node-result.selected { |
| 116 | + box-shadow: 0 0 0 2px #5EC697; |
| 117 | +} |
| 118 | + |
| 119 | +.vue-flow__node-result .calculation { |
| 120 | + display: flex; |
| 121 | + gap: 8px; |
| 122 | + font-size: 24px; |
| 123 | +} |
0 commit comments