patternfly-sass 3.45.3 → 3.46.0
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.
- checksums.yaml +4 -4
- data/dist/img/bg-login-2.png +0 -0
- data/dist/img/bg-login.png +0 -0
- data/dist/img/rcue-full.svg +221 -0
- data/dist/img/rcue.svg +92 -0
- data/dist/img/redhat_reverse.png +0 -0
- data/dist/js/patternfly-settings-base.js +1 -1
- data/dist/js/patternfly-settings.js +1 -1
- data/dist/js/patternfly-settings.min.js +1 -1
- data/dist/js/patternfly.js +1 -1
- data/dist/js/patternfly.min.js +1 -1
- data/dist/sass/patternfly/_rcue-about-modal.scss +45 -0
- data/dist/sass/patternfly/_rcue-additions.scss +11 -0
- data/dist/sass/patternfly/_rcue-login.scss +75 -0
- data/dist/sass/patternfly/_rcue-variables.scss +57 -0
- data/dist/sass/patternfly/_rcue.scss +6 -0
- data/dist/sass/rcue/_about-modal.scss +44 -0
- data/dist/sass/rcue/_alerts.scss +44 -0
- data/dist/sass/rcue/_badges.scss +11 -0
- data/dist/sass/rcue/_blank-slate.scss +35 -0
- data/dist/sass/rcue/_bootstrap-combobox.scss +35 -0
- data/dist/sass/rcue/_bootstrap-datepicker.scss +132 -0
- data/dist/sass/rcue/_bootstrap-mixin-overrides.scss +33 -0
- data/dist/sass/rcue/_bootstrap-select.scss +108 -0
- data/dist/sass/rcue/_bootstrap-slider.scss +66 -0
- data/dist/sass/rcue/_bootstrap-switch.scss +19 -0
- data/dist/sass/rcue/_bootstrap-touchspin.scss +31 -0
- data/dist/sass/rcue/_bootstrap-treeview.scss +89 -0
- data/dist/sass/rcue/_breadcrumbs.scss +20 -0
- data/dist/sass/rcue/_buttons.scss +50 -0
- data/dist/sass/rcue/_card-view.scss +105 -0
- data/dist/sass/rcue/_cards.scss +238 -0
- data/dist/sass/rcue/_charts.scss +125 -0
- data/dist/sass/rcue/_close.scss +16 -0
- data/dist/sass/rcue/_color-variables.scss +85 -0
- data/dist/sass/rcue/_context-selector.scss +124 -0
- data/dist/sass/rcue/_datatables.scss +186 -0
- data/dist/sass/rcue/_dropdowns.scss +235 -0
- data/dist/sass/rcue/_experimental-features.scss +48 -0
- data/dist/sass/rcue/_filter.scss +38 -0
- data/dist/sass/rcue/_fonts.scss +124 -0
- data/dist/sass/rcue/_footer.scss +19 -0
- data/dist/sass/rcue/_forms.scss +192 -0
- data/dist/sass/rcue/_icons.scss +368 -0
- data/dist/sass/rcue/_infotip.scss +145 -0
- data/dist/sass/rcue/_labels.scss +17 -0
- data/dist/sass/rcue/_layouts.scss +140 -0
- data/dist/sass/rcue/_links.scss +5 -0
- data/dist/sass/rcue/_list-group.scss +18 -0
- data/dist/sass/rcue/_list-pf.scss +177 -0
- data/dist/sass/rcue/_list-view-dnd.scss +53 -0
- data/dist/sass/rcue/_list-view.scss +304 -0
- data/dist/sass/rcue/_login.scss +334 -0
- data/dist/sass/rcue/_mixins.scss +81 -0
- data/dist/sass/rcue/_modals.scss +38 -0
- data/dist/sass/rcue/_nav-vertical-alt.scss +168 -0
- data/dist/sass/rcue/_navbar-alt.scss +141 -0
- data/dist/sass/rcue/_navbar-vertical.scss +153 -0
- data/dist/sass/rcue/_navbar.scss +546 -0
- data/dist/sass/rcue/_notifications-drawer.scss +249 -0
- data/dist/sass/rcue/_pager.scss +68 -0
- data/dist/sass/rcue/_pagination.scss +121 -0
- data/dist/sass/rcue/_panels.scss +134 -0
- data/dist/sass/rcue/_patternfly-additions.scss +74 -0
- data/dist/sass/rcue/_patternfly.scss +31 -0
- data/dist/sass/rcue/_popovers.scss +38 -0
- data/dist/sass/rcue/_progress-bars.scss +121 -0
- data/dist/sass/rcue/_rcue-about-modal.scss +45 -0
- data/dist/sass/rcue/_rcue-login.scss +75 -0
- data/dist/sass/rcue/_rcue-variables.scss +57 -0
- data/dist/sass/rcue/_search.scss +64 -0
- data/dist/sass/rcue/_sidebar.scss +176 -0
- data/dist/sass/rcue/_skip-to-content.scss +12 -0
- data/dist/sass/rcue/_spinner.scss +72 -0
- data/dist/sass/rcue/_syntax-highlighting.scss +36 -0
- data/dist/sass/rcue/_table-view.scss +188 -0
- data/dist/sass/rcue/_tables.scss +90 -0
- data/dist/sass/rcue/_tabs.scss +118 -0
- data/dist/sass/rcue/_time-picker.scss +81 -0
- data/dist/sass/rcue/_toast.scss +75 -0
- data/dist/sass/rcue/_toolbar.scss +190 -0
- data/dist/sass/rcue/_tooltip.scss +15 -0
- data/dist/sass/rcue/_tree-list-view.scss +83 -0
- data/dist/sass/rcue/_type.scss +29 -0
- data/dist/sass/rcue/_variables.scss +580 -0
- data/dist/sass/rcue/_vertical-nav.scss +952 -0
- data/dist/sass/rcue/_wizard.scss +576 -0
- data/lib/patternfly-sass/version.rb +1 -1
- metadata +83 -2
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
//
|
|
2
|
+
// List View Drag and Drop
|
|
3
|
+
// See: https://github.com/marceljuenemann/angular-drag-and-drop-lists
|
|
4
|
+
// --------------------------------------------------
|
|
5
|
+
|
|
6
|
+
.list-view-pf-dnd {
|
|
7
|
+
// Override dnd styles
|
|
8
|
+
.dndDragging {
|
|
9
|
+
&.drag-original {
|
|
10
|
+
display: none;
|
|
11
|
+
// Show when dragging original list items
|
|
12
|
+
.list-view-pf-dnd-original-items {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
// Show dragable list items during move operation
|
|
17
|
+
.list-view-pf-dnd-drag-items {
|
|
18
|
+
display: inline-block;
|
|
19
|
+
}
|
|
20
|
+
// Hide original list items during dnd move operation
|
|
21
|
+
.list-view-pf-dnd-original-items {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
// Override dnd placeholder element for dragging list items to
|
|
26
|
+
.dndPlaceholder {
|
|
27
|
+
background-color: $color-pf-black-200;
|
|
28
|
+
padding: 20px 0;
|
|
29
|
+
}
|
|
30
|
+
// A handle decoration shown to left of each list items row
|
|
31
|
+
.list-group-item-header {
|
|
32
|
+
margin-left: -10px;
|
|
33
|
+
&:before {
|
|
34
|
+
background-image: linear-gradient(to bottom, $color-pf-blue-400 60%, $color-pf-white 0%);
|
|
35
|
+
background-position: left;
|
|
36
|
+
background-repeat: repeat-y;
|
|
37
|
+
background-size: 2px 5px;
|
|
38
|
+
border: 4px solid $color-pf-blue-400;
|
|
39
|
+
border-color: $color-pf-blue-500;
|
|
40
|
+
content: "";
|
|
41
|
+
height: 55px;
|
|
42
|
+
left: 4px;
|
|
43
|
+
position: absolute;
|
|
44
|
+
top: 5px;
|
|
45
|
+
width: 10px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Always hide dragable list items until shown during dnd move operation
|
|
51
|
+
.list-view-pf-dnd-drag-items {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
//
|
|
2
|
+
// List View
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
.list-view-pf {
|
|
7
|
+
.list-group-item {
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
background-clip: padding-box;
|
|
10
|
+
border-color: transparent #fff;
|
|
11
|
+
border-style: solid;
|
|
12
|
+
border-width: 1px;
|
|
13
|
+
@include clearfix(); //IE9 fallback
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-wrap: wrap;
|
|
16
|
+
padding-bottom: 0;
|
|
17
|
+
padding-top: 0;
|
|
18
|
+
&.list-view-pf-expand-active {
|
|
19
|
+
background-color: $list-view-hover-bg;
|
|
20
|
+
box-shadow: 0 2px 6px rgba(3, 3, 3, .2);
|
|
21
|
+
z-index: 1;
|
|
22
|
+
}
|
|
23
|
+
&.active {
|
|
24
|
+
color: $list-group-link-color;
|
|
25
|
+
background-color: $list-view-active-bg;
|
|
26
|
+
background-clip: border-box;
|
|
27
|
+
border-color: $list-view-active-border transparent transparent;
|
|
28
|
+
z-index:auto;
|
|
29
|
+
}
|
|
30
|
+
&:hover {
|
|
31
|
+
background-color: $list-view-hover-bg;
|
|
32
|
+
border-left-color: transparent;
|
|
33
|
+
border-right-color: transparent;
|
|
34
|
+
}
|
|
35
|
+
&.list-view-pf-expand-active {
|
|
36
|
+
border: solid 1px $list-view-active-border;
|
|
37
|
+
&:first-child {
|
|
38
|
+
border-top-color: $list-view-active-border;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
&:first-child {
|
|
42
|
+
border-top: 1px solid transparent;
|
|
43
|
+
}
|
|
44
|
+
@media (min-width: $screen-md-min) {
|
|
45
|
+
align-items: center;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.list-group-item-heading {
|
|
49
|
+
font-size: $font-size-h3;
|
|
50
|
+
small {
|
|
51
|
+
display: block;
|
|
52
|
+
font-size: ($font-size-base * .8);
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
}
|
|
55
|
+
@media (min-width: $screen-md-min) {
|
|
56
|
+
flex: 1 0 unquote("calc(25% - 20px)");
|
|
57
|
+
float: left; // IE9 fallback
|
|
58
|
+
font-size: $font-size-base;
|
|
59
|
+
margin: 0 ($grid-gutter-width/2) 0 0;
|
|
60
|
+
overflow: hidden;
|
|
61
|
+
text-overflow: ellipsis;
|
|
62
|
+
white-space: nowrap;
|
|
63
|
+
width: unquote("calc(25% - 20px)"); // IE9 fallback
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.list-group-item-text {
|
|
67
|
+
color: currentColor !important; // to overwrite color change when active.
|
|
68
|
+
margin-bottom: 10px;
|
|
69
|
+
@media (min-width: $screen-md-min) {
|
|
70
|
+
flex: 1 0 auto; // it covers whats left from the title
|
|
71
|
+
float: left; // IE9 fallback
|
|
72
|
+
margin: 0 $grid-gutter-width 0 0;
|
|
73
|
+
width: unquote("calc(75% - 40px)") // IE9 fallback
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
.close {
|
|
77
|
+
float: none;
|
|
78
|
+
position: absolute;
|
|
79
|
+
right: 15px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
.list-view-pf-actions {
|
|
83
|
+
float: right; // IE9 fallback
|
|
84
|
+
margin-bottom: ($grid-gutter-width/2);
|
|
85
|
+
margin-left: ($grid-gutter-width/2);
|
|
86
|
+
margin-top: ($grid-gutter-width/2);
|
|
87
|
+
order: 2;
|
|
88
|
+
button,
|
|
89
|
+
> a,
|
|
90
|
+
.dropdown-kebab-pf {
|
|
91
|
+
margin-left: ($grid-gutter-width/4);
|
|
92
|
+
}
|
|
93
|
+
.list-view-pf-top-align & {
|
|
94
|
+
align-self: flex-start;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
.list-view-pf-additional-info {
|
|
98
|
+
align-items: center;
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-wrap: wrap;
|
|
101
|
+
@media (min-width: $screen-md-min) {
|
|
102
|
+
flex: 1 0 auto; // it covers whats left from summary
|
|
103
|
+
float: left; // IE9 fallback
|
|
104
|
+
width: 50%; // IE9 fallback
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
.list-view-pf-additional-info-item {
|
|
108
|
+
align-items: center;
|
|
109
|
+
display: inline-block;
|
|
110
|
+
display: flex;
|
|
111
|
+
margin-right: ($grid-gutter-width/2);
|
|
112
|
+
max-width:100%;
|
|
113
|
+
text-align: center;
|
|
114
|
+
&.list-view-pf-additional-info-item-stacked {
|
|
115
|
+
text-align: center;
|
|
116
|
+
flex-direction: column;
|
|
117
|
+
strong {
|
|
118
|
+
font-size: $font-size-h5;
|
|
119
|
+
line-height: 1em;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
.pficon, .fa {
|
|
123
|
+
font-size: $font-size-h3;
|
|
124
|
+
margin-right: ($grid-gutter-width/4);
|
|
125
|
+
}
|
|
126
|
+
strong {
|
|
127
|
+
font-size: $font-size-h3;
|
|
128
|
+
font-weight: 600;
|
|
129
|
+
margin-right: 5px;
|
|
130
|
+
}
|
|
131
|
+
&:last-child {
|
|
132
|
+
margin-right: 0;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
.list-view-pf-additional-info-item-donut-chart { width: 60px; }
|
|
136
|
+
.list-view-pf-body {
|
|
137
|
+
align-items: center;
|
|
138
|
+
display: table-cell; //IE9 fallback
|
|
139
|
+
flex: 1;
|
|
140
|
+
min-width: 0;
|
|
141
|
+
vertical-align: top; //IE9 fallback
|
|
142
|
+
width: 100%; // IE9 fallback, it extends the cell to size of the container
|
|
143
|
+
@media (min-width: $screen-md-min) {
|
|
144
|
+
align-items: center;
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: row;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
.list-view-pf-checkbox {
|
|
150
|
+
border-right: 1px solid $list-view-divider;
|
|
151
|
+
float: left; //IE9 fallback
|
|
152
|
+
margin-bottom: ($grid-gutter-width/2);
|
|
153
|
+
margin-right: 15px;
|
|
154
|
+
margin-top: ($grid-gutter-width/2);
|
|
155
|
+
padding: 3px ($grid-gutter-width/4) 3px 0;
|
|
156
|
+
.list-view-pf-top-align & {
|
|
157
|
+
align-self: flex-start;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
.list-view-pf-description {
|
|
161
|
+
flex: 1 0 50%;
|
|
162
|
+
.list-view-pf-stacked & {
|
|
163
|
+
display: block;
|
|
164
|
+
flex: none; // Fix FF
|
|
165
|
+
}
|
|
166
|
+
@media (min-width: $screen-md-min) {
|
|
167
|
+
align-items: center;
|
|
168
|
+
display: flex;
|
|
169
|
+
float: left; //IE9 fallback
|
|
170
|
+
width: 50%; //IE9 fallback
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
.list-view-pf-left {
|
|
174
|
+
display: table-cell; //IE9 fallback
|
|
175
|
+
padding-right: ($grid-gutter-width/2);
|
|
176
|
+
text-align: center;
|
|
177
|
+
vertical-align: top; //IE9 fallback
|
|
178
|
+
.list-view-pf-calendar {
|
|
179
|
+
font-size: $font-size-small;
|
|
180
|
+
line-height: 1em;
|
|
181
|
+
strong {
|
|
182
|
+
display: block;
|
|
183
|
+
font-size: ($font-size-h2 * 2);
|
|
184
|
+
font-weight: 300;
|
|
185
|
+
line-height: 1em;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
.pficon, .fa {
|
|
189
|
+
border-radius: 50%;
|
|
190
|
+
font-size: 2em;
|
|
191
|
+
// -md is out of alpha order to get correct bg on -danger
|
|
192
|
+
&.list-view-pf-icon-md {
|
|
193
|
+
background-color: $alert-info-bg;
|
|
194
|
+
height: 50px;
|
|
195
|
+
line-height: 50px;
|
|
196
|
+
width: 50px;
|
|
197
|
+
}
|
|
198
|
+
&.list-view-pf-icon-danger {
|
|
199
|
+
background-color: $alert-danger-bg;
|
|
200
|
+
color: $alert-danger-border;
|
|
201
|
+
}
|
|
202
|
+
&.list-view-pf-icon-info {
|
|
203
|
+
color: $alert-info-border;
|
|
204
|
+
}
|
|
205
|
+
&.list-view-pf-icon-lg {
|
|
206
|
+
background-color: $alert-info-bg;
|
|
207
|
+
height: 60px;
|
|
208
|
+
line-height: 60px;
|
|
209
|
+
width: 60px;
|
|
210
|
+
}
|
|
211
|
+
&.list-view-pf-icon-sm {
|
|
212
|
+
border: 2px solid $list-view-accented-border;
|
|
213
|
+
font-size: 1.4em;
|
|
214
|
+
height: 30px;
|
|
215
|
+
line-height: 30px;
|
|
216
|
+
width: 30px;
|
|
217
|
+
&:before {
|
|
218
|
+
display: block;
|
|
219
|
+
line-height: 26px;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
&.list-view-pf-icon-success {
|
|
223
|
+
background-color: $alert-success-bg;
|
|
224
|
+
color: $alert-success-border;
|
|
225
|
+
}
|
|
226
|
+
&.list-view-pf-icon-warning {
|
|
227
|
+
background-color: $alert-warning-bg;
|
|
228
|
+
color: $alert-warning-border;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
.list-view-pf-main-info {
|
|
233
|
+
align-items: flex-start;
|
|
234
|
+
display: flex;
|
|
235
|
+
flex: 1;
|
|
236
|
+
min-width: 0;
|
|
237
|
+
padding-bottom: ($grid-gutter-width/2);
|
|
238
|
+
padding-top: ($grid-gutter-width/2);
|
|
239
|
+
@media (min-width: $screen-md-min) {
|
|
240
|
+
align-items: center;
|
|
241
|
+
.list-view-pf-top-align & {
|
|
242
|
+
align-items: flex-start;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
.list-view-pf-stacked {
|
|
247
|
+
.list-group-item-heading {
|
|
248
|
+
float: none; // IE9 fallback
|
|
249
|
+
font-size: $font-size-h3;
|
|
250
|
+
line-height: 1.2em;
|
|
251
|
+
margin-bottom: 5px;
|
|
252
|
+
margin-right: $grid-gutter-width;
|
|
253
|
+
width: auto; // IE9 fallback
|
|
254
|
+
}
|
|
255
|
+
.list-group-item-text {
|
|
256
|
+
float: none;
|
|
257
|
+
width: auto;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
.list-view-pf-view {
|
|
261
|
+
background: $list-group-top-border;
|
|
262
|
+
border: none;
|
|
263
|
+
margin-top: 30px;
|
|
264
|
+
}
|
|
265
|
+
.list-group-item-header {
|
|
266
|
+
box-sizing: content-box;
|
|
267
|
+
cursor: pointer;
|
|
268
|
+
margin: 0 -15px;
|
|
269
|
+
padding: 0 15px; //filling the width of the list item
|
|
270
|
+
width: 100%;
|
|
271
|
+
}
|
|
272
|
+
.list-view-pf-expand {
|
|
273
|
+
cursor: pointer;
|
|
274
|
+
float: left; //IE9 fallback
|
|
275
|
+
margin-bottom: ($grid-gutter-width/2);
|
|
276
|
+
margin-right: 2px;
|
|
277
|
+
margin-top: ($grid-gutter-width/2);
|
|
278
|
+
padding: 3px 0;
|
|
279
|
+
&.active,
|
|
280
|
+
&:hover {
|
|
281
|
+
color: $link-color;
|
|
282
|
+
}
|
|
283
|
+
.list-view-pf-additional-info-item & {
|
|
284
|
+
margin: 0;
|
|
285
|
+
padding: 0;
|
|
286
|
+
}
|
|
287
|
+
.fa-angle-right {
|
|
288
|
+
cursor: pointer;
|
|
289
|
+
font-size: ($font-size-large+3);
|
|
290
|
+
margin-right: 5px;
|
|
291
|
+
margin-top: 2px;
|
|
292
|
+
width: 10px;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
.list-group-item-container {
|
|
296
|
+
background: #fff;
|
|
297
|
+
border-top: solid 1px $list-view-active-border;
|
|
298
|
+
box-sizing: content-box;
|
|
299
|
+
margin: -1px -15px 0;
|
|
300
|
+
order: 3;
|
|
301
|
+
padding: 15px;
|
|
302
|
+
position: relative;
|
|
303
|
+
width: 100%;
|
|
304
|
+
}
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Login
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
.login-pf {
|
|
6
|
+
height: 100%;
|
|
7
|
+
background: $login-bg-color url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-bg-login}"), "#{$img-path}#{$img-bg-login}")) repeat-x 50% 0;
|
|
8
|
+
background-size: auto;
|
|
9
|
+
@media (min-width: $screen-sm-min) {
|
|
10
|
+
background-size: 100% auto;
|
|
11
|
+
}
|
|
12
|
+
#brand {
|
|
13
|
+
position: relative;
|
|
14
|
+
top: -70px;
|
|
15
|
+
img {
|
|
16
|
+
display: block;
|
|
17
|
+
height: 18px;
|
|
18
|
+
margin: 0 auto;
|
|
19
|
+
max-width: 100%;
|
|
20
|
+
@media (min-width: $screen-sm-min) {
|
|
21
|
+
margin: 0;
|
|
22
|
+
text-align: left;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
#badge {
|
|
27
|
+
display: block;
|
|
28
|
+
margin: 20px auto 70px;
|
|
29
|
+
position: relative;
|
|
30
|
+
text-align: center;
|
|
31
|
+
@media (min-width: $screen-sm-min) {
|
|
32
|
+
float: right;
|
|
33
|
+
margin-right: 64px;
|
|
34
|
+
margin-top: 50px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
body {
|
|
38
|
+
background: $login-bg-color url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$img-path}#{$img-bg-login}"), "#{$img-path}#{$img-bg-login}")) repeat-x 50% 0;
|
|
39
|
+
background-size: auto;
|
|
40
|
+
@media (min-width: $screen-sm-min) {
|
|
41
|
+
background-size: 100% auto;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.container {
|
|
45
|
+
background-color: $login-container-bg-color-rgba;
|
|
46
|
+
clear: right;
|
|
47
|
+
color: $color-pf-white;
|
|
48
|
+
padding-bottom: 40px;
|
|
49
|
+
padding-top: 20px;
|
|
50
|
+
width: auto;
|
|
51
|
+
@media (min-width: $screen-sm-min) {
|
|
52
|
+
bottom: 13%;
|
|
53
|
+
padding-left: 80px;
|
|
54
|
+
position: absolute;
|
|
55
|
+
width: 100%;
|
|
56
|
+
}
|
|
57
|
+
.details {
|
|
58
|
+
p:first-child {
|
|
59
|
+
border-top: 1px solid rgba($color-pf-white, (30/100));
|
|
60
|
+
padding-top: 25px;
|
|
61
|
+
margin-top: 25px;
|
|
62
|
+
}
|
|
63
|
+
@media (min-width: $screen-sm-min) {
|
|
64
|
+
p:first-child {
|
|
65
|
+
border-top: 0;
|
|
66
|
+
padding-top: 0;
|
|
67
|
+
margin-top: 0;
|
|
68
|
+
}
|
|
69
|
+
border-left: 1px solid rgba($color-pf-white, (30/100));
|
|
70
|
+
padding-left: 40px;
|
|
71
|
+
}
|
|
72
|
+
p {
|
|
73
|
+
margin-bottom: 2px;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
.form-horizontal {
|
|
77
|
+
.control-label {
|
|
78
|
+
font-size: ($font-size-base + 1);
|
|
79
|
+
font-weight: 400;
|
|
80
|
+
text-align: left;
|
|
81
|
+
}
|
|
82
|
+
.form-group:last-child {
|
|
83
|
+
&,
|
|
84
|
+
.help-block:last-child {
|
|
85
|
+
margin-bottom: 0;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
.help-block {
|
|
90
|
+
color: $color-pf-white;
|
|
91
|
+
}
|
|
92
|
+
.login {
|
|
93
|
+
@media (min-width: $screen-sm-min) {
|
|
94
|
+
padding-right: 40px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
.submit {
|
|
98
|
+
text-align: right;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
//
|
|
104
|
+
// Login
|
|
105
|
+
// The following styles are for the new login
|
|
106
|
+
// --------------------------------------------------
|
|
107
|
+
.login-pf-page {
|
|
108
|
+
.login-pf-brand {
|
|
109
|
+
margin-top: $login-pf-brand-margin-top;
|
|
110
|
+
max-width:360px;
|
|
111
|
+
width: 70%;
|
|
112
|
+
@media (min-width: $screen-sm-min) {
|
|
113
|
+
margin-top: $login-pf-brand-desktop-margin-top;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
.login-pf-page-header {
|
|
117
|
+
margin-bottom: $login-pf-page-header-margin-bottom;
|
|
118
|
+
@media (min-width: $screen-sm-min) {
|
|
119
|
+
margin-bottom: $login-pf-page-header-desktop-margin-bottom;
|
|
120
|
+
}
|
|
121
|
+
text-align: center;
|
|
122
|
+
p {
|
|
123
|
+
color: $color-pf-white;
|
|
124
|
+
font-size: $font-size-large;
|
|
125
|
+
margin-left: auto;
|
|
126
|
+
margin-right: auto;
|
|
127
|
+
margin-top: $login-pf-page-header-paragraph-margin-top;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
.card-pf {
|
|
131
|
+
padding: $login-pf-card-pf-padding;
|
|
132
|
+
margin-bottom: 0;
|
|
133
|
+
@media (min-width: $screen-sm-min) {
|
|
134
|
+
padding: $login-pf-card-pf-desktop-padding;
|
|
135
|
+
}
|
|
136
|
+
p {
|
|
137
|
+
color: $color-pf-black-600;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
.form-control {
|
|
141
|
+
height: ceil(($input-height-base + 10px ));
|
|
142
|
+
}
|
|
143
|
+
.checkbox-label {
|
|
144
|
+
color: $color-pf-black-600;
|
|
145
|
+
font-weight: 300;
|
|
146
|
+
margin-bottom: $login-pf-checkbox-label-margin-bottom;
|
|
147
|
+
@media (min-width: $screen-sm-min) {
|
|
148
|
+
margin: 0;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
.btn-primary {
|
|
152
|
+
margin-top: $login-pf-btn-primary-margin-top;
|
|
153
|
+
}
|
|
154
|
+
.login-pf-header {
|
|
155
|
+
margin-bottom: $login-pf-header-margin-bottom;
|
|
156
|
+
@media (min-width: $screen-sm-min) {
|
|
157
|
+
margin-bottom:$login-pf-header-desktop-margin-bottom;
|
|
158
|
+
}
|
|
159
|
+
display:flex;
|
|
160
|
+
flex-direction: column;
|
|
161
|
+
h1, p {
|
|
162
|
+
text-align: center;
|
|
163
|
+
}
|
|
164
|
+
h1 {
|
|
165
|
+
font-size: $font-size-h3;
|
|
166
|
+
@media (min-width: $screen-sm-min) {
|
|
167
|
+
font-size: $font-size-h1;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
//this is ugly but neccessary to get the desired style :(
|
|
171
|
+
.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
|
|
172
|
+
width: auto;
|
|
173
|
+
align-self: flex-end;
|
|
174
|
+
.dropdown-toggle {
|
|
175
|
+
color: $color-pf-black-700;
|
|
176
|
+
background: none;
|
|
177
|
+
padding:0 $login-pf-dropdown-toggle-padding-right 0 0;
|
|
178
|
+
font-weight: 300;
|
|
179
|
+
&:not(:focus) {
|
|
180
|
+
box-shadow: none;
|
|
181
|
+
border: 1px solid transparent;
|
|
182
|
+
}
|
|
183
|
+
.caret {
|
|
184
|
+
right: 0;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
.login-pf-signup {
|
|
190
|
+
margin: $login-pf-signup-margin-top 0 0;
|
|
191
|
+
font-size: ceil(($font-size-base * 1.25));
|
|
192
|
+
text-align: center;
|
|
193
|
+
a {
|
|
194
|
+
margin-left: $login-pf-signup-a-margin-left;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
.login-pf-settings {
|
|
198
|
+
display: flex;
|
|
199
|
+
justify-content: space-between;
|
|
200
|
+
flex-wrap: wrap;
|
|
201
|
+
}
|
|
202
|
+
.login-pf-page-footer {
|
|
203
|
+
display: flex;
|
|
204
|
+
justify-content: center;
|
|
205
|
+
flex-wrap:wrap;
|
|
206
|
+
&-links {
|
|
207
|
+
display: flex;
|
|
208
|
+
margin: $login-pf-page-footer-links-margin-top 0 0 0;
|
|
209
|
+
li:not(:last-of-type) {
|
|
210
|
+
position: relative;
|
|
211
|
+
margin: 0 $login-pf-page-footer-links-li-margin-right 0 0;
|
|
212
|
+
&:after {
|
|
213
|
+
content:".";
|
|
214
|
+
color: $color-pf-white;
|
|
215
|
+
position: absolute;
|
|
216
|
+
top: 0px;
|
|
217
|
+
right: -10px;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
&-link {
|
|
222
|
+
color: $color-pf-white;
|
|
223
|
+
font-size: $font-size-large;
|
|
224
|
+
}
|
|
225
|
+
&-sso-services {
|
|
226
|
+
flex: 1 0 100%;
|
|
227
|
+
margin-top: $login-pf-page-footer-sso-margin-top;
|
|
228
|
+
text-align: center;
|
|
229
|
+
color: $color-pf-white;
|
|
230
|
+
&-logos {
|
|
231
|
+
display: flex;
|
|
232
|
+
flex-wrap: wrap;
|
|
233
|
+
padding: 0;
|
|
234
|
+
margin: 0;
|
|
235
|
+
list-style: none;
|
|
236
|
+
justify-content: center;
|
|
237
|
+
li {
|
|
238
|
+
margin: 0 $login-pf-page-footer-sso-logos-li-margin $login-pf-page-footer-sso-logos-li-margin;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}//login-pf-footer
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
// The following styles are for the login page with different account options
|
|
246
|
+
// --------------------------------------------------------------------------
|
|
247
|
+
|
|
248
|
+
&.login-pf-page-accounts {
|
|
249
|
+
margin-left: $login-pf-page-accounts-margin;
|
|
250
|
+
margin-right: $login-pf-page-accounts-margin;
|
|
251
|
+
}
|
|
252
|
+
.login-pf-accounts {
|
|
253
|
+
display: flex;
|
|
254
|
+
justify-content: space-between;
|
|
255
|
+
flex-wrap: wrap;
|
|
256
|
+
.login-pf-header, .login-pf-signup {
|
|
257
|
+
flex-basis: 100%;
|
|
258
|
+
}
|
|
259
|
+
max-width: $login-pf-card-pf-max-width;
|
|
260
|
+
margin-left: auto;
|
|
261
|
+
margin-right: auto;
|
|
262
|
+
}
|
|
263
|
+
.login-pf-social-section {
|
|
264
|
+
flex-basis: 100%;
|
|
265
|
+
padding:0;
|
|
266
|
+
@media (min-width: $screen-sm-min) {
|
|
267
|
+
flex:0 1 50%;
|
|
268
|
+
max-width:50%;// this is for IE10/11 that doesn't consider padding with box-sizing on flex-children.
|
|
269
|
+
}
|
|
270
|
+
@media (min-width: $screen-sm-min) {
|
|
271
|
+
&:first-of-type {
|
|
272
|
+
padding-right: $login-pf-accounts-section-heading-desktop-padding-right;
|
|
273
|
+
}
|
|
274
|
+
&:last-of-type {
|
|
275
|
+
padding-left: ceil(($login-pf-accounts-section-heading-desktop-padding-left - 1px));
|
|
276
|
+
border-left: 1px solid $color-pf-black-300;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}//social-section
|
|
280
|
+
.login-pf-social {
|
|
281
|
+
margin: $login-pf-social-margin;
|
|
282
|
+
@media (min-width: $screen-sm-min) {
|
|
283
|
+
margin: 0;
|
|
284
|
+
&-double-col {
|
|
285
|
+
flex-wrap: wrap;
|
|
286
|
+
display: flex;
|
|
287
|
+
justify-content: space-between;
|
|
288
|
+
.login-pf-social-link {
|
|
289
|
+
flex-basis: 48%;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
&:not(.login-pf-social-all) {
|
|
295
|
+
.login-pf-social-link-more {
|
|
296
|
+
display: none;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&-link {
|
|
301
|
+
margin-bottom: $login-pf-accounts-link-margin-bottom;
|
|
302
|
+
a {
|
|
303
|
+
display: block;
|
|
304
|
+
padding: $login-pf-accounts-link-a-padding 0;
|
|
305
|
+
font-size: $font-size-large;
|
|
306
|
+
background: $color-pf-black-150;
|
|
307
|
+
text-align: center;
|
|
308
|
+
color: $color-pf-black-600;
|
|
309
|
+
img {
|
|
310
|
+
margin: 0 $login-pf-accounts-link-img-margin-right 0 0;
|
|
311
|
+
width: 20px;
|
|
312
|
+
height: 20px;
|
|
313
|
+
}
|
|
314
|
+
&:hover {
|
|
315
|
+
text-decoration: none;
|
|
316
|
+
background: $color-pf-black-200;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
&-toggle {
|
|
321
|
+
float: right;
|
|
322
|
+
padding: 0;
|
|
323
|
+
.caret {
|
|
324
|
+
margin-left: $login-pf-accounts-more-caret-margin-left;
|
|
325
|
+
}
|
|
326
|
+
&-active {
|
|
327
|
+
.caret {
|
|
328
|
+
transform: rotate(-180deg);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
}//login-pf-page
|