-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathexample.css
More file actions
109 lines (96 loc) · 2.75 KB
/
example.css
File metadata and controls
109 lines (96 loc) · 2.75 KB
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
/**
* Copyright 2023 Red Hat
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
:root {
--ws-code-editor--tooltip--MaxWidth: 16ch;
}
.ws-code-editor:not(.ws-example-code-expanded) > .pf-v6-c-code-editor__header::before {
--pf-v6-c-code-editor__header--before--BorderBottomWidth: 0;
}
.ws-code-editor-control {
--pf-v6-c-button--m-control--BackgroundColor: transparent;
--pf-v6-c-button--m-control--active--BackgroundColor: transparent;
--pf-v6-c-button--m-control--focus--BackgroundColor: transparent;
--pf-v6-c-button--m-control--hover--BackgroundColor: transparent;
}
.ws-code-editor-control.pf-v6-c-button {
--pf-v6-c-button--after--BorderWidth: 0;
}
.ws-example-page-wrapper {
min-width: 825px;
max-width: 1200px;
flex-grow: 1;
}
.ws-preview__thumbnail-link {
position: relative;
line-height: 0;
overflow: hidden;
display: inline-block;
}
.ws-preview__thumbnail-link::before,
.ws-preview__thumbnail-link::after {
position: absolute;
z-index: var(--pf-t--global--z-index--sm);
transition: .2s;
opacity: 0;
}
.ws-preview__thumbnail-link:hover::before,
.ws-preview__thumbnail-link:hover::after {
opacity: 1;
}
.ws-preview__thumbnail-link::before {
top: 0;
right: 0;
bottom: 0;
left: 0;
content: '';
background-color: rgba(0,0,0,.5);
}
.ws-preview__thumbnail-link::after {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: "Font Awesome 5 Free";
content: "\f35d";
font-size: 52px;
color: rgba(255,255,255,.4);
}
.ws-preview__thumbnail-link::after {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: "Font Awesome 5 Free";
content: "\f35d";
font-size: 52px;
color: rgba(255,255,255,.4);
}
.ws-prop-required {
color: var(--pf-t--global--text--color--status--danger--default);
}
.ws-full-page-utils {
position: fixed;
right: 0;
bottom: 0;
padding: var(--pf-t--global--spacer--lg);
z-index: var(--pf-t--global--z-index--2xl);
}
.ws-full-page-utils::before {
position: absolute;
inset: 0;
content: "";
background-color: var(--pf-t--global--background--color--floating--default);
opacity: 0.8;
box-shadow: var(--pf-t--global--box-shadow--sm);
}