@mica-js/editor 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fused.js +22 -13
- package/dist/fused.js.map +1 -1
- package/dist/style.css +3 -23
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1061,33 +1061,14 @@
|
|
|
1061
1061
|
z-index: 4;
|
|
1062
1062
|
}
|
|
1063
1063
|
.mica-wb-mode {
|
|
1064
|
-
|
|
1065
|
-
display: grid;
|
|
1066
|
-
grid-template-columns: repeat(2, 1fr);
|
|
1064
|
+
display: flex;
|
|
1067
1065
|
flex-shrink: 0;
|
|
1068
1066
|
padding: 2px;
|
|
1069
1067
|
gap: 2px;
|
|
1070
1068
|
border-radius: 20px;
|
|
1071
1069
|
background: var(--mica-panel);
|
|
1072
1070
|
}
|
|
1073
|
-
.mica-wb-mode::before {
|
|
1074
|
-
content: '';
|
|
1075
|
-
position: absolute;
|
|
1076
|
-
top: 2px;
|
|
1077
|
-
bottom: 2px;
|
|
1078
|
-
left: 2px;
|
|
1079
|
-
width: calc((100% - 6px) / 2);
|
|
1080
|
-
border-radius: inherit;
|
|
1081
|
-
background: var(--mica-accent);
|
|
1082
|
-
pointer-events: none;
|
|
1083
|
-
transform: translateX(0);
|
|
1084
|
-
transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
|
|
1085
|
-
}
|
|
1086
|
-
.mica-wb-mode[data-mode='run']::before {
|
|
1087
|
-
transform: translateX(calc(100% + 2px));
|
|
1088
|
-
}
|
|
1089
1071
|
.mica-wb-mode > button {
|
|
1090
|
-
position: relative;
|
|
1091
1072
|
display: flex;
|
|
1092
1073
|
gap: 5px;
|
|
1093
1074
|
align-items: center;
|
|
@@ -1097,8 +1078,8 @@
|
|
|
1097
1078
|
white-space: nowrap;
|
|
1098
1079
|
transition: color 180ms ease;
|
|
1099
1080
|
}
|
|
1100
|
-
.mica-wb-mode > button.is-
|
|
1101
|
-
background:
|
|
1081
|
+
.mica-wb-mode > button.is-primary {
|
|
1082
|
+
background: var(--mica-accent);
|
|
1102
1083
|
color: var(--mica-accent-foreground);
|
|
1103
1084
|
}
|
|
1104
1085
|
.mica-wb-toolbar-divider {
|
|
@@ -1459,7 +1440,6 @@
|
|
|
1459
1440
|
margin-right: 0;
|
|
1460
1441
|
}
|
|
1461
1442
|
@media (prefers-reduced-motion: reduce) {
|
|
1462
|
-
.mica-wb-mode::before,
|
|
1463
1443
|
.mica-wb-mode > button {
|
|
1464
1444
|
transition: none;
|
|
1465
1445
|
}
|