-
Notifications
You must be signed in to change notification settings - Fork 0
/
LicenseSelector.css
198 lines (170 loc) · 4.02 KB
/
LicenseSelector.css
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
html {
font-family: sans-serif;
}
.background {
background-image: linear-gradient(
45deg,
hsl(197deg 100% 62%) 0%,
hsl(199deg 81% 56%) 11%,
hsl(201deg 67% 50%) 22%,
hsl(203deg 69% 44%) 33%,
hsl(205deg 70% 39%) 44%,
hsl(208deg 72% 33%) 56%,
hsl(211deg 74% 28%) 67%,
hsl(214deg 79% 22%) 78%,
hsl(218deg 88% 17%) 89%,
hsl(225deg 97% 12%) 100%
);
background-repeat: no-repeat;
background-attachment: fixed;
}
.BlueColor {
color: #6CB1E1
}
.GreenColor {
color: #6EE16C
}
.RedColor {
color: #FF4E4E
}
code-input {
height: calc(100% - 32px)!important;
width: auto!important;
margin-left: 4px;
margin-top: 4px;
}
code-input pre code::-webkit-scrollbar {
display: none!important; /* Safari and Chrome */
}
code-input textarea {
cursor: auto;
}
.resizable-content {
display:inline-block;
margin: 10px;
box-shadow: 8px 8px rgba(10,10,10,0.5);
border-radius: 10px;
resize: both;
height: 285px;
width: 650px;
overflow: hidden;
background-color: #2E3440;
vertical-align: top;
height: calc(auto + 16px);
}
.preview{
display:block;
color: white;
background-color: #2E3440;
box-shadow: 8px 8px rgba(10,10,10,0.5);
border-radius: 10px;
width: fit-content;
padding: 10px;
font-family: "IBM Plex Mono", monospace;
font-size: 85%;
height: 455px;
}
.preview * {
margin: 0px;
padding: 0px;
}
.preview a{
color: #FF4E4E;
}
.preview a:hover{
color: #FD70E1;
}
a:hover {
color: #FD70E1;
}
a {
color: #FF4E4E;
}
.controls {
padding: 10px;
margin: 10px;
}
.controls select {
width: 270px;
}
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
visibility: hidden; /* Hidden by default. Visible on click */
min-width: 250px; /* Set a default minimum width */
margin-left: -125px; /* Divide value of min-width by 2 */
background-color: #2E3440; /* Black background color */
color: #fff; /* White text color */
text-align: center; /* Centered text */
border-radius: 20px; /* Rounded borders */
padding: 16px; /* Padding */
position: fixed; /* Sit on top of the screen */
z-index: 1; /* Add a z-index if needed */
left: 50%; /* Center the snackbar */
bottom: 30px; /* 30px from the bottom */
box-shadow: 3px 3px rgba(10,10,10,0.7);
}
/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
visibility: visible; /* Show the snackbar */
/* Add animation: Take 0.5 seconds to fade in and out the snackbar.
However, delay the fade out process for 2.5 seconds */
-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
}
@keyframes fadein {
from {bottom: 0; opacity: 0;}
to {bottom: 30px; opacity: 1;}
}
@-webkit-keyframes fadeout {
from {bottom: 30px; opacity: 1;}
to {bottom: 0; opacity: 0;}
}
@keyframes fadeout {
from {bottom: 30px; opacity: 1;}
to {bottom: 0; opacity: 0;}
}
#error {
color: red;
}
.titleArea {
background-color: #2E3440;
border-radius: 20px;
box-shadow: 8px 8px rgba(10,10,10,0.5);
width: fit-content;
padding: 2px;
margin-left: 10px;
color:white;
}
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(255,255,255,0.5);
}
::-webkit-scrollbar-corner {
background: transparent;
}
.githubInfo {
padding: 5px;
margin-left: 15px;
}
.title {
margin-left: 15px;
}
.favicon {
vertical-align: text-bottom;
}
.column {
display: inline-block;
vertical-align: top;
}