@primer/css 0.0.0-20220520180541 → 0.0.0-20220520200150
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/CHANGELOG.md +1 -5
- package/alerts/flash-refactor.scss +134 -0
- package/alerts/flash.scss +1 -1
- package/alerts/index.scss +1 -0
- package/app/README.md +25 -0
- package/app/app-footer.scss +0 -0
- package/app/app-frame.scss +168 -0
- package/app/app-header.scss +111 -0
- package/app/index.scss +4 -0
- package/dist/alerts.css +1 -1
- package/dist/alerts.css.map +1 -1
- package/dist/app.css +2 -0
- package/dist/app.css.map +1 -0
- package/dist/app.js +1 -0
- package/dist/core.css +1 -1
- package/dist/core.css.map +1 -1
- package/dist/header.css +1 -1
- package/dist/header.css.map +1 -1
- package/dist/layout.css +1 -1
- package/dist/layout.css.map +1 -1
- package/dist/meta.json +84 -73
- package/dist/primer.css +2 -2
- package/dist/primer.css.map +1 -1
- package/dist/product.css +1 -1
- package/dist/product.css.map +1 -1
- package/dist/stats/alerts.json +1 -1
- package/dist/stats/app.json +1 -0
- package/dist/stats/core.json +1 -1
- package/dist/stats/header.json +1 -1
- package/dist/stats/layout.json +1 -1
- package/dist/stats/primer.json +1 -1
- package/dist/stats/product.json +1 -1
- package/header/header.scss +44 -0
- package/layout/application-frame.scss +105 -0
- package/layout/index.scss +1 -0
- package/layout/page-layout.scss +6 -9
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
# @primer/css
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- [#2087](https://github.com/primer/css/pull/2087) [`0f16cee8`](https://github.com/primer/css/commit/0f16cee819405d81a849b2a3b2eb88bc53bf172c) Thanks [@vdepizzol](https://github.com/vdepizzol)! - Changing `PageLayout--isPaneSticky` to `PageLayout--sticky`.
|
|
3
|
+
## 0.0.0-20220520200150
|
|
8
4
|
|
|
9
5
|
### Patch Changes
|
|
10
6
|
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// Flash alert
|
|
2
|
+
|
|
3
|
+
.Flash {
|
|
4
|
+
position: relative;
|
|
5
|
+
display: grid;
|
|
6
|
+
// stylelint-disable-next-line primer/spacing
|
|
7
|
+
padding: $spacer-2;
|
|
8
|
+
border: $border-width $border-style;
|
|
9
|
+
border-radius: $border-radius;
|
|
10
|
+
grid-auto-flow: column;
|
|
11
|
+
grid-template-areas: 'visual message actions close';
|
|
12
|
+
grid-template-columns: min-content 1fr min-content min-content;
|
|
13
|
+
grid-template-rows: min-content;
|
|
14
|
+
|
|
15
|
+
// `sm` breakpoint variantion
|
|
16
|
+
@media (max-width: #{map-get($breakpoints, 'sm') - 0.02px}) {
|
|
17
|
+
grid-template-areas:
|
|
18
|
+
'visual message close'
|
|
19
|
+
' . actions actions';
|
|
20
|
+
grid-template-columns: min-content 1fr min-content;
|
|
21
|
+
grid-template-rows: min-content min-content;
|
|
22
|
+
|
|
23
|
+
.Flash-actions {
|
|
24
|
+
margin: $spacer-2 0 0 $spacer-2;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Elements
|
|
29
|
+
|
|
30
|
+
.Flash-visual {
|
|
31
|
+
grid-area: visual;
|
|
32
|
+
// stylelint-disable-next-line primer/spacing
|
|
33
|
+
padding: calc((#{$spacer-5} - 20px) / 2) $spacer-2;
|
|
34
|
+
display: grid;
|
|
35
|
+
align-self: start;
|
|
36
|
+
|
|
37
|
+
> .octicon {
|
|
38
|
+
margin-block: calc((#{$spacer-1}) / 2);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
> * {
|
|
42
|
+
align-self: center;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.Flash-message {
|
|
47
|
+
// stylelint-disable-next-line primer/spacing
|
|
48
|
+
padding: calc((#{$spacer-5} - 20px) / 2) $spacer-2;
|
|
49
|
+
grid-area: message;
|
|
50
|
+
align-self: center;
|
|
51
|
+
|
|
52
|
+
p:last-child {
|
|
53
|
+
margin-bottom: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.Flash-actions {
|
|
58
|
+
grid-area: actions;
|
|
59
|
+
|
|
60
|
+
&:last-child {
|
|
61
|
+
align-self: end;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.Flash-close {
|
|
66
|
+
grid-area: close;
|
|
67
|
+
margin: 0 0 0 $spacer-2;
|
|
68
|
+
|
|
69
|
+
button {
|
|
70
|
+
&:hover {
|
|
71
|
+
background-color: var(--color-action-list-item-default-hover-bg);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// Variants
|
|
77
|
+
|
|
78
|
+
color: var(--color-fg-default);
|
|
79
|
+
background-image: linear-gradient(var(--color-accent-subtle), var(--color-accent-subtle));
|
|
80
|
+
border-color: var(--color-accent-muted);
|
|
81
|
+
|
|
82
|
+
.Flash-visual .octicon {
|
|
83
|
+
color: var(--color-accent-fg);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&.Flash--warning {
|
|
87
|
+
color: var(--color-fg-default);
|
|
88
|
+
background-image: linear-gradient(var(--color-attention-subtle), var(--color-attention-subtle));
|
|
89
|
+
border-color: var(--color-attention-muted);
|
|
90
|
+
|
|
91
|
+
.Flash-visual .octicon {
|
|
92
|
+
color: var(--color-attention-fg);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.Flash--error {
|
|
97
|
+
color: var(--color-fg-default);
|
|
98
|
+
background-image: linear-gradient(var(--color-danger-subtle), var(--color-danger-subtle));
|
|
99
|
+
border-color: var(--color-danger-muted);
|
|
100
|
+
|
|
101
|
+
.Flash-visual .octicon {
|
|
102
|
+
color: var(--color-danger-fg);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.Flash--success {
|
|
107
|
+
color: var(--color-fg-default);
|
|
108
|
+
background-image: linear-gradient(var(--color-success-subtle), var(--color-success-subtle));
|
|
109
|
+
border-color: var(--color-success-muted);
|
|
110
|
+
|
|
111
|
+
.Flash-visual .octicon {
|
|
112
|
+
color: var(--color-success-fg);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
// Full-width
|
|
117
|
+
|
|
118
|
+
&.Flash--full {
|
|
119
|
+
margin-top: ($border-width * -1);
|
|
120
|
+
border-left: 0;
|
|
121
|
+
border-right: 0;
|
|
122
|
+
border-radius: 0;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
// Replace with Primitives' Narrow viewport range
|
|
126
|
+
@media (max-width: #{map-get($breakpoints, 'md') - 0.02px}) {
|
|
127
|
+
&.Flash--full-whenNarrow {
|
|
128
|
+
margin-top: ($border-width * -1);
|
|
129
|
+
border-left: 0;
|
|
130
|
+
border-right: 0;
|
|
131
|
+
border-radius: 0;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
package/alerts/flash.scss
CHANGED
package/alerts/index.scss
CHANGED
package/app/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
bundle: "app"
|
|
3
|
+
generated: true
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Primer CSS: `app` bundle
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with:
|
|
11
|
+
|
|
12
|
+
```scss
|
|
13
|
+
@import "@primer/css/app/index.scss";
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Build
|
|
17
|
+
|
|
18
|
+
The `@primer/css` npm package includes a standalone CSS build of this module in `dist/app.css`.
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
[MIT](https://github.com/primer/css/blob/main/LICENSE) © [GitHub](https://github.com/)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
[scss]: https://sass-lang.com/documentation/syntax#scss
|
|
File without changes
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
// stylelint-disable max-nesting-depth
|
|
2
|
+
// stylelint-disable selector-max-specificity
|
|
3
|
+
// stylelint-disable no-duplicate-selectors
|
|
4
|
+
|
|
5
|
+
.AppFrame {
|
|
6
|
+
|
|
7
|
+
// Accessibility navigation
|
|
8
|
+
|
|
9
|
+
.AppFrame-a11yNav {
|
|
10
|
+
position: absolute;
|
|
11
|
+
padding: 8px 24px 8px 8px;
|
|
12
|
+
inset: -200px auto auto 8px;
|
|
13
|
+
background: #F6F8FA; /* fixme */
|
|
14
|
+
z-index: 1000;
|
|
15
|
+
min-width: 50vw;
|
|
16
|
+
|
|
17
|
+
ul, li {
|
|
18
|
+
list-style: none;
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
ul {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 8px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:focus-within {
|
|
30
|
+
inset-block-start: 8px;
|
|
31
|
+
|
|
32
|
+
// Narrow viewport
|
|
33
|
+
@media (max-width: #{map-get($breakpoints, 'md') - 0.02px}) {
|
|
34
|
+
inset-inline-end: 8px;
|
|
35
|
+
|
|
36
|
+
ul {
|
|
37
|
+
justify-content: center;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.AppFrame-a11yLink {
|
|
44
|
+
transition: none;
|
|
45
|
+
|
|
46
|
+
&:not(:focus) {
|
|
47
|
+
width: 8px;
|
|
48
|
+
height: 8px;
|
|
49
|
+
display: block;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
text-indent: 20em;
|
|
52
|
+
border-radius: 100%;
|
|
53
|
+
background: var(--color-border-default);
|
|
54
|
+
user-select: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:focus {
|
|
58
|
+
display: block;
|
|
59
|
+
z-index: 20;
|
|
60
|
+
width: auto;
|
|
61
|
+
height: auto;
|
|
62
|
+
overflow: auto;
|
|
63
|
+
border-radius: $spacer-4; /* 24px */
|
|
64
|
+
min-height: $spacer-5; /* 32px */
|
|
65
|
+
padding: calc((#{$spacer-5} - 20px) / 2) $spacer-3;
|
|
66
|
+
line-height: 20px;
|
|
67
|
+
background: var(--color-accent-fg);
|
|
68
|
+
color: var(--color-fg-on-emphasis);
|
|
69
|
+
|
|
70
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
71
|
+
animation: AppFrame-a11yLink-focus 200ms ease-out;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@keyframes AppFrame-a11yLink-focus {
|
|
75
|
+
0% {
|
|
76
|
+
transform: scale(0.3, 0.25);
|
|
77
|
+
color: var(--color-accent-fg);
|
|
78
|
+
}
|
|
79
|
+
50% {
|
|
80
|
+
transform: scale(1, 1);
|
|
81
|
+
color: var(--color-accent-fg);
|
|
82
|
+
}
|
|
83
|
+
55% {
|
|
84
|
+
color: var(--color-fg-on-emphasis);
|
|
85
|
+
}
|
|
86
|
+
100% {
|
|
87
|
+
transform: scaleX(1);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&:has(.AppFrame-a11yNav:focus-within) .AppHeader-context {
|
|
94
|
+
opacity: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.AppFrame-main {
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
min-height: 100vh;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.AppFrame-header-wrapper {
|
|
104
|
+
position: relative;
|
|
105
|
+
overflow: visible;
|
|
106
|
+
height: min-content;
|
|
107
|
+
|
|
108
|
+
.AppFrame-header {
|
|
109
|
+
position: sticky;
|
|
110
|
+
top: 0;
|
|
111
|
+
z-index: 1;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.AppFrame-header {
|
|
116
|
+
flex: 0 0 auto;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.AppFrame-tray {
|
|
120
|
+
overflow: hidden;
|
|
121
|
+
flex: 0 0 auto;
|
|
122
|
+
background: linear-gradient(to bottom, var(--color-border-default) -#{$spacer-3}, var(--color-canvas-inset) #{$spacer-2});
|
|
123
|
+
|
|
124
|
+
@keyframes flash-tray--appear {
|
|
125
|
+
from {
|
|
126
|
+
opacity: 0;
|
|
127
|
+
transform: translateY(-$spacer-4);
|
|
128
|
+
}
|
|
129
|
+
to {
|
|
130
|
+
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@include breakpoint(md) {
|
|
135
|
+
padding: $spacer-2 $spacer-3;
|
|
136
|
+
border-bottom: $border-width $border-style var(--color-border-default);
|
|
137
|
+
|
|
138
|
+
.Flash {
|
|
139
|
+
animation: flash-tray--appear 160ms 80ms both cubic-bezier(0.33, 1, 0.68, 1);
|
|
140
|
+
|
|
141
|
+
& + .Flash {
|
|
142
|
+
margin-top: $spacer-2;
|
|
143
|
+
animation-delay: 160ms;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&:empty {
|
|
149
|
+
display: none;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// FIXME: use theme-high-contrast mixin
|
|
153
|
+
@at-root :is([data-color-mode="light"][data-light-theme$='high_contrast'], [data-color-mode="dark"][data-dark-theme$='high_contrast']) & {
|
|
154
|
+
background: var(--color-canvas-inset);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.AppFrame-body {
|
|
159
|
+
flex: 1 0;
|
|
160
|
+
height: 100%;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.AppFrame-footer {
|
|
164
|
+
border-top: $border-width $border-style var(--color-border-default);
|
|
165
|
+
background: var(--color-canvas-inset);
|
|
166
|
+
padding: $spacer-3;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
.AppHeader {
|
|
2
|
+
--AppHeader-bg: #F6F8FA; /* bg.subtle? */
|
|
3
|
+
|
|
4
|
+
background: var(--AppHeader-bg);
|
|
5
|
+
color: var(--color-fg-default);
|
|
6
|
+
|
|
7
|
+
// Global bar
|
|
8
|
+
|
|
9
|
+
.AppHeader-globalBar {
|
|
10
|
+
padding: 16px;
|
|
11
|
+
display: flex;
|
|
12
|
+
gap: 16px;
|
|
13
|
+
|
|
14
|
+
.AppHeader-logo {
|
|
15
|
+
flex: 0 0 auto;
|
|
16
|
+
display: grid;
|
|
17
|
+
|
|
18
|
+
button, a {
|
|
19
|
+
grid-area: 1 / 1;
|
|
20
|
+
display: block;
|
|
21
|
+
width: 32px;
|
|
22
|
+
height: 32px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
button {
|
|
26
|
+
padding: 0;
|
|
27
|
+
border: none;
|
|
28
|
+
border-radius: 100%;
|
|
29
|
+
outline-offset: 2px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
a {
|
|
33
|
+
grid-area: 1 / 1;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
text-indent: 20em;
|
|
36
|
+
color: transparent;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.AppHeader-context {
|
|
41
|
+
flex: 1 1 auto;
|
|
42
|
+
height: 32px;
|
|
43
|
+
//background: #ececec;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.AppHeader-user {
|
|
47
|
+
flex: 0 0 auto;
|
|
48
|
+
width: 32px;
|
|
49
|
+
height: 32px;
|
|
50
|
+
border: none;
|
|
51
|
+
border-radius: 100%;
|
|
52
|
+
outline-offset: 2px;
|
|
53
|
+
background: var(--color-neutral-muted);
|
|
54
|
+
|
|
55
|
+
img {
|
|
56
|
+
display: block;
|
|
57
|
+
width: 100%;
|
|
58
|
+
height: 100%;
|
|
59
|
+
border-radius: 100%;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Local bar
|
|
65
|
+
|
|
66
|
+
.AppHeader-localBar {
|
|
67
|
+
padding: 0 16px 16px;
|
|
68
|
+
//background: lightcyan;
|
|
69
|
+
box-shadow: inset 0 -1px var(--color-border-default);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.AppHeader-logo {
|
|
73
|
+
border-radius: 100%;
|
|
74
|
+
outline-offset: -2px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// AppHeader items
|
|
78
|
+
|
|
79
|
+
.AppHeader-item {
|
|
80
|
+
flex: 0 0 auto;
|
|
81
|
+
background: lightpink;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.AppHeader-item--full {
|
|
85
|
+
flex-grow: 1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.AppHeader-button {
|
|
89
|
+
display: block;
|
|
90
|
+
width: 32px;
|
|
91
|
+
height: 32px;
|
|
92
|
+
border: 1px solid var(--color-border-default);
|
|
93
|
+
padding: 8px;
|
|
94
|
+
border-radius: 6px;
|
|
95
|
+
color: var(--color-fg-muted);
|
|
96
|
+
|
|
97
|
+
svg {
|
|
98
|
+
color: inherit;
|
|
99
|
+
display: block !important;
|
|
100
|
+
color: inherit !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:hover {
|
|
104
|
+
background: var(--color-action-list-item-default-hover-bg);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&:active {
|
|
108
|
+
background: var(--color-action-list-item-default-active-bg);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
package/app/index.scss
ADDED
package/dist/alerts.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.flash{position:relative;padding:
|
|
1
|
+
.flash{position:relative;padding:16px;border-style:solid;border-width:1px;border-radius:6px}.flash p:last-child{margin-bottom:0}.flash .octicon{margin-right:12px}.flash-messages{margin-bottom:24px}.flash-close{float:right;padding:16px;margin:-16px;text-align:center;cursor:pointer;background:none;border:0;-webkit-appearance:none;appearance:none}.flash-close:hover{opacity:.7}.flash-close:active{opacity:.5}.flash-close .octicon{margin-right:0}.flash-action{float:right;margin-top:-3px;margin-left:24px;background-clip:padding-box}.flash-action.btn .octicon{margin-right:4px;color:var(--color-fg-muted)}.flash-action.btn-primary{background-clip:border-box}.flash-action.btn-primary .octicon{color:inherit}.flash{color:var(--color-fg-default);background-image:linear-gradient(var(--color-accent-subtle), var(--color-accent-subtle));border-color:var(--color-accent-muted)}.flash .octicon{color:var(--color-accent-fg)}.flash-warn{color:var(--color-fg-default);background-image:linear-gradient(var(--color-attention-subtle), var(--color-attention-subtle));border-color:var(--color-attention-muted)}.flash-warn .octicon{color:var(--color-attention-fg)}.flash-error{color:var(--color-fg-default);background-image:linear-gradient(var(--color-danger-subtle), var(--color-danger-subtle));border-color:var(--color-danger-muted)}.flash-error .octicon{color:var(--color-danger-fg)}.flash-success{color:var(--color-fg-default);background-image:linear-gradient(var(--color-success-subtle), var(--color-success-subtle));border-color:var(--color-success-muted)}.flash-success .octicon{color:var(--color-success-fg)}.flash-full{margin-top:-1px;border-width:1px 0;border-radius:0}.flash-banner{position:fixed;top:0;z-index:90;width:100%;border-top:0;border-right:0;border-left:0;border-radius:0}.flash-full,.flash-banner{background-color:var(--color-canvas-default)}.warning{padding:.5em;margin-bottom:.8em;font-weight:600;background-color:var(--color-attention-subtle)}.Flash{position:relative;display:grid;padding:8px;border:1px solid;border-radius:6px;grid-auto-flow:column;grid-template-areas:"visual message actions close";grid-template-columns:min-content 1fr min-content min-content;grid-template-rows:min-content;color:var(--color-fg-default);background-image:linear-gradient(var(--color-accent-subtle), var(--color-accent-subtle));border-color:var(--color-accent-muted)}@media(max-width: 543.98px){.Flash{grid-template-areas:"visual message close" " . actions actions";grid-template-columns:min-content 1fr min-content;grid-template-rows:min-content min-content}.Flash .Flash-actions{margin:8px 0 0 8px}}.Flash .Flash-visual{grid-area:visual;padding:calc((32px - 20px)/2) 8px;display:grid;align-self:start}.Flash .Flash-visual>.octicon{margin-block:calc((4px)/2)}.Flash .Flash-visual>*{align-self:center}.Flash .Flash-message{padding:calc((32px - 20px)/2) 8px;grid-area:message;align-self:center}.Flash .Flash-message p:last-child{margin-bottom:0}.Flash .Flash-actions{grid-area:actions}.Flash .Flash-actions:last-child{align-self:end}.Flash .Flash-close{grid-area:close;margin:0 0 0 8px}.Flash .Flash-close button:hover{background-color:var(--color-action-list-item-default-hover-bg)}.Flash .Flash-visual .octicon{color:var(--color-accent-fg)}.Flash.Flash--warning{color:var(--color-fg-default);background-image:linear-gradient(var(--color-attention-subtle), var(--color-attention-subtle));border-color:var(--color-attention-muted)}.Flash.Flash--warning .Flash-visual .octicon{color:var(--color-attention-fg)}.Flash.Flash--error{color:var(--color-fg-default);background-image:linear-gradient(var(--color-danger-subtle), var(--color-danger-subtle));border-color:var(--color-danger-muted)}.Flash.Flash--error .Flash-visual .octicon{color:var(--color-danger-fg)}.Flash.Flash--success{color:var(--color-fg-default);background-image:linear-gradient(var(--color-success-subtle), var(--color-success-subtle));border-color:var(--color-success-muted)}.Flash.Flash--success .Flash-visual .octicon{color:var(--color-success-fg)}.Flash.Flash--full{margin-top:-1px;border-left:0;border-right:0;border-radius:0}@media(max-width: 767.98px){.Flash.Flash--full-whenNarrow{margin-top:-1px;border-left:0;border-right:0;border-radius:0}}
|
|
2
2
|
/*# sourceMappingURL=alerts.css.map */
|
package/dist/alerts.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["file:///home/runner/work/css/css/src/alerts/index.scss%23sass"],"names":[],"mappings":"AA8iBA,OAAA,iBACE,CAA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BAAA,CAAA,CAAA,qBAAA,gBAAA,CAAA,iCAAA,CAAA,YAAA,CAAA,gBAAA,CAAA,8BAAA,0BAAA,CAAA,uBAAA,iBAAA,CAAA,sBAAA,iCAAA,CAAA,iBAAA,CAAA,iBAAA,CAAA,mCAAA,eAAA,CAAA,sBAAA,iBAAA,CAAA,iCAAA,cAAA,CAAA,oBAAA,eAAA,CAAA,gBAAA,CAAA,iCAAA,+DAAA,CAAA,8BAAA,4BAAA,CAAA,sBAAA,6BAAA,CAAA,8FAAA,CAAA,yCAAA,CAAA,6CAAA,+BAAA,CAAA,oBAAA,6BAAA,CAAA,wFAAA,CAAA,sCAAA,CAAA,2CAAA,4BAAA,CAAA,sBAAA,6BAAA,CAAA,0FAAA,CAAA,uCAAA,CAAA,6CAAA,6BAAA,CAAA,mBAAA,eAAA,CAAA,aAAA,CAAA,cAAA,CAAA,eAAA,CAAA,4BAAA,8BAAA,eAAA,CAAA,aAAA,CAAA,cAAA,CAAA,eAAA,CAAA","file":"alerts.css"}
|
package/dist/app.css
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.AppFrame .AppFrame-a11yNav{position:absolute;padding:8px 24px 8px 8px;inset:-200px auto auto 8px;background:#f6f8fa;z-index:1000;min-width:50vw}.AppFrame .AppFrame-a11yNav ul,.AppFrame .AppFrame-a11yNav li{list-style:none;margin:0;padding:0}.AppFrame .AppFrame-a11yNav ul{display:flex;align-items:center;gap:8px}.AppFrame .AppFrame-a11yNav:focus-within{inset-block-start:8px}@media(max-width: 767.98px){.AppFrame .AppFrame-a11yNav:focus-within{inset-inline-end:8px}.AppFrame .AppFrame-a11yNav:focus-within ul{justify-content:center}}.AppFrame .AppFrame-a11yLink{transition:none}.AppFrame .AppFrame-a11yLink:not(:focus){width:8px;height:8px;display:block;overflow:hidden;text-indent:20em;border-radius:100%;background:var(--color-border-default);-webkit-user-select:none;user-select:none}.AppFrame .AppFrame-a11yLink:focus{display:block;z-index:20;width:auto;height:auto;overflow:auto;border-radius:24px;min-height:32px;padding:calc((32px - 20px)/2) 16px;line-height:20px;background:var(--color-accent-fg);color:var(--color-fg-on-emphasis)}@media(prefers-reduced-motion: no-preference){.AppFrame .AppFrame-a11yLink:focus{animation:AppFrame-a11yLink-focus 200ms ease-out}}@keyframes AppFrame-a11yLink-focus{0%{transform:scale(0.3, 0.25);color:var(--color-accent-fg)}50%{transform:scale(1, 1);color:var(--color-accent-fg)}55%{color:var(--color-fg-on-emphasis)}100%{transform:scaleX(1)}}.AppFrame:has(.AppFrame-a11yNav:focus-within) .AppHeader-context{opacity:0}.AppFrame .AppFrame-main{display:flex;flex-direction:column;min-height:100vh}.AppFrame .AppFrame-header-wrapper{position:relative;overflow:visible;height:min-content}.AppFrame .AppFrame-header-wrapper .AppFrame-header{position:sticky;top:0;z-index:1}.AppFrame .AppFrame-header{flex:0 0 auto}.AppFrame .AppFrame-tray{overflow:hidden;flex:0 0 auto;background:linear-gradient(to bottom, var(--color-border-default) -16px, var(--color-canvas-inset) 8px)}@keyframes flash-tray--appear{from{opacity:0;transform:translateY(-24px)}to{opacity:1}}@media(min-width: 768px){.AppFrame .AppFrame-tray{padding:8px 16px;border-bottom:1px solid var(--color-border-default)}.AppFrame .AppFrame-tray .Flash{animation:flash-tray--appear 160ms 80ms both cubic-bezier(0.33, 1, 0.68, 1)}.AppFrame .AppFrame-tray .Flash+.Flash{margin-top:8px;animation-delay:160ms}}.AppFrame .AppFrame-tray:empty{display:none}:is([data-color-mode=light][data-light-theme$=high_contrast],[data-color-mode=dark][data-dark-theme$=high_contrast]) .AppFrame .AppFrame-tray{background:var(--color-canvas-inset)}.AppFrame .AppFrame-body{flex:1 0;height:100%}.AppFrame .AppFrame-footer{border-top:1px solid var(--color-border-default);background:var(--color-canvas-inset);padding:16px}.AppHeader{--AppHeader-bg: #F6F8FA;background:var(--AppHeader-bg);color:var(--color-fg-default)}.AppHeader .AppHeader-globalBar{padding:16px;display:flex;gap:16px}.AppHeader .AppHeader-globalBar .AppHeader-logo{flex:0 0 auto;display:grid}.AppHeader .AppHeader-globalBar .AppHeader-logo button,.AppHeader .AppHeader-globalBar .AppHeader-logo a{grid-area:1/1;display:block;width:32px;height:32px}.AppHeader .AppHeader-globalBar .AppHeader-logo button{padding:0;border:none;border-radius:100%;outline-offset:2px}.AppHeader .AppHeader-globalBar .AppHeader-logo a{grid-area:1/1;overflow:hidden;text-indent:20em;color:transparent}.AppHeader .AppHeader-globalBar .AppHeader-context{flex:1 1 auto;height:32px}.AppHeader .AppHeader-globalBar .AppHeader-user{flex:0 0 auto;width:32px;height:32px;border:none;border-radius:100%;outline-offset:2px;background:var(--color-neutral-muted)}.AppHeader .AppHeader-globalBar .AppHeader-user img{display:block;width:100%;height:100%;border-radius:100%}.AppHeader .AppHeader-localBar{padding:0 16px 16px;box-shadow:inset 0 -1px var(--color-border-default)}.AppHeader .AppHeader-logo{border-radius:100%;outline-offset:-2px}.AppHeader .AppHeader-item{flex:0 0 auto;background:#ffb6c1}.AppHeader .AppHeader-item--full{flex-grow:1}.AppHeader .AppHeader-button{display:block;width:32px;height:32px;border:1px solid var(--color-border-default);padding:8px;border-radius:6px;color:var(--color-fg-muted)}.AppHeader .AppHeader-button svg{color:inherit;display:block !important;color:inherit !important}.AppHeader .AppHeader-button:hover{background:var(--color-action-list-item-default-hover-bg)}.AppHeader .AppHeader-button:active{background:var(--color-action-list-item-default-active-bg)}
|
|
2
|
+
/*# sourceMappingURL=app.css.map */
|
package/dist/app.css.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file:///home/runner/work/css/css/src/app/index.scss%23sass"],"names":[],"mappings":"AAkjBE,4BAAA,iBAAA,CAAA,wBAAA,CAAA,0BAAA,CAAA,kBAAA,CAAA,YAAA,CAAA,cAAA,CAAA,8DAAA,eAAA,CAAA,QAAA,CAAA,SAAA,CAAA,+BAAA,YAAA,CAAA,kBAAA,CAAA,OAAA,CAAA,yCAAA,qBAAA,CAAA,4BAAA,yCAAA,oBA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