ply-css 1.6.0 → 1.6.1
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/CLAUDE.md +1 -0
- package/PLY.md +2 -1
- package/README.md +1 -0
- package/dist/css/ply-core.css +31 -30
- package/dist/css/ply-core.min.css +1 -1
- package/dist/css/ply-essentials.min.css +1 -1
- package/dist/css/ply-helpers.min.css +1 -1
- package/dist/css/ply.css +42 -41
- package/dist/css/ply.min.css +1 -1
- package/dist/css/styles.css +42 -41
- package/dist/css/styles.min.css +1 -1
- package/llms-full.txt +3 -2
- package/package.json +1 -1
- package/ply-classes.json +9 -6
- package/snippets/custom-theme.html +3 -0
- package/src/scss/components/_buttons.scss +4 -4
- package/src/scss/components/_colors.scss +1 -0
- package/src/scss/components/_dialog-patterns.scss +1 -1
- package/src/scss/components/_forms.scss +10 -10
- package/src/scss/components/_helpers-core.scss +1 -1
- package/src/scss/components/_helpers.scss +3 -3
- package/src/scss/components/_livesearch.scss +6 -6
- package/src/scss/components/_navigation.scss +2 -2
- package/src/scss/components/_notifications.scss +2 -2
- package/src/scss/components/_reset.scss +7 -7
- package/src/scss/components/_rtl.scss +4 -4
- package/src/scss/components/_typography.scss +1 -1
package/dist/css/styles.css
CHANGED
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
--ply-btn-secondary-bg-hover: color-mix(in oklch, var(--ply-btn-secondary-bg), black 15%);
|
|
44
44
|
--ply-btn-secondary-bg-active: #2b2b2b;
|
|
45
45
|
--ply-btn-secondary-bg-active: color-mix(in oklch, var(--ply-btn-secondary-bg), black 25%);
|
|
46
|
+
--ply-border-radius: 0.25rem;
|
|
46
47
|
--ply-btn-border-radius: 2rem;
|
|
47
48
|
--ply-nav-bg: #ffffff;
|
|
48
49
|
--ply-nav-color: #161616;
|
|
@@ -713,7 +714,7 @@ img {
|
|
|
713
714
|
/* Native <details>/<summary> — Swiss/Modernist accordion */
|
|
714
715
|
details {
|
|
715
716
|
border: 1px solid var(--ply-border-color, #e0e0e0);
|
|
716
|
-
border-radius:
|
|
717
|
+
border-radius: var(--ply-border-radius);
|
|
717
718
|
padding: 0.75rem 1rem;
|
|
718
719
|
margin-bottom: 1.5rem;
|
|
719
720
|
}
|
|
@@ -748,7 +749,7 @@ details[open] > summary {
|
|
|
748
749
|
/* Native <dialog> — modal styling */
|
|
749
750
|
dialog {
|
|
750
751
|
border: none;
|
|
751
|
-
border-radius:
|
|
752
|
+
border-radius: var(--ply-border-radius);
|
|
752
753
|
padding: 1.5rem;
|
|
753
754
|
max-width: 32rem;
|
|
754
755
|
width: 90%;
|
|
@@ -768,21 +769,21 @@ progress {
|
|
|
768
769
|
width: 100%;
|
|
769
770
|
height: 0.5rem;
|
|
770
771
|
border: none;
|
|
771
|
-
border-radius:
|
|
772
|
+
border-radius: var(--ply-border-radius);
|
|
772
773
|
background: var(--ply-bg-muted, #e0e0e0);
|
|
773
774
|
margin-bottom: 1.5rem;
|
|
774
775
|
}
|
|
775
776
|
progress::-webkit-progress-bar {
|
|
776
777
|
background: var(--ply-bg-muted, #e0e0e0);
|
|
777
|
-
border-radius:
|
|
778
|
+
border-radius: var(--ply-border-radius);
|
|
778
779
|
}
|
|
779
780
|
progress::-webkit-progress-value {
|
|
780
781
|
background: var(--ply-color-link, #0f62fe);
|
|
781
|
-
border-radius:
|
|
782
|
+
border-radius: var(--ply-border-radius);
|
|
782
783
|
}
|
|
783
784
|
progress::-moz-progress-bar {
|
|
784
785
|
background: var(--ply-color-link, #0f62fe);
|
|
785
|
-
border-radius:
|
|
786
|
+
border-radius: var(--ply-border-radius);
|
|
786
787
|
}
|
|
787
788
|
|
|
788
789
|
meter {
|
|
@@ -792,7 +793,7 @@ meter {
|
|
|
792
793
|
width: 100%;
|
|
793
794
|
height: 0.5rem;
|
|
794
795
|
border: none;
|
|
795
|
-
border-radius:
|
|
796
|
+
border-radius: var(--ply-border-radius);
|
|
796
797
|
background: var(--ply-bg-muted, #e0e0e0);
|
|
797
798
|
margin-bottom: 1.5rem;
|
|
798
799
|
}
|
|
@@ -1226,7 +1227,7 @@ meter {
|
|
|
1226
1227
|
}
|
|
1227
1228
|
|
|
1228
1229
|
.border-radius {
|
|
1229
|
-
border-radius:
|
|
1230
|
+
border-radius: var(--ply-border-radius);
|
|
1230
1231
|
}
|
|
1231
1232
|
|
|
1232
1233
|
.req,
|
|
@@ -1990,11 +1991,11 @@ meter {
|
|
|
1990
1991
|
}
|
|
1991
1992
|
|
|
1992
1993
|
.border-radius-lg {
|
|
1993
|
-
border-radius:
|
|
1994
|
+
border-radius: calc(var(--ply-border-radius) * 3);
|
|
1994
1995
|
}
|
|
1995
1996
|
|
|
1996
1997
|
.border-radius-xl {
|
|
1997
|
-
border-radius:
|
|
1998
|
+
border-radius: calc(var(--ply-border-radius) * 6);
|
|
1998
1999
|
}
|
|
1999
2000
|
|
|
2000
2001
|
.text-primary {
|
|
@@ -2118,7 +2119,7 @@ meter {
|
|
|
2118
2119
|
|
|
2119
2120
|
.code {
|
|
2120
2121
|
border: 1px solid #f0f1f2;
|
|
2121
|
-
border-radius:
|
|
2122
|
+
border-radius: var(--ply-border-radius);
|
|
2122
2123
|
display: inline-block;
|
|
2123
2124
|
font-size: 0.8rem;
|
|
2124
2125
|
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
|
|
@@ -2546,7 +2547,7 @@ pre {
|
|
|
2546
2547
|
color: var(--ply-color-body, #222);
|
|
2547
2548
|
background: var(--ply-color-code-bg, #f4f4f4);
|
|
2548
2549
|
border: 1px solid var(--ply-color-code-border, #d4d4d4);
|
|
2549
|
-
border-radius:
|
|
2550
|
+
border-radius: var(--ply-border-radius);
|
|
2550
2551
|
padding: 1rem;
|
|
2551
2552
|
overflow: auto;
|
|
2552
2553
|
}
|
|
@@ -3653,7 +3654,7 @@ table.table-hovered tbody tr:hover td {
|
|
|
3653
3654
|
.form input[type=datetime-local],
|
|
3654
3655
|
.form textarea,
|
|
3655
3656
|
.form select {
|
|
3656
|
-
border-radius:
|
|
3657
|
+
border-radius: var(--ply-border-radius);
|
|
3657
3658
|
display: block;
|
|
3658
3659
|
width: 100%;
|
|
3659
3660
|
padding: 0.5em 0.75em;
|
|
@@ -3756,7 +3757,7 @@ textarea {
|
|
|
3756
3757
|
}
|
|
3757
3758
|
|
|
3758
3759
|
fieldset {
|
|
3759
|
-
border-radius:
|
|
3760
|
+
border-radius: var(--ply-border-radius);
|
|
3760
3761
|
background-color: var(--ply-bg-surface);
|
|
3761
3762
|
padding: 1.5rem;
|
|
3762
3763
|
margin-bottom: 1.5rem;
|
|
@@ -3889,18 +3890,18 @@ select.input-xs {
|
|
|
3889
3890
|
min-width: 0;
|
|
3890
3891
|
display: block !important;
|
|
3891
3892
|
margin-bottom: 0;
|
|
3892
|
-
border-radius:
|
|
3893
|
+
border-radius: var(--ply-border-radius);
|
|
3893
3894
|
}
|
|
3894
3895
|
.input-groups input:not(:last-child),
|
|
3895
3896
|
.input-groups textarea:not(:last-child),
|
|
3896
3897
|
.input-groups select:not(:last-child) {
|
|
3897
3898
|
border-right: none;
|
|
3898
|
-
border-radius:
|
|
3899
|
+
border-radius: var(--ply-border-radius) 0 0 var(--ply-border-radius);
|
|
3899
3900
|
}
|
|
3900
3901
|
.input-groups input:not(:first-child),
|
|
3901
3902
|
.input-groups textarea:not(:first-child),
|
|
3902
3903
|
.input-groups select:not(:first-child) {
|
|
3903
|
-
border-radius: 0
|
|
3904
|
+
border-radius: 0 var(--ply-border-radius) var(--ply-border-radius) 0;
|
|
3904
3905
|
}
|
|
3905
3906
|
.input-groups input:not(:first-child, :last-child),
|
|
3906
3907
|
.input-groups textarea:not(:first-child, :last-child),
|
|
@@ -3922,11 +3923,11 @@ select.input-xs {
|
|
|
3922
3923
|
}
|
|
3923
3924
|
.input-groups .input-prepend {
|
|
3924
3925
|
border-right: none;
|
|
3925
|
-
border-radius:
|
|
3926
|
+
border-radius: var(--ply-border-radius) 0 0 var(--ply-border-radius);
|
|
3926
3927
|
}
|
|
3927
3928
|
.input-groups .input-append {
|
|
3928
3929
|
border-left: none;
|
|
3929
|
-
border-radius: 0
|
|
3930
|
+
border-radius: 0 var(--ply-border-radius) var(--ply-border-radius) 0;
|
|
3930
3931
|
}
|
|
3931
3932
|
.input-groups .input-append:has(.btn) {
|
|
3932
3933
|
padding: 0;
|
|
@@ -3935,7 +3936,7 @@ select.input-xs {
|
|
|
3935
3936
|
.input-groups .input-append .btn {
|
|
3936
3937
|
display: flex;
|
|
3937
3938
|
align-items: center;
|
|
3938
|
-
border-radius: 0
|
|
3939
|
+
border-radius: 0 var(--ply-border-radius) var(--ply-border-radius) 0;
|
|
3939
3940
|
margin: 0;
|
|
3940
3941
|
border-left: none;
|
|
3941
3942
|
white-space: nowrap;
|
|
@@ -3952,7 +3953,7 @@ select.input-xs {
|
|
|
3952
3953
|
.input-groups .btn-append .btn {
|
|
3953
3954
|
display: flex;
|
|
3954
3955
|
align-items: center;
|
|
3955
|
-
border-radius: 0
|
|
3956
|
+
border-radius: 0 var(--ply-border-radius) var(--ply-border-radius) 0;
|
|
3956
3957
|
margin: 0;
|
|
3957
3958
|
white-space: nowrap;
|
|
3958
3959
|
}
|
|
@@ -3997,7 +3998,7 @@ select.select-outlined {
|
|
|
3997
3998
|
background-size: 0.75em;
|
|
3998
3999
|
padding: 0.5em 2.5em 0.5em 0.75em;
|
|
3999
4000
|
border: 1px solid var(--ply-border-strong, #d4d4d4);
|
|
4000
|
-
border-radius:
|
|
4001
|
+
border-radius: var(--ply-border-radius);
|
|
4001
4002
|
color: var(--ply-color-body);
|
|
4002
4003
|
font-size: 1em;
|
|
4003
4004
|
line-height: 1.5rem;
|
|
@@ -4259,7 +4260,7 @@ nav ul {
|
|
|
4259
4260
|
display: block;
|
|
4260
4261
|
padding: 0.25rem 0.75rem;
|
|
4261
4262
|
font-size: 0.875rem;
|
|
4262
|
-
border-radius: var(--ply-nav-stacked-radius,
|
|
4263
|
+
border-radius: var(--ply-nav-stacked-radius, var(--ply-border-radius));
|
|
4263
4264
|
}
|
|
4264
4265
|
.nav-stacked a {
|
|
4265
4266
|
color: var(--ply-nav-color);
|
|
@@ -4444,7 +4445,7 @@ nav ul {
|
|
|
4444
4445
|
height: 2.25rem;
|
|
4445
4446
|
padding: 0.25rem 0.75rem;
|
|
4446
4447
|
border: 1px solid var(--ply-border-color);
|
|
4447
|
-
border-radius:
|
|
4448
|
+
border-radius: var(--ply-border-radius);
|
|
4448
4449
|
background: var(--ply-bg-surface, #fff);
|
|
4449
4450
|
color: var(--ply-color-body);
|
|
4450
4451
|
text-decoration: none;
|
|
@@ -5460,11 +5461,11 @@ button.btn-white.btn-outline.btn-active {
|
|
|
5460
5461
|
}
|
|
5461
5462
|
.btn-single .btn:first-child,
|
|
5462
5463
|
.btn-group .btn:first-child {
|
|
5463
|
-
border-radius: 0.
|
|
5464
|
+
border-radius: calc(var(--ply-border-radius) * 0.5) 0 0 calc(var(--ply-border-radius) * 0.5);
|
|
5464
5465
|
}
|
|
5465
5466
|
.btn-single .btn:last-child,
|
|
5466
5467
|
.btn-group .btn:last-child {
|
|
5467
|
-
border-radius: 0 0.
|
|
5468
|
+
border-radius: 0 calc(var(--ply-border-radius) * 0.5) calc(var(--ply-border-radius) * 0.5) 0;
|
|
5468
5469
|
}
|
|
5469
5470
|
.btn-single.joined,
|
|
5470
5471
|
.btn-group.joined {
|
|
@@ -5474,13 +5475,13 @@ button.btn-white.btn-outline.btn-active {
|
|
|
5474
5475
|
.btn-single.rounded .input-search:first-child,
|
|
5475
5476
|
.btn-group.rounded .btn:first-child,
|
|
5476
5477
|
.btn-group.rounded .input-search:first-child {
|
|
5477
|
-
border-radius:
|
|
5478
|
+
border-radius: calc(var(--ply-border-radius) * 2) 0 0 calc(var(--ply-border-radius) * 2);
|
|
5478
5479
|
}
|
|
5479
5480
|
.btn-single.rounded .btn:last-child,
|
|
5480
5481
|
.btn-single.rounded .input-search:last-child,
|
|
5481
5482
|
.btn-group.rounded .btn:last-child,
|
|
5482
5483
|
.btn-group.rounded .input-search:last-child {
|
|
5483
|
-
border-radius: 0
|
|
5484
|
+
border-radius: 0 calc(var(--ply-border-radius) * 2) calc(var(--ply-border-radius) * 2) 0;
|
|
5484
5485
|
}
|
|
5485
5486
|
|
|
5486
5487
|
/* =Notifications
|
|
@@ -5491,7 +5492,7 @@ button.btn-white.btn-outline.btn-active {
|
|
|
5491
5492
|
background: var(--ply-bg-surface-alt, #f7f8f8);
|
|
5492
5493
|
color: var(--ply-color-body, #0f0f0f);
|
|
5493
5494
|
margin-bottom: 1.5rem;
|
|
5494
|
-
border-radius:
|
|
5495
|
+
border-radius: var(--ply-border-radius);
|
|
5495
5496
|
border-left: 4px solid #b3b6b7;
|
|
5496
5497
|
display: flex;
|
|
5497
5498
|
align-items: flex-start;
|
|
@@ -5538,7 +5539,7 @@ button.btn-white.btn-outline.btn-active {
|
|
|
5538
5539
|
align-items: center;
|
|
5539
5540
|
justify-content: center;
|
|
5540
5541
|
margin: -0.5rem -0.375rem -0.5rem 0;
|
|
5541
|
-
border-radius:
|
|
5542
|
+
border-radius: var(--ply-border-radius);
|
|
5542
5543
|
}
|
|
5543
5544
|
.tools-alert .tools-alert-dismiss:hover,
|
|
5544
5545
|
.tools-alert .alert-dismiss:hover,
|
|
@@ -6007,7 +6008,7 @@ ul.dropdown li.divider {
|
|
|
6007
6008
|
}
|
|
6008
6009
|
.typeahead.active input,
|
|
6009
6010
|
.livesearch-container.active input {
|
|
6010
|
-
border-radius:
|
|
6011
|
+
border-radius: var(--ply-border-radius) var(--ply-border-radius) 0 0;
|
|
6011
6012
|
border-bottom-color: var(--ply-border-color, #e0e3e5);
|
|
6012
6013
|
}
|
|
6013
6014
|
|
|
@@ -6025,7 +6026,7 @@ ul.dropdown li.divider {
|
|
|
6025
6026
|
background: var(--ply-bg-surface, #fff);
|
|
6026
6027
|
border: 1px solid var(--ply-color-input-border, #ccc);
|
|
6027
6028
|
border-top: none;
|
|
6028
|
-
border-radius: 0 0
|
|
6029
|
+
border-radius: 0 0 var(--ply-border-radius) var(--ply-border-radius);
|
|
6029
6030
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
6030
6031
|
max-height: 240px;
|
|
6031
6032
|
overflow-y: auto;
|
|
@@ -6087,7 +6088,7 @@ ul.dropdown li.divider {
|
|
|
6087
6088
|
min-height: 2.5rem;
|
|
6088
6089
|
background: var(--ply-color-input-bg, #fff);
|
|
6089
6090
|
border: 1px solid var(--ply-color-input-border, #ccc);
|
|
6090
|
-
border-radius:
|
|
6091
|
+
border-radius: var(--ply-border-radius);
|
|
6091
6092
|
cursor: text;
|
|
6092
6093
|
transition: border-color 0.15s ease;
|
|
6093
6094
|
align-items: center;
|
|
@@ -6097,7 +6098,7 @@ ul.dropdown li.divider {
|
|
|
6097
6098
|
box-shadow: 0 0 0 2px rgba(15, 98, 254, 0.3);
|
|
6098
6099
|
}
|
|
6099
6100
|
.multiselect.active .multiselect-tags {
|
|
6100
|
-
border-radius:
|
|
6101
|
+
border-radius: var(--ply-border-radius) var(--ply-border-radius) 0 0;
|
|
6101
6102
|
border-bottom-color: var(--ply-border-color, #e0e3e5);
|
|
6102
6103
|
}
|
|
6103
6104
|
.multiselect-tags input {
|
|
@@ -6126,7 +6127,7 @@ ul.dropdown li.divider {
|
|
|
6126
6127
|
padding: 0.125rem 0.375rem;
|
|
6127
6128
|
background: var(--ply-bg-muted, #e0e3e5);
|
|
6128
6129
|
color: var(--ply-color-body, #222);
|
|
6129
|
-
border-radius:
|
|
6130
|
+
border-radius: var(--ply-border-radius);
|
|
6130
6131
|
font-size: 0.875rem;
|
|
6131
6132
|
line-height: 1.5;
|
|
6132
6133
|
white-space: nowrap;
|
|
@@ -6174,7 +6175,7 @@ ul.dropdown li.divider {
|
|
|
6174
6175
|
background: var(--ply-bg-surface, #fff);
|
|
6175
6176
|
border: 1px solid var(--ply-color-input-border, #ccc);
|
|
6176
6177
|
border-top: none;
|
|
6177
|
-
border-radius: 0 0
|
|
6178
|
+
border-radius: 0 0 var(--ply-border-radius) var(--ply-border-radius);
|
|
6178
6179
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
6179
6180
|
max-height: 240px;
|
|
6180
6181
|
overflow-y: auto;
|
|
@@ -6699,7 +6700,7 @@ dialog .dialog-close {
|
|
|
6699
6700
|
color: var(--ply-color-secondary);
|
|
6700
6701
|
font-size: 1.5rem;
|
|
6701
6702
|
cursor: pointer;
|
|
6702
|
-
border-radius:
|
|
6703
|
+
border-radius: var(--ply-border-radius);
|
|
6703
6704
|
transition: background-color 0.15s ease;
|
|
6704
6705
|
}
|
|
6705
6706
|
dialog .dialog-close:hover {
|
|
@@ -7144,22 +7145,22 @@ dialog[open]::backdrop {
|
|
|
7144
7145
|
[dir=rtl] .input-groups select:not(:last-child) {
|
|
7145
7146
|
border-right: initial;
|
|
7146
7147
|
border-left: none;
|
|
7147
|
-
border-radius: 0
|
|
7148
|
+
border-radius: 0 var(--ply-border-radius) var(--ply-border-radius) 0;
|
|
7148
7149
|
}
|
|
7149
7150
|
[dir=rtl] .input-groups input:not(:first-child),
|
|
7150
7151
|
[dir=rtl] .input-groups textarea:not(:first-child),
|
|
7151
7152
|
[dir=rtl] .input-groups select:not(:first-child) {
|
|
7152
|
-
border-radius:
|
|
7153
|
+
border-radius: var(--ply-border-radius) 0 0 var(--ply-border-radius);
|
|
7153
7154
|
}
|
|
7154
7155
|
[dir=rtl] .input-groups .input-prepend {
|
|
7155
7156
|
border-right: initial;
|
|
7156
7157
|
border-left: none;
|
|
7157
|
-
border-radius: 0
|
|
7158
|
+
border-radius: 0 var(--ply-border-radius) var(--ply-border-radius) 0;
|
|
7158
7159
|
}
|
|
7159
7160
|
[dir=rtl] .input-groups .input-append {
|
|
7160
7161
|
border-left: initial;
|
|
7161
7162
|
border-right: none;
|
|
7162
|
-
border-radius:
|
|
7163
|
+
border-radius: var(--ply-border-radius) 0 0 var(--ply-border-radius);
|
|
7163
7164
|
}
|
|
7164
7165
|
[dir=rtl] th.sortable {
|
|
7165
7166
|
padding-right: inherit;
|