forked from ZachSaucier/Just-Read
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.css
136 lines (120 loc) · 1.97 KB
/
options.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
* { box-sizing: border-box; }
body {
padding: 0 50px 20px;
}
h1 {
border-bottom: 1px solid #d8d8d8;
padding-bottom: 13px;
}
h1 i {
color: #27AAE1;
}
input[type="checkbox"] {
margin-bottom: 0;
vertical-align: bottom;
}
label {
margin-top: 3px;
}
.theme-section {
border: 1px solid;
padding: 8px;
white-space: nowrap;
margin-bottom: 10px;
}
.stylesheets {
padding-left: 15px;
}
.stylesheets li {
cursor: pointer;
padding-bottom: 3px;
}
.stylesheets .active {
background: lightblue;
}
.stylesheets .used {
font-weight: bold;
font-style: italic;
}
.stylesheets .locked {
color: grey;
}
.theme-section h4 {
margin-top: 20px;
margin-bottom: 5px;
}
#domainList {
width: 515px;
}
.controls-container {
margin: 10px 0;
}
.editor-container {
margin-bottom: 2em;
}
.editor {
height: 300px;
position: relative;
border: 1px solid;
overflow: auto;
}
.view-other-stylesheets {
margin-top: 7px;
}
#css-editor {
width: 100%;
height: 100%;
resize: none;
padding: 5px;
margin-top: 0;
}
#save,
#use {
position: relative;
}
#save::before,
#use::before {
content: "Saved!";
position: absolute;
left: 50%;
margin-left: -29px;
bottom: 180%;
padding: 6px 8px;
border-radius: 5px;
border: 1px solid black;
background-color: white;
opacity: 0;
height: 0;
pointer-events: none;
}
#save.saved::before,
#use.used::before {
animation: fadeInAndOut 2s forwards;
}
#use::before {
content: 'Done!';
}
.additional-options {
background-color: white;
border: 1px solid;
padding: 8px;
overflow: auto;
}
.additional-options label {
display: block;
}
.additional-options .theme-section {
border: none;
padding: 0;
}
@keyframes fadeInAndOut {
0%, 100% {
height: auto;
opacity: 0;
transform: translateY(30px);
}
10%, 90% {
opacity: 1;
transform: translateY(0px);
}
}