all repos — NoPaste @ cc766d60db3b95aedac5595e18622c4c6d13de67

Resurrected - The PussTheCat.org fork of NoPaste

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