Debian Codegraph @

pkg/users/users.scss

raw
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 @use "ct-card";
3 @use "page";
4
5 // Import utilities for `pf-u...` classes
6 @use "@patternfly/patternfly/utilities/Spacing/spacing.css";
7 @use "global-variables.scss";
8
9 #account .pf-v6-c-card {
10 @extend .ct-card;
11 }
12
13 .account-details .pf-v6-c-card__header {
14 margin-block-end: var(--pf-t--global--spacer--lg)
15 }
16
17 #account .pf-v6-l-gallery {
18 --pf-v6-l-gallery--GridTemplateColumns: 1fr;
19 }
20
21 .delete-resource-red {
22 color: var(--pf-t--global--icon--color--status--danger--default);
23 }
24
25 #account-details div.checkbox:first-child {
26 margin-block-start: 0;
27 }
28
29 #account-details div.checkbox:last-child {
30 margin-block-end: 0;
31 }
32
33 .size-text-ct {
34 display: inline;
35 inline-size: 8em;
36 text-align: start;
37 margin: 2px;
38 }
39
40 @media (min-width: 500px) {
41 .modal-sm-ct {
42 inline-size: 32rem;
43 }
44 }
45
46 .account-column-one {
47 min-inline-size: 280px;
48 display: inline-block;
49 }
50
51 .expiration-modal .pf-v6-c-form__group-control {
52 .pf-v6-c-radio:first-child {
53 padding-block-end: var(--pf-t--global--spacer--sm);
54 }
55 // Work around for https://github.com/patternfly/patternfly/issues/4061
56 .pf-v6-c-radio:nth-child(2) input {
57 align-self: center;
58 }
59 }
60
61 .help-block {
62 white-space: pre-wrap;
63 }
64
65 .outline-question-circle-icon {
66 margin-inline-start: var(--pf-t--global--spacer--sm);
67 }
68
69 .accounts-toolbar-header > .pf-v6-c-toolbar__content-section {
70 row-gap: var(--pf-t--global--spacer--sm);
71 }
72
73 .dot {
74 block-size: 20px;
75 inline-size: 20px;
76 border-radius: 50%;
77 display: inline-block;
78 }
79
80 // Iterate through supported PF color names for light and dark modes
81 @each $color in blue yellow {
82 .group-#{"" + $color} {
83 background-color: var(--pf-t--color--#{$color}--30);
84
85 .pf-v6-theme-dark & {
86 background-color: var(--pf-t--color--#{$color}--40);
87 }
88 }
89 }
90
91 .group-blue {
92 background-color: var(--pf-t--global--color--nonstatus--blue--default);
93 }
94
95 .group-yellow {
96 background-color: var(--pf-t--global--color--nonstatus--yellow--default);
97 }
98
99 .group-grey {
100 background-color: var(--pf-t--global--color--nonstatus--gray--default);
101 }
102
103 .group-more-btn {
104 font-size: var(--pf-t--global--font--size--body--default);
105 }
106
107 #groups-list td:first-child {
108 vertical-align: middle;
109 }
110
111 // Create new group and Create new account are
112 // different characters and different lengths
113 // This makes buttons the same size.
114 #groups-create, #accounts-create {
115 min-inline-size: 11rem;
116 }
117
118 // We cannot use the PF helper pf-v6-u-ml-lg here, as it doesn't support RTL yet
119 #current-account-badge {
120 margin-inline-start: var(--pf-t--global--spacer--lg);
121 }
122
123 // Pretty sure paths are LTR, even in an RTL display
124 output {
125 direction: ltr;
126 }
127
128 /* Adjust the vertical alignment in the expandable card */
129 .card-groups {
130 .pf-v6-c-card__header-toggle {
131 /* Remove the margin completely so it aligns the toggle with the h2 */
132 margin-block: 0;
133 }
134
135 .pf-v6-c-content--h2 {
136 /* Heading inside of the card brings in extra margin, which causes an offset, so we should remove it */
137 margin: 0;
138 }
139 }