style.css (view raw)
1/* App layout */
2
3html,
4body {
5 height: 100%;
6}
7body {
8 display: flex;
9 flex-flow: column;
10 color: #fff;
11 font: normal 14px Roboto, sans-serif;
12 background-color: #282a36;
13}
14
15#editor {
16 flex-grow: 1;
17 margin-top: -3px;
18 overflow: auto;
19}
20
21#controls,
22#copy,
23footer {
24 background-color: #3b3b47;
25 z-index: 10;
26}
27
28#progress {
29 min-height: 3px;
30 background: #ff79c6;
31 z-index: 15;
32 width: 0;
33}
34
35.hidden,
36select,
37#copy:not(.hidden) + #controls,
38body.readonly .hide-readonly,
39body:not(.readonly) .show-readonly {
40 display: none;
41}
42
43#copy-link {
44 font-family: JetBrainsMono, sans-serif;
45 width: 100%;
46}
47
48/* Styling */
49.shadow-bottom {
50 box-shadow: rgba(0, 0, 0, 0.15) 0 3px 10px;
51}
52.shadow-top {
53 box-shadow: rgba(0, 0, 0, 0.15) 0 -3px 10px;
54}
55a,
56a:hover,
57a:active,
58a:focus {
59 color: #fff;
60 outline: none;
61}
62#controls a,
63#footer a {
64 text-decoration: none;
65}
66.CodeMirror {
67 height: 100%;
68 font-family: JetBrainsMono, sans-serif;
69}
70h1 {
71 font: normal 24px JetBrainsMono, sans-serif;
72 white-space: nowrap;
73}
74.mono {
75 font-family: JetBrainsMono, sans-serif;
76}
77.pink {
78 color: #ff79c6;
79}
80
81/* Modals */
82
83.modal {
84 display: none;
85}
86.modal.is-open {
87 display: block;
88}
89.modal-content {
90 background-color: #3b3b47;
91 max-width: 500px;
92 max-height: 100vh;
93 overflow-y: auto;
94 box-sizing: border-box;
95}
96.modal-overlay {
97 position: fixed;
98 background: rgba(0, 0, 0, 0.2);
99 right: 0;
100 top: 0;
101 left: 0;
102 bottom: 0;
103 z-index: 20;
104 display: flex;
105 justify-content: center;
106 align-items: center;
107}
108
109/* Form elements */
110
111#controls .ss-main {
112 width: 180px;
113}
114
115.ss-main .ss-single-selected,
116button,
117input[type='text'],
118input[type='search'] {
119 background-color: #3b3b47 !important;
120 color: #fff !important;
121 border-radius: 2px !important;
122 border: 1px solid #ccc !important;
123 font: normal 14px Roboto, sans-serif;
124 height: 26px !important;
125}
126
127input::-webkit-search-cancel-button {
128 display: none;
129}
130input::-moz-selection {
131 background-color: rgba(90, 95, 128, 0.99);
132}
133input::selection {
134 background-color: rgba(90, 95, 128, 0.99);
135}
136button {
137 cursor: pointer;
138}
139button:hover {
140 background-color: rgba(255, 255, 255, 0.1) !important;
141}
142.ss-content {
143 background-color: #282936;
144 color: #dedede;
145 font-size: 14px;
146}
147.ss-content .ss-disabled {
148 background-color: #3b3b47 !important;
149}
150
151/* Fonts */
152@font-face {
153 font-family: 'JetBrainsMono';
154 src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2') format('woff2'),
155 url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff') format('woff'),
156 url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/ttf/JetBrainsMono-Regular.ttf') format('truetype');
157 font-weight: 400;
158 font-style: normal;
159}
160
161@font-face {
162 font-family: 'Roboto';
163 font-style: normal;
164 font-weight: 400;
165 font-display: swap;
166 src: local('Roboto'), local('Roboto-Regular'), url(https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2) format('woff2');
167 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
168 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
169}
170
171/* Icons */
172
173@font-face {
174 font-family: 'icomoon';
175 src: url('data:application/x-font-woff;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBdoAAAC8AAAAYGNtYXDpQem4AAABHAAAAFxnYXNwAAAAEAAAAXgAAAAIZ2x5Zjy4A24AAAGAAAAEFGhlYWQY57y7AAAFlAAAADZoaGVhB8IDygAABcwAAAAka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QJAAMADgA9AAMAAQQJAAQADgB8AAMAAQQJAAUAFgAgAAMAAQQJAAYADgBSAAMAAQQJAAoANACkaWNvbW9vbgBpAGMAbwBtAG8AbwBuVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwaWNvbW9vbgBpAGMAbwBtAG8AbwBuaWNvbW9vbgBpAGMAbwBtAG8AbwBuUmVndWxhcgBSAGUAZwB1AGwAYQByaWNvbW9vbgBpAGMAbwBtAG8AbwBuRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==')
176 format('truetype');
177 font-weight: normal;
178 font-style: normal;
179 font-display: block;
180}
181
182[class^='icon-'],
183[class*=' icon-'] {
184 font-family: 'icomoon' !important;
185 speak: none;
186 font-style: normal;
187 font-weight: normal;
188 font-variant: normal;
189 text-transform: none;
190 line-height: 1;
191 -webkit-font-smoothing: antialiased;
192 -moz-osx-font-smoothing: grayscale;
193 font-size: 21px;
194}
195.icon-edit {
196 font-size: 12px;
197}
198
199.icon-question:before {
200 content: '\e900';
201}
202.icon-github:before {
203 content: '\e901';
204}
205.icon-edit:before {
206 content: '\e903';
207}
208.icon-notes:before {
209 content: '\e902';
210}
211.icon-wrap-text:before {
212 content: '\e905';
213}