@likec4/styles 1.34.2 → 1.35.0
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/css/conditions.mjs +1 -1
- package/dist/jsx/is-valid-prop.mjs +1 -1
- package/dist/recipes/action-btn.d.ts +1 -1
- package/dist/recipes/element-node-data.d.ts +33 -0
- package/dist/recipes/element-node-data.mjs +81 -0
- package/dist/recipes/element-node-icon.d.ts +30 -0
- package/dist/recipes/element-node-icon.mjs +24 -0
- package/dist/recipes/index.d.ts +5 -1
- package/dist/recipes/index.mjs +5 -1
- package/dist/recipes/markdown-block.d.ts +3 -1
- package/dist/recipes/navigation-link.d.ts +33 -0
- package/dist/recipes/navigation-link.mjs +57 -0
- package/dist/recipes/navigation-panel-action-icon.d.ts +33 -0
- package/dist/recipes/navigation-panel-action-icon.mjs +31 -0
- package/dist/styles.css +306 -71
- package/dist/tokens/index.mjs +140 -20
- package/dist/tokens/tokens.d.ts +2 -2
- package/dist/types/conditions.d.ts +2 -0
- package/dist/types/prop-type.d.ts +2 -2
- package/dist/types/style-props.d.ts +2 -2
- package/package.json +7 -7
- package/preset.mjs +617 -25
package/dist/styles.css
CHANGED
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.likec4-shadow-root {
|
|
49
|
-
--mantine-font-family: var(--likec4-app-font-default);
|
|
50
|
-
--mantine-font-family-headings: var(--likec4-app-font-default);
|
|
49
|
+
--mantine-font-family: var(--likec4-app-font, var(--likec4-app-font-default));
|
|
50
|
+
--mantine-font-family-headings: var(--likec4-app-font, var(--likec4-app-font-default));
|
|
51
51
|
display: contents;
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -57,6 +57,8 @@
|
|
|
57
57
|
border: 0px solid transparent;
|
|
58
58
|
overflow: hidden;
|
|
59
59
|
position: relative;
|
|
60
|
+
container-name: likec4-root;
|
|
61
|
+
container-type: size;
|
|
60
62
|
width: 100%;
|
|
61
63
|
height: 100%;
|
|
62
64
|
}
|
|
@@ -157,6 +159,13 @@
|
|
|
157
159
|
inherits: false;
|
|
158
160
|
|
|
159
161
|
}
|
|
162
|
+
|
|
163
|
+
@property --likec4-icon-size {
|
|
164
|
+
syntax: '<length-percentage>';
|
|
165
|
+
|
|
166
|
+
inherits: false;
|
|
167
|
+
|
|
168
|
+
}
|
|
160
169
|
}
|
|
161
170
|
|
|
162
171
|
@layer tokens{
|
|
@@ -2549,8 +2558,6 @@
|
|
|
2549
2558
|
--colors-yellow-p3-a-10: var(--colors-yellow-light-p3-a-10);
|
|
2550
2559
|
--colors-yellow-p3-a-11: var(--colors-yellow-light-p3-a-11);
|
|
2551
2560
|
--colors-yellow-p3-a-12: var(--colors-yellow-light-p3-a-12);
|
|
2552
|
-
--colors-likec4-background: var(--colors-mantine-colors-body);
|
|
2553
|
-
--colors-likec4-background-pattern: var(--colors-mantine-colors-dark\[5\]);
|
|
2554
2561
|
--colors-likec4-amber-element-fill: #A35829;
|
|
2555
2562
|
--colors-likec4-amber-element-stroke: #7E451D;
|
|
2556
2563
|
--colors-likec4-amber-element-hi-contrast: #FFE0C2;
|
|
@@ -2738,6 +2745,8 @@
|
|
|
2738
2745
|
--colors-likec4-compound5-secondary-lo-contrast: var(--colors-likec4-secondary-element-lo-contrast);
|
|
2739
2746
|
--colors-likec4-compound5-sky-hi-contrast: var(--colors-likec4-sky-element-hi-contrast);
|
|
2740
2747
|
--colors-likec4-compound5-sky-lo-contrast: var(--colors-likec4-sky-element-lo-contrast);
|
|
2748
|
+
--colors-likec4-background: var(--colors-mantine-colors-body);
|
|
2749
|
+
--colors-likec4-background-pattern: var(--colors-mantine-colors-dark\[5\]);
|
|
2741
2750
|
--colors-likec4-tag-bg: var(--colors-tomato-9);
|
|
2742
2751
|
--colors-likec4-tag-bg-hover: var(--colors-tomato-10);
|
|
2743
2752
|
--colors-likec4-tag-border: var(--colors-tomato-8);
|
|
@@ -2751,6 +2760,16 @@
|
|
|
2751
2760
|
--colors-likec4-relation-stroke-selected: var(--colors-likec4-gray-relation-stroke-selected);
|
|
2752
2761
|
--colors-likec4-relation-label: var(--colors-likec4-gray-relation-label);
|
|
2753
2762
|
--colors-likec4-relation-label-bg: var(--colors-likec4-gray-relation-label-bg);
|
|
2763
|
+
--colors-likec4-panel-bg: color-mix(in srgb, var(--colors-mantine-colors-body) 90%, transparent);
|
|
2764
|
+
--colors-likec4-panel-bg-when-panning: var(--colors-mantine-colors-body);
|
|
2765
|
+
--colors-likec4-panel-border: transparent;
|
|
2766
|
+
--colors-likec4-panel-action-icon-text: color-mix(in srgb, var(--colors-mantine-colors-text) 70%, transparent);
|
|
2767
|
+
--colors-likec4-panel-action-icon-text-hover: var(--colors-mantine-colors-text);
|
|
2768
|
+
--colors-likec4-panel-action-icon-text-disabled: var(--colors-mantine-colors-dimmed);
|
|
2769
|
+
--colors-likec4-panel-action-icon-bg: var(--colors-mantine-colors-gray\[1\]);
|
|
2770
|
+
--colors-likec4-panel-action-icon-bg-hover: var(--colors-mantine-colors-gray\[2\]);
|
|
2771
|
+
--colors-likec4-dropdown-bg: #FFF;
|
|
2772
|
+
--colors-likec4-dropdown-border: var(--colors-likec4-panel-border);
|
|
2754
2773
|
}
|
|
2755
2774
|
|
|
2756
2775
|
[data-mantine-color-scheme="dark"] {
|
|
@@ -3595,11 +3614,15 @@
|
|
|
3595
3614
|
--colors-likec4-compound5-secondary-stroke: #123345;
|
|
3596
3615
|
--colors-likec4-compound5-sky-fill: #163f55;
|
|
3597
3616
|
--colors-likec4-compound5-sky-stroke: #123345;
|
|
3598
|
-
--colors-likec4-mix-color: white
|
|
3617
|
+
--colors-likec4-mix-color: white;
|
|
3618
|
+
--colors-likec4-panel-bg: color-mix(in srgb, var(--colors-mantine-colors-dark\[6\]) 80%, transparent);
|
|
3619
|
+
--colors-likec4-panel-bg-when-panning: var(--colors-mantine-colors-dark\[6\]);
|
|
3620
|
+
--colors-likec4-panel-action-icon-bg: color-mix(in srgb, var(--colors-mantine-colors-dark\[7\]) 70%, transparent);
|
|
3621
|
+
--colors-likec4-panel-action-icon-bg-hover: var(--colors-mantine-colors-dark\[8\]);
|
|
3622
|
+
--colors-likec4-dropdown-bg: var(--colors-mantine-colors-dark\[6\])
|
|
3599
3623
|
}
|
|
3600
3624
|
|
|
3601
3625
|
[data-mantine-color-scheme="light"] {
|
|
3602
|
-
--colors-likec4-background-pattern: var(--colors-mantine-colors-gray\[4\]);
|
|
3603
3626
|
--colors-likec4-amber-relation-stroke-selected: rgb(153, 70.55, 7.65);
|
|
3604
3627
|
--colors-likec4-blue-relation-stroke-selected: rgb(50.15, 110.5, 209.1);
|
|
3605
3628
|
--colors-likec4-gray-relation-stroke-selected: rgb(93.5, 93.5, 93.5);
|
|
@@ -3721,7 +3744,9 @@
|
|
|
3721
3744
|
--colors-likec4-compound5-secondary-stroke: #133f58;
|
|
3722
3745
|
--colors-likec4-compound5-sky-fill: #164f6c;
|
|
3723
3746
|
--colors-likec4-compound5-sky-stroke: #133f58;
|
|
3724
|
-
--colors-likec4-
|
|
3747
|
+
--colors-likec4-background-pattern: var(--colors-mantine-colors-gray\[4\]);
|
|
3748
|
+
--colors-likec4-mix-color: black;
|
|
3749
|
+
--colors-likec4-panel-border: color-mix(in srgb, var(--colors-mantine-colors-default-border) 30%, transparent)
|
|
3725
3750
|
}
|
|
3726
3751
|
|
|
3727
3752
|
@keyframes indicatorStrokeOpacity {
|
|
@@ -3787,6 +3812,37 @@
|
|
|
3787
3812
|
color: var(--actionbtn-color-hovered-btn);
|
|
3788
3813
|
}
|
|
3789
3814
|
|
|
3815
|
+
.likec4-element-node-icon {
|
|
3816
|
+
flex: 0 0 var(--likec4-icon-size);
|
|
3817
|
+
display: flex;
|
|
3818
|
+
align-self: flex-start;
|
|
3819
|
+
align-items: center;
|
|
3820
|
+
justify-content: center;
|
|
3821
|
+
mix-blend-mode: hard-light;
|
|
3822
|
+
height: var(--likec4-icon-size);
|
|
3823
|
+
width: var(--likec4-icon-size);
|
|
3824
|
+
}
|
|
3825
|
+
|
|
3826
|
+
.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning]) .likec4-element-node-icon {
|
|
3827
|
+
mix-blend-mode: normal;
|
|
3828
|
+
}
|
|
3829
|
+
|
|
3830
|
+
.likec4-element-node-icon svg,.likec4-element-node-icon img {
|
|
3831
|
+
pointer-events: none;
|
|
3832
|
+
filter: drop-shadow(0 0 3px rgb(0 0 0 / 12%));
|
|
3833
|
+
width: 100%;
|
|
3834
|
+
height: auto;
|
|
3835
|
+
max-height: 100%;
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning]) .likec4-element-node-icon svg,.likec4-root:is([data-likec4-reduced-graphics][data-likec4-diagram-panning]) .likec4-element-node-icon img {
|
|
3839
|
+
filter: none;
|
|
3840
|
+
}
|
|
3841
|
+
|
|
3842
|
+
.likec4-element-node-icon img {
|
|
3843
|
+
object-fit: contain;
|
|
3844
|
+
}
|
|
3845
|
+
|
|
3790
3846
|
.likec4-tag {
|
|
3791
3847
|
border: var(--borders-none);
|
|
3792
3848
|
transition: all var(--durations-fast) var(--easings-in-out);
|
|
@@ -3979,7 +4035,7 @@
|
|
|
3979
4035
|
|
|
3980
4036
|
.likec4-markdown-block :where(ul, ol):not([data-type="taskList"]) {
|
|
3981
4037
|
padding-inline-start: var(--typography-spacing);
|
|
3982
|
-
list-style-position:
|
|
4038
|
+
list-style-position: inside;
|
|
3983
4039
|
margin-bottom: var(--typography-spacing);
|
|
3984
4040
|
}
|
|
3985
4041
|
|
|
@@ -4048,78 +4104,55 @@
|
|
|
4048
4104
|
max-width: 100%;
|
|
4049
4105
|
margin-bottom: var(--typography-spacing);
|
|
4050
4106
|
}
|
|
4051
|
-
}
|
|
4052
|
-
|
|
4053
|
-
.action-btn--size_md {
|
|
4054
|
-
--ai-size: var(--ai-size-md);
|
|
4055
|
-
}
|
|
4056
|
-
|
|
4057
|
-
.action-btn--radius_md {
|
|
4058
|
-
--ai-radius: var(--mantine-radius-md);
|
|
4059
|
-
}
|
|
4060
4107
|
|
|
4061
|
-
|
|
4062
|
-
|
|
4108
|
+
.likec4-navigation-panel-icon {
|
|
4109
|
+
color: var(--colors-likec4-panel-action-icon-text);
|
|
4063
4110
|
}
|
|
4064
4111
|
|
|
4065
|
-
|
|
4066
|
-
|
|
4112
|
+
.likec4-navigation-panel-icon:is(:disabled, [disabled], [data-disabled], [aria-disabled=true]) {
|
|
4113
|
+
color: var(--colors-likec4-panel-action-icon-text-disabled);
|
|
4114
|
+
opacity: 0.5;
|
|
4067
4115
|
}
|
|
4068
4116
|
|
|
4069
|
-
|
|
4070
|
-
|
|
4117
|
+
.likec4-navigation-panel-icon:not(:is(:disabled, [disabled], [data-disabled])):is(:hover, [data-hover]) {
|
|
4118
|
+
color: var(--colors-likec4-panel-action-icon-text-hover);
|
|
4071
4119
|
}
|
|
4072
4120
|
|
|
4073
|
-
|
|
4074
|
-
|
|
4121
|
+
@media screen and (min-width: 36rem) {
|
|
4122
|
+
.likec4-element-node-icon svg,.likec4-element-node-icon img {
|
|
4123
|
+
filter: drop-shadow(0 1px 8px rgb(0 0 0 / 8%));
|
|
4075
4124
|
}
|
|
4076
|
-
|
|
4077
|
-
.hover\:action-btn--size_md:is(:hover, [data-hover]) {
|
|
4078
|
-
--ai-size: var(--ai-size-md);
|
|
4079
4125
|
}
|
|
4080
4126
|
|
|
4081
|
-
|
|
4082
|
-
|
|
4127
|
+
@media screen and (min-width: 48rem) {
|
|
4128
|
+
.likec4-element-node-icon svg,.likec4-element-node-icon img {
|
|
4129
|
+
filter: drop-shadow(1px 1px 16px rgb(0 0 0 / 3%));
|
|
4083
4130
|
}
|
|
4084
|
-
|
|
4085
|
-
.hover\:action-btn--radius_md:is(:hover, [data-hover]) {
|
|
4086
|
-
--ai-radius: var(--mantine-radius-md);
|
|
4087
4131
|
}
|
|
4088
|
-
|
|
4089
|
-
.action-btn--variant_transparent {
|
|
4090
|
-
--actionbtn-bg-hovered: var(--actionbtn-bg-idle);
|
|
4091
4132
|
}
|
|
4092
4133
|
|
|
4093
|
-
|
|
4094
|
-
--
|
|
4134
|
+
.action-btn--size_md {
|
|
4135
|
+
--ai-size: var(--ai-size-md);
|
|
4095
4136
|
}
|
|
4096
4137
|
|
|
4097
|
-
.
|
|
4098
|
-
--
|
|
4138
|
+
.action-btn--radius_md {
|
|
4139
|
+
--ai-radius: var(--mantine-radius-md);
|
|
4099
4140
|
}
|
|
4100
4141
|
|
|
4101
|
-
|
|
4142
|
+
.action-btn--variant_filled {
|
|
4102
4143
|
box-shadow: 1px 1px 3px 0px transparent;
|
|
4103
4144
|
}
|
|
4104
4145
|
|
|
4105
|
-
:where([data-likec4-hovered="true"])
|
|
4146
|
+
:where([data-likec4-hovered="true"]) .action-btn--variant_filled {
|
|
4106
4147
|
box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2);
|
|
4107
4148
|
}
|
|
4108
4149
|
|
|
4109
|
-
.likec4-root:is([data-likec4-reduced-graphics])
|
|
4150
|
+
.likec4-root:is([data-likec4-reduced-graphics]) .action-btn--variant_filled {
|
|
4110
4151
|
box-shadow: none;
|
|
4111
4152
|
}
|
|
4112
4153
|
|
|
4113
|
-
.
|
|
4114
|
-
|
|
4115
|
-
}
|
|
4116
|
-
|
|
4117
|
-
:where([data-likec4-hovered="true"]) .hover\:action-btn--variant_filled:is(:hover, [data-hover]) {
|
|
4118
|
-
box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2);
|
|
4119
|
-
}
|
|
4120
|
-
|
|
4121
|
-
.likec4-root:is([data-likec4-reduced-graphics]) .hover\:action-btn--variant_filled:is(:hover, [data-hover]) {
|
|
4122
|
-
box-shadow: none;
|
|
4154
|
+
.action-btn--variant_transparent {
|
|
4155
|
+
--actionbtn-bg-hovered: var(--actionbtn-bg-idle);
|
|
4123
4156
|
}
|
|
4124
4157
|
|
|
4125
4158
|
.likec4-tag--autoTextColor_false > span {
|
|
@@ -4176,37 +4209,239 @@
|
|
|
4176
4209
|
color: color-mix(in srgb , var(--colors-likec4-palette-hi-contrast) 50%, var(--colors-likec4-palette-lo-contrast));
|
|
4177
4210
|
}
|
|
4178
4211
|
|
|
4179
|
-
.
|
|
4180
|
-
|
|
4212
|
+
.likec4-navigation-panel-icon--variant_default {
|
|
4213
|
+
background-color: var(--colors-transparent);
|
|
4181
4214
|
}
|
|
4182
4215
|
|
|
4183
|
-
.
|
|
4184
|
-
|
|
4185
|
-
--mix-backgroundColor: color-mix(in srgb, var(--colors-likec4-palette-stroke) 65%, transparent);
|
|
4186
|
-
background-color: var(--mix-backgroundColor, var(--colors-likec4-palette-stroke));
|
|
4216
|
+
.likec4-navigation-panel-icon--variant_default:not(:is(:disabled, [disabled], [data-disabled])):is(:hover, [data-hover]) {
|
|
4217
|
+
background-color: var(--colors-likec4-panel-action-icon-bg-hover);
|
|
4187
4218
|
}
|
|
4188
4219
|
|
|
4189
|
-
.
|
|
4190
|
-
|
|
4191
|
-
border-color: var(--mix-borderColor, var(--colors-likec4-palette-stroke));
|
|
4192
|
-
color: var(--colors-likec4-palette-hi-contrast);
|
|
4193
|
-
--mix-backgroundColor: color-mix(in srgb, var(--colors-likec4-palette-stroke) 70%, transparent);
|
|
4194
|
-
background-color: var(--mix-backgroundColor, var(--colors-likec4-palette-stroke));
|
|
4220
|
+
.likec4-navigation-panel-icon--variant_filled {
|
|
4221
|
+
background-color: var(--colors-likec4-panel-action-icon-bg);
|
|
4195
4222
|
}
|
|
4196
4223
|
|
|
4197
|
-
.
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
mix-blend-mode: difference;
|
|
4224
|
+
.likec4-navigation-panel-icon--variant_filled:not(:is(:disabled, [disabled], [data-disabled])):is(:hover, [data-hover]) {
|
|
4225
|
+
background-color: var(--colors-likec4-panel-action-icon-bg-hover);
|
|
4226
|
+
}
|
|
4201
4227
|
}
|
|
4202
4228
|
|
|
4203
|
-
|
|
4204
|
-
|
|
4229
|
+
@layer recipes.slots{
|
|
4230
|
+
@layer _base{
|
|
4231
|
+
|
|
4232
|
+
.likec4-el-node-data__root {
|
|
4233
|
+
margin: 0 auto;
|
|
4234
|
+
flex: 1 1 0%;
|
|
4235
|
+
overflow: hidden;
|
|
4236
|
+
gap: 12px;
|
|
4237
|
+
position: relative;
|
|
4238
|
+
display: flex;
|
|
4239
|
+
align-items: center;
|
|
4240
|
+
justify-content: center;
|
|
4241
|
+
flex-direction: row;
|
|
4242
|
+
pointer-events: none;
|
|
4243
|
+
height: fit-content;
|
|
4244
|
+
width: fit-content;
|
|
4245
|
+
max-height: 100%;
|
|
4246
|
+
max-width: 100%;
|
|
4247
|
+
padding-top: var(--likec4-spacing);
|
|
4248
|
+
padding-bottom: var(--likec4-spacing);
|
|
4249
|
+
padding-left: calc(var(--likec4-spacing) + 8px);
|
|
4250
|
+
padding-right: calc(var(--likec4-spacing) + 8px);
|
|
4251
|
+
}
|
|
4252
|
+
|
|
4253
|
+
:where([data-likec4-shape-size='xs']) .likec4-el-node-data__root {
|
|
4254
|
+
--likec4-icon-size: 24px;
|
|
4255
|
+
}
|
|
4256
|
+
|
|
4257
|
+
:where([data-likec4-shape-size='sm']) .likec4-el-node-data__root {
|
|
4258
|
+
--likec4-icon-size: 36px;
|
|
4259
|
+
}
|
|
4260
|
+
|
|
4261
|
+
:where([data-likec4-shape-size='md']) .likec4-el-node-data__root {
|
|
4262
|
+
--likec4-icon-size: 60px;
|
|
4263
|
+
}
|
|
4264
|
+
|
|
4265
|
+
:where([data-likec4-shape-size='lg']) .likec4-el-node-data__root {
|
|
4266
|
+
--likec4-icon-size: 82px;
|
|
4267
|
+
gap: 16px;
|
|
4268
|
+
}
|
|
4269
|
+
|
|
4270
|
+
:where([data-likec4-shape-size='xl']) .likec4-el-node-data__root {
|
|
4271
|
+
--likec4-icon-size: 90px;
|
|
4272
|
+
gap: 16px;
|
|
4273
|
+
}
|
|
4274
|
+
|
|
4275
|
+
:where([data-likec4-shape='queue']) .likec4-el-node-data__root {
|
|
4276
|
+
padding-left: 46px;
|
|
4277
|
+
padding-right: 16px;
|
|
4278
|
+
}
|
|
4279
|
+
|
|
4280
|
+
:where([data-likec4-shape='mobile']) .likec4-el-node-data__root {
|
|
4281
|
+
padding-left: 46px;
|
|
4282
|
+
padding-right: 16px;
|
|
4283
|
+
}
|
|
4284
|
+
|
|
4285
|
+
:where([data-likec4-shape='cylinder']) .likec4-el-node-data__root {
|
|
4286
|
+
padding-top: 30px;
|
|
4287
|
+
}
|
|
4288
|
+
|
|
4289
|
+
:where([data-likec4-shape='storage']) .likec4-el-node-data__root {
|
|
4290
|
+
padding-top: 30px;
|
|
4291
|
+
}
|
|
4292
|
+
|
|
4293
|
+
:where([data-likec4-shape='browser']) .likec4-el-node-data__root {
|
|
4294
|
+
padding-top: 32px;
|
|
4295
|
+
padding-bottom: 28px;
|
|
4296
|
+
}
|
|
4297
|
+
|
|
4298
|
+
.likec4-el-node-data__textContainer {
|
|
4299
|
+
flex: 0 1 auto;
|
|
4300
|
+
overflow: hidden;
|
|
4301
|
+
gap: 8px;
|
|
4302
|
+
display: flex;
|
|
4303
|
+
flex-direction: column;
|
|
4304
|
+
align-items: stretch;
|
|
4305
|
+
justify-content: center;
|
|
4306
|
+
flex-wrap: nowrap;
|
|
4307
|
+
height: fit-content;
|
|
4308
|
+
width: fit-content;
|
|
4309
|
+
max-height: 100%;
|
|
4310
|
+
max-width: 100%;
|
|
4311
|
+
}
|
|
4312
|
+
|
|
4313
|
+
.likec4-el-node-data__title {
|
|
4314
|
+
flex: 0 0 auto;
|
|
4315
|
+
font-weight: 500;
|
|
4316
|
+
font-size: var(--likec4-text-size);
|
|
4317
|
+
line-height: 1.15;
|
|
4318
|
+
text-wrap-style: balance;
|
|
4319
|
+
white-space: preserve-breaks;
|
|
4320
|
+
text-align: center;
|
|
4321
|
+
color: var(--colors-likec4-palette-hi-contrast);
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
.likec4-el-node-data__title,.likec4-el-node-data__description {
|
|
4325
|
+
font-family: var(--likec4-element-font, var(--fonts-likec4));
|
|
4326
|
+
}
|
|
4327
|
+
|
|
4328
|
+
.likec4-el-node-data__description {
|
|
4329
|
+
overflow: hidden;
|
|
4330
|
+
flex-grow: 0;
|
|
4331
|
+
flex-shrink: 1;
|
|
4332
|
+
--text-fz: calc(var(--likec4-text-size) * 0.74);
|
|
4333
|
+
font-weight: 400;
|
|
4334
|
+
font-size: calc(var(--likec4-text-size) * 0.74);
|
|
4335
|
+
line-height: 1.3;
|
|
4336
|
+
text-wrap-style: pretty;
|
|
4337
|
+
color: var(--colors-likec4-palette-lo-contrast);
|
|
4338
|
+
text-align: center;
|
|
4339
|
+
text-overflow: ellipsis;
|
|
4340
|
+
}
|
|
4341
|
+
|
|
4342
|
+
:where([data-likec4-shape-size='xs']) .likec4-el-node-data__description {
|
|
4343
|
+
display: none;
|
|
4344
|
+
}
|
|
4345
|
+
|
|
4346
|
+
:where([data-likec4-zoom-small]) .likec4-el-node-data__description {
|
|
4347
|
+
display: none;
|
|
4348
|
+
}
|
|
4349
|
+
|
|
4350
|
+
.likec4-el-node-data__technology {
|
|
4351
|
+
flex: 0 0 auto;
|
|
4352
|
+
text-wrap: balance;
|
|
4353
|
+
--text-fz: calc(var(--likec4-text-size) * 0.74);
|
|
4354
|
+
font-family: var(--likec4-element-font, var(--fonts-likec4));
|
|
4355
|
+
font-weight: 400;
|
|
4356
|
+
font-size: calc(var(--likec4-text-size) * 0.635);
|
|
4357
|
+
line-height: 1.125;
|
|
4358
|
+
text-wrap-style: pretty;
|
|
4359
|
+
color: var(--colors-likec4-palette-lo-contrast);
|
|
4360
|
+
text-align: center;
|
|
4361
|
+
opacity: 0.92;
|
|
4362
|
+
}
|
|
4363
|
+
|
|
4364
|
+
:where([data-likec4-hovered="true"]) .likec4-el-node-data__technology {
|
|
4365
|
+
opacity: 1;
|
|
4366
|
+
}
|
|
4367
|
+
|
|
4368
|
+
:where([data-likec4-shape-size='xs']) .likec4-el-node-data__technology {
|
|
4369
|
+
display: none;
|
|
4370
|
+
}
|
|
4371
|
+
|
|
4372
|
+
:where([data-likec4-shape-size='sm']) .likec4-el-node-data__technology {
|
|
4373
|
+
display: none;
|
|
4374
|
+
}
|
|
4375
|
+
|
|
4376
|
+
:where([data-likec4-zoom-small]) .likec4-el-node-data__technology {
|
|
4377
|
+
display: none;
|
|
4378
|
+
}
|
|
4379
|
+
|
|
4380
|
+
.likec4-navlink__root {
|
|
4381
|
+
border-radius: var(--radii-sm);
|
|
4382
|
+
padding-inline: var(--spacing-xs);
|
|
4383
|
+
padding-block: var(--spacing-2xs);
|
|
4384
|
+
}
|
|
4385
|
+
|
|
4386
|
+
.likec4-navlink__root:is(:hover, [data-hover]):not([data-active]) {
|
|
4387
|
+
background-color: var(--colors-mantine-colors-gray\[1\]);
|
|
4388
|
+
}
|
|
4389
|
+
|
|
4390
|
+
[data-mantine-color-scheme="dark"] .likec4-navlink__root:is(:hover, [data-hover]):not([data-active]) {
|
|
4391
|
+
background-color: var(--colors-mantine-colors-dark\[5\]);
|
|
4392
|
+
}
|
|
4393
|
+
|
|
4394
|
+
.likec4-navlink__body {
|
|
4395
|
+
gap: var(--spacing-2);
|
|
4396
|
+
display: flex;
|
|
4397
|
+
flex-direction: column;
|
|
4398
|
+
}
|
|
4399
|
+
|
|
4400
|
+
.likec4-navlink__section:where([data-position="left"]) {
|
|
4401
|
+
margin-inline-end: var(--spacing-2xs);
|
|
4402
|
+
}
|
|
4403
|
+
|
|
4404
|
+
.likec4-navlink__label {
|
|
4405
|
+
display: block;
|
|
4406
|
+
font-size: var(--font-sizes-sm);
|
|
4407
|
+
font-weight: 500;
|
|
4408
|
+
line-height: 1.2;
|
|
4409
|
+
}
|
|
4410
|
+
|
|
4411
|
+
.likec4-navlink__description {
|
|
4412
|
+
display: block;
|
|
4413
|
+
font-size: var(--font-sizes-xxs);
|
|
4414
|
+
line-height: 1.2;
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
|
|
4418
|
+
.likec4-el-node-data__root--hasIcon_true {
|
|
4419
|
+
gap: 16px;
|
|
4420
|
+
}
|
|
4421
|
+
|
|
4422
|
+
.likec4-el-node-data__textContainer--hasIcon_true {
|
|
4423
|
+
align-items: flex-start;
|
|
4424
|
+
min-width: calc(50% + var(--likec4-icon-size));
|
|
4425
|
+
}
|
|
4426
|
+
|
|
4427
|
+
.likec4-el-node-data__title--hasIcon_true,.likec4-el-node-data__description--hasIcon_true,.likec4-el-node-data__technology--hasIcon_true {
|
|
4428
|
+
text-align: left;
|
|
4429
|
+
}
|
|
4430
|
+
|
|
4431
|
+
.likec4-navlink__label--truncateLabel_true,.likec4-navlink__description--truncateLabel_true {
|
|
4432
|
+
overflow: hidden;
|
|
4433
|
+
text-overflow: ellipsis;
|
|
4434
|
+
white-space: nowrap;
|
|
4435
|
+
width: 100%;
|
|
4205
4436
|
}
|
|
4206
4437
|
}
|
|
4207
4438
|
|
|
4208
4439
|
@layer utilities{
|
|
4209
4440
|
|
|
4441
|
+
.gap_6px {
|
|
4442
|
+
gap: 6px;
|
|
4443
|
+
}
|
|
4444
|
+
|
|
4210
4445
|
.c_likec4\.palette\.hiContrast {
|
|
4211
4446
|
color: var(--colors-likec4-palette-hi-contrast);
|
|
4212
4447
|
}
|