File: users.scss

package info (click to toggle)
cockpit 337-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 36,232 kB
  • sloc: javascript: 47,090; python: 38,766; ansic: 35,470; xml: 6,048; sh: 3,413; makefile: 614
file content (125 lines) | stat: -rw-r--r-- 2,631 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
@use "ct-card";
@use "page";

// Import utilities for `pf-u...` classes
@use "@patternfly/patternfly/utilities/Spacing/spacing.css";
@use "global-variables.scss";

#account .pf-v6-c-card {
  @extend .ct-card;
}

.account-details .pf-v6-c-card__header {
  margin-block-end: var(--pf-t--global--spacer--lg)
}

#account .pf-v6-l-gallery {
  --pf-v6-l-gallery--GridTemplateColumns: 1fr;
}

.delete-resource-red {
  color: var(--pf-t--global--icon--color--status--danger--default);
}

#account-details div.checkbox:first-child {
  margin-block-start: 0;
}

#account-details div.checkbox:last-child {
  margin-block-end: 0;
}

.size-text-ct {
  display: inline;
  inline-size: 8em;
  text-align: start;
  margin: 2px;
}

@media (min-width: 500px) {
  .modal-sm-ct {
    inline-size: 32rem;
  }
}

.account-column-one {
  min-inline-size: 280px;
  display: inline-block;
}

.expiration-modal .pf-v6-c-form__group-control {
  .pf-v6-c-radio:first-child {
    padding-block-end: var(--pf-t--global--spacer--sm);
  }
  // Work around for https://github.com/patternfly/patternfly/issues/4061
  .pf-v6-c-radio:nth-child(2) input {
    align-self: center;
  }
}

.help-block {
  white-space: pre-wrap;
}

.outline-question-circle-icon {
  margin-inline-start: var(--pf-t--global--spacer--sm);
}

.accounts-toolbar-header > .pf-v6-c-toolbar__content-section {
  row-gap: var(--pf-t--global--spacer--sm);
}

.dot {
  block-size: 20px;
  inline-size: 20px;
  border-radius: 50%;
  display: inline-block;
}

// Iterate through supported PF color names for light and dark modes
@each $color in blue yellow {
  .group-#{"" + $color} {
    background-color: var(--pf-t--color--#{$color}--30);

    .pf-v6-theme-dark & {
      background-color: var(--pf-t--color--#{$color}--40);
    }
  }
}

.group-blue {
  background-color: var(--pf-t--global--color--nonstatus--blue--default);
}

.group-yellow {
  background-color: var(--pf-t--global--color--nonstatus--yellow--default);
}

.group-grey {
  background-color: var(--pf-t--global--color--nonstatus--gray--default);
}

.group-more-btn {
  font-size: var(--pf-t--global--font--size--body--default);
}

#groups-list td:first-child {
  vertical-align: middle;
}

// Create new group and Create new account are
// different characters and different lengths
// This makes buttons the same size.
#groups-create, #accounts-create {
  min-inline-size: 11rem;
}

// We cannot use the PF helper pf-v6-u-ml-lg here, as it doesn't support RTL yet
#current-account-badge {
  margin-inline-start: var(--pf-t--global--spacer--lg);
}

// Pretty sure paths are LTR, even in an RTL display
output {
  direction: ltr;
}