@solid-design-system/styles 1.0.0-next.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/LICENSE.md +10 -0
  3. package/README.md +8 -0
  4. package/cdn/modules/chip.css +1 -0
  5. package/cdn/modules/container.css +1 -0
  6. package/cdn/modules/copyright.css +1 -0
  7. package/cdn/modules/display.css +1 -0
  8. package/cdn/modules/flag.css +1 -0
  9. package/cdn/modules/footnotes.css +1 -0
  10. package/cdn/modules/headline.css +1 -0
  11. package/cdn/modules/hidden-links.css +1 -0
  12. package/cdn/modules/interactive.css +1 -0
  13. package/cdn/modules/leadtext.css +1 -0
  14. package/cdn/modules/list.css +1 -0
  15. package/cdn/modules/mark.css +1 -0
  16. package/cdn/modules/media.css +1 -0
  17. package/cdn/modules/meta.css +1 -0
  18. package/cdn/modules/paragraph.css +1 -0
  19. package/cdn/modules/prose.css +1 -0
  20. package/cdn/modules/table-cell.css +1 -0
  21. package/cdn/modules/table.css +1 -0
  22. package/cdn/solid-styles.css +1 -0
  23. package/cdn-versioned/modules/chip.css +1 -0
  24. package/cdn-versioned/modules/container.css +1 -0
  25. package/cdn-versioned/modules/copyright.css +1 -0
  26. package/cdn-versioned/modules/display.css +1 -0
  27. package/cdn-versioned/modules/flag.css +1 -0
  28. package/cdn-versioned/modules/footnotes.css +1 -0
  29. package/cdn-versioned/modules/headline.css +1 -0
  30. package/cdn-versioned/modules/hidden-links.css +1 -0
  31. package/cdn-versioned/modules/interactive.css +1 -0
  32. package/cdn-versioned/modules/leadtext.css +1 -0
  33. package/cdn-versioned/modules/list.css +1 -0
  34. package/cdn-versioned/modules/mark.css +1 -0
  35. package/cdn-versioned/modules/media.css +1 -0
  36. package/cdn-versioned/modules/meta.css +1 -0
  37. package/cdn-versioned/modules/paragraph.css +1 -0
  38. package/cdn-versioned/modules/prose.css +1 -0
  39. package/cdn-versioned/modules/table-cell.css +1 -0
  40. package/cdn-versioned/modules/table.css +1 -0
  41. package/cdn-versioned/solid-styles.css +1 -0
  42. package/dist/modules/chip.css +61 -0
  43. package/dist/modules/container.css +184 -0
  44. package/dist/modules/copyright.css +63 -0
  45. package/dist/modules/display.css +70 -0
  46. package/dist/modules/flag.css +59 -0
  47. package/dist/modules/footnotes.css +42 -0
  48. package/dist/modules/headline.css +237 -0
  49. package/dist/modules/hidden-links.css +57 -0
  50. package/dist/modules/interactive.css +105 -0
  51. package/dist/modules/leadtext.css +43 -0
  52. package/dist/modules/list.css +152 -0
  53. package/dist/modules/mark.css +15 -0
  54. package/dist/modules/media.css +33 -0
  55. package/dist/modules/meta.css +49 -0
  56. package/dist/modules/paragraph.css +28 -0
  57. package/dist/modules/prose.css +852 -0
  58. package/dist/modules/table-cell.css +186 -0
  59. package/dist/modules/table.css +24 -0
  60. package/dist/solid-styles.css +1348 -0
  61. package/dist-versioned/modules/chip.css +61 -0
  62. package/dist-versioned/modules/container.css +184 -0
  63. package/dist-versioned/modules/copyright.css +63 -0
  64. package/dist-versioned/modules/display.css +70 -0
  65. package/dist-versioned/modules/flag.css +59 -0
  66. package/dist-versioned/modules/footnotes.css +42 -0
  67. package/dist-versioned/modules/headline.css +237 -0
  68. package/dist-versioned/modules/hidden-links.css +57 -0
  69. package/dist-versioned/modules/interactive.css +105 -0
  70. package/dist-versioned/modules/leadtext.css +43 -0
  71. package/dist-versioned/modules/list.css +152 -0
  72. package/dist-versioned/modules/mark.css +15 -0
  73. package/dist-versioned/modules/media.css +33 -0
  74. package/dist-versioned/modules/meta.css +49 -0
  75. package/dist-versioned/modules/paragraph.css +28 -0
  76. package/dist-versioned/modules/prose.css +852 -0
  77. package/dist-versioned/modules/table-cell.css +186 -0
  78. package/dist-versioned/modules/table.css +24 -0
  79. package/dist-versioned/solid-styles.css +1348 -0
  80. package/package.json +68 -0
@@ -0,0 +1,186 @@
1
+ /**
2
+ * A table cell is a single cell inside a table, used to display discrete data elements.
3
+ * @name sd-1-0-0-next-1-table-cell
4
+ * @status stable
5
+ * @since 1.13
6
+ * @boolean sd-1-0-0-next-1-table-cell--divider Displays a divider to the right.
7
+ * @variant { white | primary-100 | neutral-100 } sd-1-0-0-next-1-table-cell--bg-... Applies the selected background-color to the table cell. If not selected, a transparent background-color is used per default.
8
+ * @boolean sd-1-0-0-next-1-table-cell--shadow-active Displays the table shadow.
9
+ * @variant { top | left | right | bottom } sd-1-0-0-next-1-table-cell--shadow-... Applies the selected shadow to the table cell.
10
+ */
11
+
12
+ .sd-1-0-0-next-1-prose td,
13
+ .sd-1-0-0-next-1-prose th,
14
+ .sd-1-0-0-next-1-table-cell {
15
+
16
+ border-top-width: 1px;
17
+
18
+ border-bottom-width: 1px;
19
+
20
+ border-left-width: 0px;
21
+
22
+ border-right-width: 0px;
23
+
24
+ border-style: solid;
25
+
26
+ --tw-border-opacity: 1;
27
+
28
+ border-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
29
+ Used for divider, teaser, container, ... */;
30
+
31
+ background-color: transparent;
32
+
33
+ padding: var(--sd-spacing-4, 1rem) /* 16px */;
34
+
35
+ text-align: left;
36
+
37
+ font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
38
+
39
+
40
+
41
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
42
+ }
43
+
44
+ .sd-1-0-0-next-1-table-cell--divider {
45
+
46
+ border-right-width: 1px
47
+ }
48
+
49
+ .sd-1-0-0-next-1-table-cell--shadow-top:after, .sd-1-0-0-next-1-table-cell--shadow-bottom:after, .sd-1-0-0-next-1-table-cell--shadow-left:after, .sd-1-0-0-next-1-table-cell--shadow-right:after {
50
+
51
+ pointer-events: none;
52
+
53
+ position: absolute;
54
+
55
+ --tw-gradient-from: rgb(0 0 0 / var(--sd-opacity-10, 0.1)) var(--tw-gradient-from-position);
56
+
57
+ --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
58
+
59
+ --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
60
+
61
+ --tw-gradient-to: transparent var(--tw-gradient-to-position);
62
+
63
+ opacity: var(--sd-opacity-0, 0);
64
+
65
+ transition-property: opacity;
66
+
67
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
68
+
69
+ transition-duration: 300ms;
70
+
71
+ --tw-content: '';
72
+
73
+ content: var(--tw-content)
74
+ }
75
+
76
+ .sd-1-0-0-next-1-table-cell--shadow-top:after, .sd-1-0-0-next-1-table-cell--shadow-bottom:after {
77
+
78
+ left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
79
+
80
+ right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
81
+
82
+ height: var(--sd-spacing-2-5, 0.625rem) /* 10px */
83
+ }
84
+
85
+ /* fix that shows line on top of table-cell */
86
+
87
+ .sd-1-0-0-next-1-table-cell--shadow-top:before, .sd-1-0-0-next-1-table-cell--shadow-bottom:before {
88
+
89
+ position: absolute;
90
+
91
+ left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
92
+
93
+ display: block;
94
+
95
+ height: 1px;
96
+
97
+ width: 100%;
98
+
99
+ border-width: 0.5px;
100
+
101
+ --tw-border-opacity: 1;
102
+
103
+ border-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
104
+ Used for divider, teaser, container, ... */;
105
+
106
+ --tw-content: '';
107
+
108
+ content: var(--tw-content)
109
+ }
110
+
111
+ .sd-1-0-0-next-1-table-cell--shadow-left:after, .sd-1-0-0-next-1-table-cell--shadow-right:after {
112
+
113
+ top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
114
+
115
+ bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
116
+
117
+ width: var(--sd-spacing-2-5, 0.625rem) /* 10px */
118
+ }
119
+
120
+ .sd-1-0-0-next-1-table-cell.sd-1-0-0-next-1-table-cell--shadow-active:after {
121
+
122
+ opacity: 100%
123
+ }
124
+
125
+ .sd-1-0-0-next-1-table-cell--shadow-top:after {
126
+
127
+ top: -10px;
128
+
129
+ background-image: linear-gradient(to top, var(--tw-gradient-stops))
130
+ }
131
+
132
+ /* fix that shows line on top of table-cell */
133
+
134
+ .sd-1-0-0-next-1-table-cell--shadow-top:before {
135
+
136
+ bottom: -1px
137
+ }
138
+
139
+ .sd-1-0-0-next-1-table-cell--shadow-bottom:after {
140
+
141
+ bottom: -10px;
142
+
143
+ background-image: linear-gradient(to bottom, var(--tw-gradient-stops))
144
+ }
145
+
146
+ /* fix that shows line on top of table-cell */
147
+
148
+ .sd-1-0-0-next-1-table-cell--shadow-bottom:before {
149
+
150
+ top: -1px
151
+ }
152
+
153
+ .sd-1-0-0-next-1-table-cell--shadow-left:after {
154
+
155
+ left: -10px;
156
+
157
+ background-image: linear-gradient(to left, var(--tw-gradient-stops))
158
+ }
159
+
160
+ .sd-1-0-0-next-1-table-cell--shadow-right:after {
161
+
162
+ right: -10px;
163
+
164
+ background-image: linear-gradient(to right, var(--tw-gradient-stops))
165
+ }
166
+
167
+ .sd-1-0-0-next-1-table-cell--bg-white {
168
+
169
+
170
+
171
+ background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode) 
Used for inverted button */
172
+ }
173
+
174
+ .sd-1-0-0-next-1-table-cell--bg-primary-100 {
175
+
176
+
177
+
178
+ background-color: rgb(var(--sd-color-primary-100, 236 240 249) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */
179
+ }
180
+
181
+ .sd-1-0-0-next-1-table-cell--bg-neutral-100 {
182
+
183
+
184
+
185
+ background-color: rgb(var(--sd-color-neutral-100, 246 246 246) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */
186
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * A table is organized structured content, used for scanning, comparing, and analyzing the data.
3
+ * @name sd-1-0-0-next-1-table
4
+ * @status stable
5
+ * @since 1.13
6
+ */
7
+
8
+ /*
9
+ * Remove inherited styles from table before applying our styles.
10
+ */
11
+
12
+ .sd-1-0-0-next-1-table,
13
+ .sd-1-0-0-next-1-prose table {
14
+ all: unset;
15
+ display: table;
16
+ border-collapse: collapse;
17
+ --tw-border-spacing-x: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
18
+ --tw-border-spacing-y: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
19
+ border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
20
+ }
21
+
22
+ .sd-1-0-0-next-1-table thead tr:first-of-type, .sd-1-0-0-next-1-table tfoot tr:first-of-type, .sd-1-0-0-next-1-prose table thead tr:first-of-type, .sd-1-0-0-next-1-prose table tfoot tr:first-of-type {
23
+ position: relative;
24
+ }