styles.css 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452
  1. @font-face {
  2. font-family: 'Nunito';
  3. font-style: normal;
  4. font-weight: 200 1000;
  5. src: url(/fonts/nunito-variable.woff2) format('woff2');
  6. }
  7. :root {
  8. --bg-color: hsl(206, 12%, 95%);
  9. --text-color: hsl(200, 35%, 25%);
  10. --color-primary: #2196f3;
  11. --outline-color: #14e0ff;
  12. --button-bg: linear-gradient(to right, #e0e0e0, #bdbdbd);
  13. --button-bg-box-shadow-color: rgba(160, 160, 160, 0.5);
  14. --button-bg-primary: linear-gradient(to right, #42a5f5, #2979ff);
  15. --button-bg-primary-box-shadow-color: rgba(66, 165, 245, 0.5);
  16. --button-bg-secondary: linear-gradient(to right, #7e57c2, #6200ea);
  17. --button-bg-secondary-box-shadow-color: rgba(81, 45, 168, 0.5);
  18. --button-bg-danger: linear-gradient(to right, #ee3b3b, #e11c1c);
  19. --button-bg-danger-box-shadow-color: rgba(168, 45, 45, 0.5);
  20. --button-bg-success: linear-gradient(to right, #31b647, #26be3f);
  21. --button-bg-success-box-shadow-color: rgba(25, 221, 51, 50%);
  22. --features-bg: hsl(230, 15%, 92%);
  23. --extensions-bg: hsl(230, 15%, 20%);
  24. --send-icon-hover-color: #673ab7;
  25. --send-spinner-icon-color: hsl(200, 15%, 70%);
  26. --success-icon-color: hsl(144, 40%, 57%);
  27. --error-icon-color: #f24f4f;
  28. --copy-icon-color: hsl(144, 40%, 57%);
  29. --copy-icon-bg-color: hsl(144, 100%, 96%);
  30. --keyframe-slidey-offset: 0;
  31. }
  32. /* ANIMATIONS */
  33. @keyframes spin {
  34. from { transform: rotate(0deg); }
  35. to { transform: rotate(360deg); }
  36. }
  37. @keyframes fadein {
  38. from { opacity: 0 }
  39. to { opacity: 1 }
  40. }
  41. @keyframes slidey {
  42. from { transform: translateY(var(--keyframe-slidey-offset)) }
  43. to { transform: translateY(0) }
  44. }
  45. @keyframes tooltip {
  46. to { opacity: 0.9; transform: translate(-50%, 0); }
  47. }
  48. /* GENERAL */
  49. body {
  50. margin: 0;
  51. padding: 0;
  52. background-color: var(--bg-color);
  53. font: 16px/1.45 'Nunito', sans-serif;
  54. overflow-x: hidden;
  55. color: var(--text-color);
  56. }
  57. * {
  58. box-sizing: border-box;
  59. outline-color: var(--outline-color);
  60. }
  61. *::-moz-focus-inner {
  62. border: none;
  63. }
  64. .hidden {
  65. display: none;
  66. }
  67. hr {
  68. width: 100%;
  69. height: 2px;
  70. outline: none;
  71. border: none;
  72. background-color: hsl(200, 20%, 92%);
  73. }
  74. span.bold { font-weight: bold; }
  75. span.underline { border-bottom: 2px dotted #999; }
  76. .space-between {
  77. display: flex;
  78. justify-content: space-between;
  79. align-items: center;
  80. }
  81. .align-center {
  82. display: flex;
  83. align-items: center;
  84. }
  85. a,
  86. button.link {
  87. color: var(--color-primary);
  88. border-bottom: 1px dotted transparent;
  89. text-decoration: none;
  90. transition: all 0.2s ease-out;
  91. cursor: pointer;
  92. }
  93. a:hover,
  94. button.link:hover {
  95. border-bottom-color: var(--color-primary);
  96. }
  97. a.wrapper-only {
  98. color: inherit;
  99. }
  100. a.nav {
  101. color: inherit;
  102. padding-bottom: 2px;
  103. }
  104. a.nav:hover {
  105. color: var(--color-primary);
  106. }
  107. a.button,
  108. button {
  109. position: relative;
  110. width: auto;
  111. height: 40px;
  112. display: flex;
  113. align-items: center;
  114. justify-content: center;
  115. padding: 0 32px;
  116. font-size: 13px;
  117. font-weight: normal;
  118. text-align: center;
  119. line-height: 1;
  120. word-break: keep-all;
  121. color: #444;
  122. border: none;
  123. border-radius: 100px;
  124. transition: all 0.4s ease-out;
  125. cursor: pointer;
  126. overflow: hidden;
  127. background: var(--button-bg);
  128. box-shadow: 0 5px 6px var(--button-bg-box-shadow-color);
  129. }
  130. a.button.primary,
  131. button.primary {
  132. color: white;
  133. background: var(--button-bg-primary);
  134. box-shadow: 0 5px 6px var(--button-bg-primary-box-shadow-color);
  135. }
  136. a.button.secondary,
  137. button.secondary {
  138. color: white;
  139. background: var(--button-bg-secondary);
  140. box-shadow: 0 5px 6px var(--button-bg-secondary-box-shadow-color);
  141. }
  142. a.button.danger,
  143. button.danger {
  144. color: white;
  145. background: var(--button-bg-danger);
  146. box-shadow: 0 5px 6px var(--button-bg-danger-box-shadow-color);
  147. }
  148. a.button.success,
  149. button.success {
  150. color: white;
  151. background: var(--button-bg-success);
  152. box-shadow: 0 5px 6px var(--button-bg-success-box-shadow-color);
  153. }
  154. a.button:focus,
  155. a.button:hover,
  156. button:focus,
  157. button:hover {
  158. box-shadow: 0 6px 15px var(--button-bg-box-shadow-color);
  159. transform: translateY(-2px) scale(1.02, 1.02);
  160. }
  161. a.button.primary:focus,
  162. a.button.primary:hover,
  163. button.primary:focus,
  164. button.primary:hover {
  165. box-shadow: 0 6px 15px var(--button-bg-primary-box-shadow-color);
  166. }
  167. a.button.secondary:focus,
  168. a.button.secondary:hover,
  169. button.secondary:focus,
  170. button.secondary:hover {
  171. box-shadow: 0 6px 15px var(--button-bg-secondary-box-shadow-color);
  172. }
  173. a.button.danger:focus,
  174. a.button.danger:hover,
  175. button.danger:focus,
  176. button.danger:hover {
  177. box-shadow: 0 6px 15px var(--button-bg-danger-box-shadow-color);
  178. }
  179. a.button.success:focus,
  180. a.button.success:hover,
  181. button.success:focus,
  182. button.success:hover {
  183. box-shadow: 0 6px 15px var(--button-bg-success-box-shadow-color);
  184. }
  185. a.button:disabled,
  186. button:disabled { cursor: default; }
  187. a.button:disabled:hover,
  188. button:disabled:hover { transform: none; }
  189. a.button svg.with-text,
  190. a.button span svg,
  191. button svg.with-text,
  192. button span svg {
  193. width: 1.1em;
  194. height: auto;
  195. margin-right: 0.5rem;
  196. stroke: white;
  197. stroke-width: 2;
  198. }
  199. a.button.action,
  200. button.action {
  201. padding: 5px;
  202. width: 24px;
  203. height: 24px;
  204. box-shadow: 0 2px 1px hsla(200, 15%, 60%, 0.12);
  205. }
  206. a.button.action:disabled,
  207. button.action:disabled {
  208. background: none;
  209. box-shadow: none;
  210. }
  211. a.button.action svg,
  212. button.action svg {
  213. width: 100%;
  214. margin-right: 0;
  215. }
  216. a.button.action.delete,
  217. button.action.delete {
  218. background: hsl(0, 100%, 96%);
  219. }
  220. a.button.action.delete svg,
  221. button.action.delete svg {
  222. stroke-width: 2;
  223. stroke: hsl(0, 100%, 69%);
  224. }
  225. a.button.action.edit,
  226. button.action.edit {
  227. background: hsl(46, 100%, 94%);
  228. }
  229. a.button.action.edit svg,
  230. button.action.edit svg {
  231. stroke-width: 2.5;
  232. stroke: hsl(46, 90%, 50%);
  233. }
  234. a.button.action.qrcode,
  235. button.action.qrcode {
  236. background: hsl(0, 0%, 94%);
  237. }
  238. a.button.action.qrcode svg,
  239. button.action.qrcode svg {
  240. fill: hsl(0, 0%, 35%);
  241. stroke: none;
  242. }
  243. a.button.action.stats,
  244. button.action.stats {
  245. background: hsl(260, 100%, 96%);
  246. }
  247. a.button.action.stats svg,
  248. button.action.stats svg {
  249. stroke-width: 2.5;
  250. stroke: hsl(260, 100%, 69%);
  251. }
  252. a.button.action.ban,
  253. button.action.ban {
  254. background: hsl(10, 100%, 96%);
  255. }
  256. a.button.action.ban svg,
  257. button.action.ban svg {
  258. stroke-width: 2;
  259. stroke: hsl(10, 100%, 40%);
  260. }
  261. a.button.action.password sv,
  262. button.action.password svg,
  263. a.button.action.banned svg,
  264. button.action.banned svg {
  265. stroke-width: 2.5;
  266. stroke: #bbb;
  267. }
  268. button.nav {
  269. box-sizing: border-box;
  270. width: auto;
  271. height: 28px;
  272. display: flex;
  273. flex: 0 0 auto;
  274. align-items: center;
  275. justify-content: center;
  276. padding: 0 8px;
  277. border: none;
  278. border-radius: 4px;
  279. box-shadow: 0 0px 10px rgba(100, 100, 100, 0.1);
  280. background: none;
  281. background-color: white;
  282. transition: all 0.2s ease-in-out;
  283. font-size: 12px;
  284. cursor: pointer;
  285. }
  286. button.nav:disabled {
  287. background-color: #f6f6f6;
  288. box-shadow: 0 0px 5px rgba(150, 150, 150, 0.1);
  289. opacity: 0.9;
  290. color: #bbb;
  291. cursor: default;
  292. }
  293. button.nav svg {
  294. width: 14px;
  295. height: auto;
  296. }
  297. button.nav svg { stroke-width: 2.5; }
  298. button.nav:hover { transform: translateY(-2px); }
  299. button.nav:disabled:hover { transform: none; }
  300. button.table {
  301. height: 32px;
  302. padding: 0 1rem;
  303. font-size: 12px;
  304. border-radius: 3px;
  305. transition: all 0.2s ease-in-out;
  306. box-shadow: 0 1px 2px var(--button-bg-box-shadow-color);
  307. }
  308. button.table:hover {
  309. transform: translateY(-2px);
  310. box-shadow: 0 1px 2px var(--button-bg-box-shadow-color);
  311. }
  312. button.table.primary,
  313. button.primary:focus,
  314. button.primary:hover {
  315. box-shadow: 0 1px 2px var(--button-bg-primary-box-shadow-color);
  316. }
  317. button.table.secondary,
  318. button.secondary:focus,
  319. button.secondary:hover {
  320. box-shadow: 0 1px 2px var(--button-bg-secondary-box-shadow-color);
  321. }
  322. button.table.danger,
  323. button.danger:focus,
  324. button.danger:hover {
  325. box-shadow: 0 1px 2px var(--button-bg-danger-box-shadow-color);
  326. }
  327. button.table.success,
  328. button.success:focus,
  329. button.success:hover {
  330. box-shadow: 0 1px 2px var(--button-bg-success-box-shadow-color);
  331. }
  332. button.link {
  333. position: relative;
  334. width: auto;
  335. height: auto;
  336. display: flex;
  337. align-items: center;
  338. justify-content: flex-start;
  339. padding: 0 0 2px 0;
  340. font-size: 1rem;
  341. font-weight: normal;
  342. border-radius: 0;
  343. text-align: left;
  344. line-height: normal;
  345. word-break: normal;
  346. cursor: pointer;
  347. background: none;
  348. box-shadow: none;
  349. }
  350. button.link:hover {
  351. box-shadow: none;
  352. transform: none;
  353. }
  354. button.link span {
  355. height: 1rem;
  356. }
  357. button.link svg {
  358. stroke: var(--color-primary);
  359. }
  360. svg.spinner {
  361. animation: spin 1s linear infinite, fadein 0.3s ease-in-out;
  362. }
  363. input {
  364. filter: none;
  365. }
  366. input[type="text"],
  367. input[type="email"],
  368. input[type="password"] {
  369. box-sizing: border-box;
  370. width: 240px;
  371. height: 44px;
  372. padding: 0 24px;
  373. font-size: 15px;
  374. letter-spacing: 0.05em;
  375. color: #444;
  376. background-color: white;
  377. border: none;
  378. border-radius: 100px;
  379. border-bottom: 5px solid #f5f5f5;
  380. border-bottom-width: 5px;
  381. box-shadow: 0 10px 35px hsla(200, 15%, 70%, 0.2);
  382. transition: all 0.5s ease-out;
  383. }
  384. input[type="text"]:focus,
  385. input[type="email"]:focus,
  386. input[type="password"]:focus {
  387. outline: none;
  388. box-shadow: 0 20px 35px hsla(200, 15%, 70%, 0.4);
  389. }
  390. input[type="text"]::placeholder,
  391. input[type="email"]::placeholder,
  392. input[type="password"]::placeholder {
  393. font-size: 14px;
  394. letter-spacing: 0.05em;
  395. color: #888;
  396. }
  397. .error input[type="text"],
  398. .error input[type="email"],
  399. .error input[type="password"] {
  400. border-bottom-color: rgba(250, 10, 10, 0.8);
  401. box-shadow: 0 10px 15px hsla(0, 100%, 75%, 0.2);
  402. }
  403. select {
  404. position: relative;
  405. width: 240px;
  406. height: 44px;
  407. padding: 0 24px;
  408. font-size: 15px;
  409. box-sizing: border-box;
  410. letter-spacing: 0.05em;
  411. color: #444;
  412. background-color: white;
  413. box-shadow: 0 10px 35px hsla(200, 15%, 70%, 0.2);
  414. border: none;
  415. border-radius: 100px;
  416. border-bottom: 5px solid #f5f5f5;
  417. border-bottom-width: 5px;
  418. transition: all 0.5s ease-out;
  419. appearance: none;
  420. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%235c666b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  421. background-repeat: no-repeat, repeat;
  422. background-position: right 1.2em top 50%, 0 0;
  423. background-size: 1em auto, 100%;
  424. }
  425. select:focus {
  426. outline: none;
  427. box-shadow: 0 20px 35px hsla(200, 15%, 70%, 0.4);
  428. }
  429. .error select {
  430. border-bottom-color: rgba(250, 10, 10, 0.8);
  431. box-shadow: 0 10px 15px hsla(0, 100%, 75%, 0.2);
  432. }
  433. input[type="checkbox"] {
  434. position: relative;
  435. width: 1rem;
  436. height: 1rem;
  437. display: flex;
  438. align-items: center;
  439. justify-content: center;
  440. border-radius: 4px;
  441. background-color: white;
  442. box-shadow: 0 2px 4px rgba(50, 50, 50, 0.2);
  443. margin: 0;
  444. -webkit-appearance: none;
  445. appearance: none;
  446. cursor: pointer;
  447. }
  448. input[type="checkbox"]:focus {
  449. outline: 3px solid rgba(65, 164, 245, 0.5);
  450. }
  451. input[type="checkbox"]::after {
  452. content: "";
  453. position: absolute;
  454. top: 50%;
  455. left: 50%;
  456. width: 80%;
  457. height: 80%;
  458. display: block;
  459. border-radius: 2px;
  460. background-color: #9575cd;
  461. box-shadow: 0 2px 4px rgba(50, 50, 50, 0.2);
  462. cursor: pointer;
  463. opacity: 0;
  464. transform: translate(-50%, -50%) scale(0);
  465. transition: all 0.1s ease-in-out;
  466. }
  467. input[type="checkbox"]:checked:after {
  468. opacity: 1;
  469. transform: translate(-50%, -50%) scale(1);
  470. }
  471. input.table-input,
  472. select.table-input {
  473. width: auto;
  474. height: 32px;
  475. font-size: 13px;
  476. padding: 0 1.5rem;
  477. border-radius: 3px;
  478. border-bottom-width: 2px;
  479. }
  480. select.table-input {
  481. width: 150px;
  482. }
  483. input.table-input::placeholder {
  484. font-size: 13px;
  485. }
  486. select:has(option[value=""]:checked) {
  487. letter-spacing: 0.05em;
  488. color: #888;
  489. }
  490. label {
  491. display: flex;
  492. color: rgb(41, 71, 86);
  493. font-size: 1rem;
  494. flex-direction: column;
  495. align-items: flex-start;
  496. font-weight: bold;
  497. }
  498. label input {
  499. margin-top: 0.5rem;
  500. }
  501. label.checkbox {
  502. flex-direction: row;
  503. align-items: center;
  504. cursor: pointer;
  505. font-weight: normal;
  506. }
  507. label.checkbox input[type="checkbox"] {
  508. margin: 0 0.75rem 2px 0;
  509. }
  510. p.error,
  511. p.success {
  512. display: flex;
  513. align-items: center;
  514. font-weight: normal;
  515. animation: fadein 0.3s ease-in-out;
  516. }
  517. p.error { color: red; }
  518. p.success { color: #0ea30e; }
  519. table {
  520. width: 100%;
  521. display: flex;
  522. flex-direction: column;
  523. background-color: white;
  524. border-radius: 12px;
  525. box-shadow: 0 6px 15px hsla(200, 20%, 70%, 0.3);
  526. text-align: center;
  527. overflow: auto;
  528. }
  529. table tr {
  530. flex: 1 1 auto;
  531. }
  532. table tr,
  533. table th,
  534. table td,
  535. table thead,
  536. table tfoot {
  537. display: flex;
  538. overflow: hidden;
  539. }
  540. table tbody,
  541. table tr {
  542. overflow: visible;
  543. }
  544. table tbody,
  545. table thead,
  546. table tfoot {
  547. flex-direction: column;
  548. }
  549. table tr {
  550. padding: 0 0.5rem;
  551. border-bottom: 1px solid hsl(200, 14%, 94%);
  552. }
  553. table th,
  554. table td {
  555. flex-basis: 0;
  556. padding: 0.75rem;
  557. }
  558. table td {
  559. position: relative;
  560. white-space: nowrap;
  561. font-size: 15px;
  562. align-items: center;
  563. }
  564. table tbody {
  565. border-bottom-right-radius: 12px;
  566. border-bottom-left-radius: 12px;
  567. animation: fadein 0.3s ease-in-out;
  568. }
  569. table tbody + tfoot {
  570. border: none;
  571. }
  572. table thead {
  573. background-color: hsl(200, 12%, 95%);
  574. border-top-right-radius: 12px;
  575. border-top-left-radius: 12px;
  576. font-weight: bold;
  577. }
  578. table thead tr {
  579. border-bottom: 1px solid hsl(200, 14%, 90%);
  580. }
  581. table tfoot {
  582. background-color: hsl(200, 12%, 95%);
  583. border-bottom-right-radius: 12px;
  584. border-bottom-left-radius: 12px;
  585. }
  586. table tr.loading-placeholder {
  587. flex: 1 1 auto;
  588. justify-content: center;
  589. animation: fadein 0.3s ease-in-out;
  590. }
  591. table tr.loading-placeholder td {
  592. flex: 0 0 auto;
  593. font-size: 18px;
  594. font-weight: 300;
  595. }
  596. table select {
  597. margin-right: 1rem;
  598. }
  599. table .tab {
  600. display: flex;
  601. align-items: center;
  602. }
  603. table .tab a {
  604. position: relative;
  605. display: flex;
  606. align-items: center;
  607. justify-content: center;
  608. padding: 0.4rem 1rem;
  609. margin: 0 0.5rem;
  610. font-size: 12px;
  611. color: var(--text-color);
  612. border: none;
  613. border-radius: 4px;
  614. background-color: white;
  615. cursor: pointer;
  616. box-shadow: 0 0px 10px rgba(100, 100, 100, 0.1);
  617. font-weight: normal;
  618. transition: all 0.2s ease-in-out;
  619. }
  620. table .tab a:first-child { margin-left: 0}
  621. table .tab a.active {
  622. background-color: #f6f6f6;
  623. box-shadow: 0 0px 5px rgba(150, 150, 150, 0.1);
  624. color: #aaa;
  625. font-weight: bold;
  626. opacity: 0.9;
  627. cursor: default;
  628. }
  629. table .tab a:not(.active):hover {
  630. transform: translateY(-2px);
  631. }
  632. .dialog {
  633. position: fixed;
  634. width: 100%;
  635. height: 100%;
  636. top: 0;
  637. left: 0;
  638. display: none;
  639. justify-content: center;
  640. align-items: center;
  641. background-color: rgba(50, 50, 50, 0.8);
  642. z-index: 1000;
  643. animation: fadein 0.2s ease-in-out;
  644. }
  645. .dialog.open { display: flex; }
  646. .dialog .box {
  647. min-width: 450px;
  648. max-width: 90%;
  649. display: flex;
  650. flex-direction: column;
  651. align-items: center;
  652. text-align: center;
  653. padding: 3rem 2rem;
  654. background-color: white;
  655. border-radius: 8px;
  656. --keyframe-slidey-offset: -30px;
  657. animation: slidey 0.2s ease-in-out;
  658. }
  659. .dialog.qrcode .box {
  660. min-width: auto;
  661. padding: 2rem;
  662. }
  663. .dialog .content-wrapper {
  664. display: flex;
  665. flex-direction: column;
  666. }
  667. .dialog .loading {
  668. display: none;
  669. width: 24px;
  670. height: 24px;
  671. margin: 3rem 0;
  672. animation: fadein 0.2s ease-in-out;
  673. }
  674. .dialog.htmx-request .loading {
  675. display: block;
  676. }
  677. .dialog.htmx-request .content-wrapper {
  678. display: none;
  679. }
  680. .dialog .loading svg {
  681. animation: spin 1s linear infinite;
  682. }
  683. .dialog .content {
  684. display: flex;
  685. flex-direction: column;
  686. animation: fadein 0.2s ease-in-out;
  687. }
  688. .dialog .content h2 {
  689. font-weight: bold !important;
  690. margin-bottom: 0.5rem !important;
  691. margin-top: 0;
  692. }
  693. .dialog .content .buttons {
  694. display: flex;
  695. align-items: center;
  696. margin-top: 1.5rem;
  697. }
  698. .dialog .content .buttons button { margin-right: 2rem; }
  699. .dialog .content .buttons button:last-of-type { margin-right: 0; }
  700. .dialog .content {
  701. align-items: center;
  702. }
  703. .dialog .content #dialog-error {
  704. margin-top: 1rem;
  705. margin-bottom: -1rem;
  706. }
  707. .dialog .content .icon {
  708. width: 48px;
  709. height: 48px;
  710. border-radius: 100%;
  711. padding: 5px;
  712. margin-bottom: 1.5rem;
  713. border: 2px solid;
  714. }
  715. .dialog .content .icon svg {
  716. width: 100%;
  717. height: auto;
  718. }
  719. .dialog .content .icon.success {
  720. border-color: var(--success-icon-color);
  721. }
  722. .dialog .content .icon.success svg {
  723. stroke-width: 2;
  724. stroke: var(--success-icon-color);
  725. }
  726. .dialog .content .icon.error {
  727. border-color: var(--error-icon-color);
  728. }
  729. .dialog .content .icon.error svg {
  730. stroke-width: 1.5;
  731. stroke: var(--error-icon-color);
  732. }
  733. .dialog .content svg.spinner {
  734. display: none;
  735. width: 24px;
  736. margin: 0.5rem 0;
  737. }
  738. .dialog .content.htmx-request svg.spinner { display: block; }
  739. .dialog .content.htmx-request button { display: none; }
  740. .dialog .content label { margin: 0.5rem 0; }
  741. .dialog .content input[type="text"],
  742. .dialog .content input[type="password"],
  743. .dialog .content input[type="email"],
  744. .dialog .content select {
  745. width: 320px;
  746. height: 48px;
  747. }
  748. .inputs { display: flex; align-items: flex-start; margin-bottom: 1rem; }
  749. .inputs label { flex: 0 0 0; margin-right: 1rem; }
  750. .inputs label:last-child { margin-right: 0; }
  751. .search-input-wrapper {
  752. position: relative;
  753. }
  754. .search-input-wrapper button {
  755. position: absolute;
  756. display: none;
  757. right: 0;
  758. top: 50%;
  759. width: auto;
  760. height: auto;
  761. padding: 3px;
  762. margin: 0;
  763. background-color: transparent;
  764. background: none;
  765. box-shadow: none;
  766. transform: translateY(-50%);
  767. cursor: pointer;
  768. margin-right: 0.25rem;
  769. transition: all 0.2s ease-in-out;
  770. }
  771. .search-input-wrapper button:hover {
  772. transform: translateY(-55%);
  773. }
  774. .search-input-wrapper svg {
  775. width: 0.9rem;
  776. height: auto;
  777. stroke-width: 2;
  778. stroke: #888;
  779. }
  780. [data-tooltip] {
  781. position: relative;
  782. overflow: visible;
  783. }
  784. [data-tooltip]:before,
  785. [data-tooltip]:after {
  786. position: absolute;
  787. left: 50%;
  788. display: none;
  789. font-size: 11px;
  790. line-height: 1;
  791. opacity: 0;
  792. transform: translate(-50%, -0.5rem);
  793. }
  794. [data-tooltip]:before {
  795. content: "";
  796. border: 4px solid transparent;
  797. top: -4px;
  798. border-bottom-width: 0;
  799. border-top-color: #333;
  800. z-index: 1001;
  801. }
  802. [data-tooltip]:after {
  803. content: attr(data-tooltip);
  804. top: -25px;
  805. text-align: center;
  806. min-width: 1rem;
  807. white-space: nowrap;
  808. overflow: hidden;
  809. text-overflow: ellipsis;
  810. padding: 5px 7px;
  811. border-radius: 4px;
  812. box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
  813. background: #333;
  814. color: #fff;
  815. z-index: 1000;
  816. }
  817. [data-tooltip]:hover:before,
  818. [data-tooltip]:hover:after {
  819. display: block;
  820. }
  821. [data-tooltip]:before,
  822. [data-tooltip]:after,
  823. [data-tooltip]:hover:before,
  824. [data-tooltip]:hover:after {
  825. animation: tooltip 300ms ease-out forwards;
  826. }
  827. /* DISTINCT */
  828. .main-wrapper {
  829. min-height: 100vh;
  830. width: 100%;
  831. display: flex;
  832. flex: 0 0 auto;
  833. align-items: center;
  834. flex-direction: column;
  835. }
  836. .section-container {
  837. max-width: 90%;
  838. flex: 1 1 auto;
  839. display: flex;
  840. flex-direction: column;
  841. align-items: flex-start;
  842. margin-top: 1rem;
  843. }
  844. /* LOGIN & SIGNUP */
  845. form#login-signup {
  846. width: 420px;
  847. max-width: 100%;
  848. flex: 1 1 auto;
  849. display: flex;
  850. padding: 0 16px;
  851. flex-direction: column;
  852. margin: 3rem 0 0;
  853. }
  854. form#login-signup label { margin-bottom: 2rem; }
  855. form#login-signup input {
  856. width: 100%;
  857. height: 72px;
  858. margin-top: 1rem;
  859. padding: 0 3rem;
  860. font-size: 16px;
  861. }
  862. form#login-signup .buttons-wrapper {
  863. display: flex;
  864. align-items: center;
  865. justify-content: space-between;
  866. margin-bottom: 1.5rem;
  867. }
  868. form#login-signup .buttons-wrapper button {
  869. height: 56px;
  870. flex: 0 0 48%;
  871. padding: 0 1rem 2px;
  872. margin: 0;
  873. }
  874. form#login-signup .buttons-wrapper button.full { flex-basis: 100%; }
  875. form#login-signup a.forgot-password {
  876. align-self: flex-start;
  877. font-size: 14px;
  878. }
  879. form#login-signup svg.spinner { display: none; }
  880. form#login-signup.htmx-request:not(.signup) .login svg { display: none; }
  881. form#login-signup.htmx-request:not(.signup) .login svg.spinner { display: block; }
  882. form#login-signup.htmx-request.signup .signup svg.spinner { display: block; }
  883. form#login-signup.htmx-request.signup .signup svg.icon { display: none; }
  884. form#login-signup.htmx-request .error { opacity: 0; }
  885. form#login-signup p.error {
  886. margin-bottom: 0;
  887. }
  888. .admin-form-title {
  889. font-size: 26px;
  890. font-weight: 300;
  891. margin: 0 0 3rem;
  892. text-align: center;
  893. }
  894. .login-signup-message {
  895. flex: 1 1 auto;
  896. margin-top: 3rem;
  897. }
  898. .login-signup-message h1 {
  899. font-weight: 300;
  900. font-size: 24px;
  901. }
  902. /* HEADER */
  903. header {
  904. box-sizing: border-box;
  905. margin: 0;
  906. width: 1232px;
  907. max-width: 100%;
  908. padding: 0 32px;
  909. height: 102px;
  910. justify-content: space-between;
  911. align-items: center;
  912. display: flex;
  913. }
  914. header .logo-wrapper {
  915. display: flex;
  916. align-items: center;
  917. }
  918. header a.logo {
  919. position: relative;
  920. display: flex;
  921. align-items: center;
  922. font-size: 22px;
  923. font-weight: bold;
  924. text-decoration: none;
  925. border: none;
  926. margin: 0;
  927. padding: 0;
  928. }
  929. header a.logo:hover { border: none; color: inherit; }
  930. header .logo img {
  931. margin: 0 12px 0 0;
  932. padding: 0;
  933. }
  934. header ul.logo-links {
  935. list-style: none;
  936. display: flex;
  937. align-items: flex-end;
  938. margin: 0 0 0 0.5rem;
  939. padding: 0;
  940. }
  941. header ul.logo-links li {
  942. padding: 2px 0 0;
  943. margin: 0 0 0 32px;
  944. }
  945. header ul.logo-links li a {
  946. font-size: 1rem;
  947. }
  948. header nav ul {
  949. display: flex;
  950. flex-direction: row-reverse;
  951. align-items: center;
  952. list-style: none;
  953. margin: 0;
  954. padding: 0;
  955. }
  956. header nav ul li {
  957. margin: 0 0 0 2rem;
  958. padding: 0;
  959. }
  960. header nav ul li:last-child { margin-left: 0; }
  961. /* SHORTENER */
  962. main {
  963. width: 800px;
  964. max-width: 100%;
  965. flex: 0 0 auto;
  966. display: flex;
  967. flex-direction: column;
  968. align-items: center;
  969. padding: 0 1rem;
  970. margin-top: 1rem;
  971. }
  972. main #shorturl {
  973. display: flex;
  974. align-items: center;
  975. margin: 1rem 0 3rem;
  976. }
  977. main #shorturl h1 {
  978. margin: 0;
  979. border-bottom: 2px dotted transparent;
  980. font-weight: 300;
  981. font-size: 2rem;
  982. }
  983. main #shorturl h1.link {
  984. cursor: pointer;
  985. border-bottom-color: hsl(200, 35%, 65%);
  986. transition: opacity 0.3s ease-in-out;
  987. --keyframe-slidey-offset: -10px;
  988. animation: fadein 0.2s ease-in-out, slidey 0.2s ease-in-out;
  989. }
  990. main #shorturl h1.link:hover {
  991. opacity: 0.8;
  992. }
  993. .clipboard {
  994. width: 35px;
  995. height: 35px;
  996. display: flex;
  997. margin-right: 1rem;
  998. }
  999. .clipboard button {
  1000. width: 100%;
  1001. height: 100%;
  1002. display: flex;
  1003. margin: 0;
  1004. padding: 7px;
  1005. box-shadow: none;
  1006. outline: none;
  1007. border: none;
  1008. background: none;
  1009. border-radius: 100%;
  1010. background-color: var(--copy-icon-bg-color);
  1011. transition: transform 0.4s ease-out;
  1012. box-shadow: 0 2px 1px hsla(200, 15%, 60%, 0.12);
  1013. cursor: pointer;
  1014. --keyframe-slidey-offset: -10px;
  1015. animation: slidey 0.2s ease-in-out;
  1016. }
  1017. .clipboard.small { width: 24px; height: 24px; }
  1018. .clipboard.small button { width: 24px; height: 24px; padding: 5px; }
  1019. .clipboard button:hover,
  1020. .clipboard button:focus {
  1021. transform: translateY(-2px) scale(1.02, 1.02);
  1022. }
  1023. .clipboard button:focus {
  1024. outline: 3px solid rgba(65, 164, 245, 0.5);
  1025. }
  1026. .clipboard svg {
  1027. stroke: var(--copy-icon-color);
  1028. width: 100%;
  1029. height: auto;
  1030. }
  1031. .clipboard svg.copy {
  1032. stroke-width: 2.5;
  1033. }
  1034. .clipboard svg.check {
  1035. display: none;
  1036. padding: 3px;
  1037. stroke-width: 3;
  1038. --keyframe-slidey-offset: -10px;
  1039. animation: slidey 0.2s ease-in-out;
  1040. }
  1041. .clipboard.copied button {
  1042. background-color: transparent;
  1043. box-shadow: none;
  1044. }
  1045. .clipboard.copied button { display: none; }
  1046. .clipboard.copied svg.check { display: block; }
  1047. main #shorturl h1 span {
  1048. border-bottom: 1px dotted #999;
  1049. }
  1050. main form {
  1051. position: relative;
  1052. width: 100%;
  1053. display: flex;
  1054. flex-direction: column;
  1055. }
  1056. main form input#target {
  1057. position: relative;
  1058. width: 100%;
  1059. height: 72px;
  1060. display: flex;
  1061. padding: 0 84px 0 40px;
  1062. font-size: 20px;
  1063. }
  1064. main form input#target::placeholder {
  1065. font-size: 17px;
  1066. }
  1067. main form p.error {
  1068. font-size: 13px;
  1069. margin-left: 0.5rem;
  1070. }
  1071. main form .target-wrapper p.error {
  1072. font-size: 15px;
  1073. margin-left: 1rem;
  1074. }
  1075. main form .target-wrapper {
  1076. position: relative;
  1077. width: 100%;
  1078. height: auto;
  1079. }
  1080. main form button.submit {
  1081. box-sizing: content-box;
  1082. position: absolute;
  1083. cursor: pointer;
  1084. width: 28px;
  1085. height: auto;
  1086. right: 0;
  1087. top: 16px;
  1088. padding: 4px;
  1089. margin: 0 2rem 0;
  1090. background: none;
  1091. box-shadow: none;
  1092. outline: none;
  1093. border: none;
  1094. }
  1095. main form button.submit:focus,
  1096. main form button.submit:hover {
  1097. outline: none;
  1098. }
  1099. main form button.submit svg.send {
  1100. fill: #aaa;
  1101. animation: fadein 0.3s ease-in-out;
  1102. transition: fill 0.2s ease-in-out;
  1103. }
  1104. main form button.submit:hover svg.send {
  1105. fill: var(--send-icon-hover-color);
  1106. }
  1107. main form button.submit svg.spinner {
  1108. display: none;
  1109. fill: none;
  1110. stroke: var(--send-spinner-icon-color);
  1111. stroke-width: 2;
  1112. }
  1113. main form.htmx-request button.submit svg.send { display: none; }
  1114. main form.htmx-request button.submit svg.spinner { display: block; }
  1115. main form label#advanced {
  1116. margin-top: 2rem;
  1117. align-self: flex-start;
  1118. }
  1119. main form label#advanced input {
  1120. width: 1.1rem;
  1121. height: 1.1rem;
  1122. margin-bottom: 2px;
  1123. }
  1124. #advanced-options {
  1125. display: flex;
  1126. flex-direction: column;
  1127. margin-top: 1.5rem;
  1128. }
  1129. #advanced-options.hidden { display: none; }
  1130. .advanced-input-wrapper {
  1131. width: 100%;
  1132. display: flex;
  1133. align-items: flex-start;
  1134. margin-bottom: 1rem;
  1135. }
  1136. .advanced-input-wrapper label {
  1137. flex: 1 1 0;
  1138. padding-right: 1rem;
  1139. }
  1140. .advanced-input-wrapper label.expire-in { flex: 1 1 34%; }
  1141. .advanced-input-wrapper label.description { flex: 1 1 65%; }
  1142. .advanced-input-wrapper label:last-child { padding-right: 0; }
  1143. .advanced-input-wrapper label input,
  1144. .advanced-input-wrapper label select {
  1145. width: 100%;
  1146. margin-top: 0.5rem;
  1147. }
  1148. /* MAIN TABLE */
  1149. #main-table-wrapper {
  1150. width: 1200px;
  1151. max-width: 100%;
  1152. display: flex;
  1153. flex-direction: column;
  1154. flex: 1 1 auto;
  1155. align-items: flex-start;
  1156. padding: 0 1rem;
  1157. margin: 7rem 0 7.5rem;
  1158. }
  1159. #main-table-wrapper h2 {
  1160. font-weight: 300;
  1161. margin-bottom: 1rem;
  1162. }
  1163. #main-table-wrapper table thead,
  1164. #main-table-wrapper table tbody,
  1165. #main-table-wrapper table tfoot {
  1166. min-width: 1000px;
  1167. }
  1168. #main-table-wrapper tr {
  1169. padding: 0 0.5rem;
  1170. }
  1171. #main-table-wrapper th,
  1172. #main-table-wrapper td {
  1173. padding: 1rem;
  1174. }
  1175. #main-table-wrapper td {
  1176. font-size: 1rem;
  1177. }
  1178. #main-table-wrapper table .original-url { flex: 7 7 0; }
  1179. #main-table-wrapper table .created-at { flex: 2.5 2.5 0; }
  1180. #main-table-wrapper table .short-link { flex: 3 3 0; }
  1181. #main-table-wrapper.admin-table-wrapper table .short-link { overflow: visible; }
  1182. #main-table-wrapper table .views { flex: 1 1 0; justify-content: flex-end; }
  1183. #main-table-wrapper table .actions { flex: 3 3 0; justify-content: flex-end; overflow: visible; }
  1184. #main-table-wrapper table .actions a.button,
  1185. #main-table-wrapper table .actions button { margin-right: 0.5rem; }
  1186. #main-table-wrapper table .actions a.button:last-child,
  1187. #main-table-wrapper table .actions button:last-child { margin-right: 0; }
  1188. #main-table-wrapper table .users-id { flex: 3 3 0; justify-content: flex-end; }
  1189. #main-table-wrapper table .users-email { flex: 9 9 0; }
  1190. #main-table-wrapper table .users-created-at { flex: 4 4 0; }
  1191. #main-table-wrapper table .users-updated-at { flex: 4 4 0; }
  1192. #main-table-wrapper table .users-verified { flex: 3 3 0; overflow: visible; }
  1193. #main-table-wrapper table .users-role { flex: 2 2 0; overflow: visible; }
  1194. #main-table-wrapper table .users-links-count { flex: 3 3 0; justify-content: flex-end; overflow: visible; }
  1195. #main-table-wrapper table .users-actions { flex: 2 2 0; }
  1196. #main-table-wrapper table .domains-id { flex: 2 2 0; justify-content: flex-end; }
  1197. #main-table-wrapper table .domains-address { flex: 7 7 0; }
  1198. #main-table-wrapper table .domains-homepage { flex: 5 5 0; }
  1199. #main-table-wrapper table .domains-created-at { flex: 3 3 0; }
  1200. #main-table-wrapper table .domains-links-count { flex: 3 3 0; justify-content: flex-end; overflow: visible; }
  1201. #main-table-wrapper table .domains-actions { flex: 2 2 0; }
  1202. #main-table-wrapper table td.original-url,
  1203. #main-table-wrapper table td.created-at,
  1204. #main-table-wrapper.admin-table-wrapper table td.short-link,
  1205. #main-table-wrapper table td.users-email,
  1206. #main-table-wrapper table td.domains-address,
  1207. #main-table-wrapper table td.users-created-at,
  1208. #main-table-wrapper table td.users-verified {
  1209. flex-direction: column;
  1210. align-items: flex-start;
  1211. justify-content: center;
  1212. }
  1213. table .short-link-wrapper { display: flex; align-items: center; }
  1214. #main-table-wrapper table td .description {
  1215. display: flex;
  1216. align-items: center;
  1217. margin: 0;
  1218. font-size: 14px;
  1219. color: #888;
  1220. }
  1221. #main-table-wrapper table td .description a {
  1222. color: #aaa;
  1223. border-bottom-color: #aaa;
  1224. }
  1225. #main-table-wrapper table td .description svg {
  1226. stroke: #aaa;
  1227. stroke-width: 2;
  1228. width: 0.85em;
  1229. margin-right: 0.25rem;
  1230. }
  1231. #main-table-wrapper table td .description span { color: #aaa; }
  1232. #main-table-wrapper table td .description a:hover { border-bottom-color: transparent; }
  1233. #main-table-wrapper table .status {
  1234. font-size: 11px;
  1235. font-weight: bold;
  1236. padding: 4px 12px;
  1237. border-radius: 12px;
  1238. margin-top: 0.25rem;
  1239. }
  1240. #main-table-wrapper table .status:first-child {
  1241. margin-top: 0;
  1242. }
  1243. #main-table-wrapper table .status.gray { background-color: hsl(200, 12%, 95%); }
  1244. #main-table-wrapper table .status.green { background-color: hsl(102.4, 100%, 93.3%); }
  1245. #main-table-wrapper table .status.red { background-color: hsl(0, 100%, 96.7%); }
  1246. #main-table-wrapper table tr.no-data {
  1247. flex: 1 1 auto;
  1248. justify-content: center;
  1249. animation: fadein 0.3s ease-in-out;
  1250. }
  1251. #main-table-wrapper table.htmx-request tbody tr { opacity: 0.5; }
  1252. #main-table-wrapper table tr.loading-placeholder { opacity: 0.6 !important; }
  1253. #main-table-wrapper table tr.loading-placeholder td,
  1254. #main-table-wrapper table tr.no-data td {
  1255. flex: 0 0 auto;
  1256. font-size: 18px;
  1257. font-weight: 300;
  1258. }
  1259. #main-table-wrapper table tr.loading-placeholder svg.spinner {
  1260. width: 1rem;
  1261. height: auto;
  1262. margin-right: 0.5rem;
  1263. stroke-width: 1.5;
  1264. }
  1265. #main-table-wrapper table thead tr.controls { justify-content: space-between; }
  1266. #main-table-wrapper table thead tr.controls.with-filters { align-items: flex-end; }
  1267. #main-table-wrapper table tfoot tr.controls { justify-content: flex-end; }
  1268. #main-table-wrapper table th.search {
  1269. flex: 1 1 auto;
  1270. align-items: center;
  1271. }
  1272. #main-table-wrapper table th.filters {
  1273. flex: 1 1 auto;
  1274. flex-direction: column;
  1275. align-items: start;
  1276. }
  1277. #main-table-wrapper table th.filters > div {
  1278. display: flex;
  1279. align-items: center;
  1280. margin-bottom: 1rem;
  1281. }
  1282. #main-table-wrapper table th.filters > div:last-child { margin-bottom: 0; }
  1283. #main-table-wrapper table th.nav {
  1284. flex: 0 0 auto;
  1285. align-items: center;
  1286. }
  1287. #main-table-wrapper table tr.controls .checkbox {
  1288. margin-left: 1rem;
  1289. font-size: 15px;
  1290. }
  1291. #main-table-wrapper table .limit,
  1292. #main-table-wrapper table .pagination {
  1293. display: flex;
  1294. align-items: center;
  1295. }
  1296. #main-table-wrapper table button.nav { margin-right: 0.75rem; }
  1297. #main-table-wrapper table button.nav:last-child { margin-right: 0; }
  1298. #main-table-wrapper table .nav-divider {
  1299. height: 20px;
  1300. width: 1px;
  1301. opacity: 0.4;
  1302. background-color: #888;
  1303. margin: 0 1.5rem;
  1304. }
  1305. #main-table-wrapper table tbody tr:hover {
  1306. background-color: hsl(200, 14%, 98%);
  1307. }
  1308. #main-table-wrapper table tbody td.right-fade:after {
  1309. content: "";
  1310. position: absolute;
  1311. right: 0;
  1312. top: 0;
  1313. height: 100%;
  1314. width: 16px;
  1315. background: linear-gradient(to left, white, rgba(255, 255, 255, 0.001));
  1316. }
  1317. #main-table-wrapper table tbody tr:hover td.right-fade:after {
  1318. background: linear-gradient(to left, hsl(200, 14%, 98%), rgba(255, 255, 255, 0.001));
  1319. }
  1320. #main-table-wrapper table .clipboard { margin-right: 0.5rem; }
  1321. #main-table-wrapper table .clipboard svg.check { width: 24px; }
  1322. #main-table-wrapper table tr.edit {
  1323. background-color: #fafafa;
  1324. }
  1325. #main-table-wrapper table tr.edit td {
  1326. width: 100%;
  1327. padding: 2rem 1.5rem;
  1328. flex-basis: auto;
  1329. }
  1330. #main-table-wrapper table tr.edit td form {
  1331. width: 100;
  1332. display: flex;
  1333. flex-direction: column;
  1334. align-items: flex-start;
  1335. }
  1336. #main-table-wrapper table tr.edit td form > div {
  1337. width: 100%;
  1338. display: flex;
  1339. align-items: start;
  1340. }
  1341. #main-table-wrapper table tr.edit label { margin: 0 0.5rem 1rem; }
  1342. #main-table-wrapper table tr.edit label:first-child { margin-left: 0; }
  1343. #main-table-wrapper table tr.edit label:last-child { margin-right: 0; }
  1344. #main-table-wrapper table tr.edit input {
  1345. height: 44px;
  1346. padding: 0 1.5rem;
  1347. font-size: 15px;
  1348. }
  1349. #main-table-wrapper table tr.edit input,
  1350. #main-table-wrapper table tr.edit input + p {
  1351. width: 240px;
  1352. max-width: 100%;
  1353. font-size: 14px;
  1354. text-wrap: wrap;
  1355. text-align: left;
  1356. }
  1357. #main-table-wrapper table tr.edit input[name="target"],
  1358. #main-table-wrapper table tr.edit input[name="description"],
  1359. #main-table-wrapper table tr.edit input[name="target"] + p,
  1360. #main-table-wrapper table tr.edit input[name="description"] + p {
  1361. width: 420px;
  1362. }
  1363. #main-table-wrapper table tr.edit button {
  1364. height: 38px;
  1365. margin-right: 1rem;
  1366. }
  1367. #main-table-wrapper table tr.edit button:last-child { margin-right: 0; }
  1368. #main-table-wrapper table tr.edit form {
  1369. --keyframe-slidey-offset: -5px;
  1370. animation: fadein 0.3s ease-in-out, slidey 0.32s ease-in-out;
  1371. }
  1372. #main-table-wrapper table tr.edit form.no-animation { animation: none; }
  1373. #main-table-wrapper table tr.edit { display: none; }
  1374. #main-table-wrapper table tr.edit.show { display: flex; }
  1375. #main-table-wrapper table tr.edit td.loading { display: none; }
  1376. #main-table-wrapper table tr.edit.htmx-request td.loading { display: block; }
  1377. #main-table-wrapper table tr.edit td.loading svg { width: 16px; height: 16px; }
  1378. #main-table-wrapper table tr.edit form.htmx-request button .reload { display: none; }
  1379. #main-table-wrapper table tr.edit form button .loader { display: none; }
  1380. #main-table-wrapper table tr.edit form.htmx-request button .loader { display: inline-block; }
  1381. #main-table-wrapper table tr.edit form .response p { margin: 2rem 0 0; }
  1382. #main-table-wrapper table tr.edit p.no-data {
  1383. width: 100%;
  1384. text-align: center;
  1385. }
  1386. .dialog .ban-checklist {
  1387. display: flex;
  1388. align-items: center;
  1389. }
  1390. .dialog .ban-checklist label { margin: 1rem 1.5rem 1rem 0; }
  1391. .dialog .ban-checklist label:last-child { margin-right: 0; }
  1392. #main-table-wrapper tr.category { justify-content: space-between; align-items: center; }
  1393. #main-table-wrapper th.category-total { flex: 1 1 auto; }
  1394. #main-table-wrapper th.category-total p { margin: 0; font-size: 15px; font-weight: normal }
  1395. #main-table-wrapper th.category-tab { flex: 2 2 auto; justify-content: flex-end; }
  1396. /* ADMIN */
  1397. table .search-input-wrapper {
  1398. margin-right: 1rem;
  1399. }
  1400. input.search.admin {
  1401. max-width: 200px;
  1402. }
  1403. .content.admin-create form {
  1404. display: flex;
  1405. flex-direction: column;
  1406. }
  1407. .content.admin-create .checkbox-wrapper {
  1408. display: flex;
  1409. align-items: center;
  1410. }
  1411. .content.admin-create .checkbox-wrapper label { margin-right: 1rem; }
  1412. .content.admin-create .buttons { justify-content: center; }
  1413. .content.admin-create .buttons button { flex: 1 1 auto; }
  1414. /* INTRO */
  1415. .introduction {
  1416. width: 1200px;
  1417. max-width: 98%;
  1418. display: flex;
  1419. align-items: center;
  1420. margin: 150px 0 0;
  1421. }
  1422. .introduction .text-wrapper {
  1423. display: flex;
  1424. flex: 1 1 auto;
  1425. flex-direction: column;
  1426. align-items: flex-start;
  1427. margin-top: -32px;
  1428. }
  1429. .introduction h2 {
  1430. font-weight: 300;
  1431. font-size: 28px;
  1432. padding-right: 2rem;
  1433. margin-bottom: 2.5rem;
  1434. }
  1435. .introduction img {
  1436. width: 60%;
  1437. flex: 0 0 60%;
  1438. max-width: 100%;
  1439. height: auto;
  1440. }
  1441. /* FEATURES */
  1442. .features {
  1443. display: flex;
  1444. flex-direction: column;
  1445. align-items: center;
  1446. width: 100%;
  1447. flex: 0 0 auto;
  1448. padding: 5rem 0;
  1449. margin: 0;
  1450. background-color: var(--features-bg);
  1451. }
  1452. .features h3 {
  1453. font-weight: 300;
  1454. font-size: 28px;
  1455. margin-bottom: 72px;
  1456. }
  1457. .features ul {
  1458. width: 1200px;
  1459. max-width: 100%;
  1460. flex: 1 1 auto;
  1461. justify-content: center;
  1462. flex-wrap: nowrap;
  1463. display: flex;
  1464. margin: 0;
  1465. padding: 0;
  1466. list-style: none;
  1467. }
  1468. .features ul li {
  1469. max-width: 25%;
  1470. display: flex;
  1471. flex-direction: column;
  1472. align-items: center;
  1473. padding: 0 1.5rem;
  1474. margin: 0;
  1475. }
  1476. .features ul li .icon {
  1477. width: 48px;
  1478. height: 48px;
  1479. display: flex;
  1480. align-items: center;
  1481. justify-content: center;
  1482. border-radius: 100%;
  1483. background-color: var(--color-primary);
  1484. }
  1485. .features ul li .icon svg {
  1486. width: 16px;
  1487. height: auto;
  1488. stroke: white;
  1489. stroke-width: 2px;
  1490. }
  1491. .features ul li h4 {
  1492. margin: 1rem;
  1493. padding: 0;
  1494. font-size: 15px;
  1495. }
  1496. .features ul li p {
  1497. margin: 0;
  1498. padding: 0;
  1499. font-size: 14px;
  1500. font-weight: 300;
  1501. text-align: center;
  1502. }
  1503. /* EXTENSIONS */
  1504. .extensions {
  1505. width: 100%;
  1506. display: flex;
  1507. flex-direction: column;
  1508. align-items: center;
  1509. flex: 0 0 auto;
  1510. flex-wrap: nowrap;
  1511. padding: 5rem 0;
  1512. background-color: var(--extensions-bg);
  1513. color: white;
  1514. }
  1515. .extensions h3 {
  1516. font-size: 28px;
  1517. font-weight: 300;
  1518. margin-bottom: 4rem;
  1519. }
  1520. .extensions .extenstions-wrapper {
  1521. width: 1200px;
  1522. max-width: 100%;
  1523. display: flex;
  1524. flex: 1 1 auto;
  1525. justify-content: center;
  1526. flex-wrap: nowrap;
  1527. }
  1528. .extensions a.extension-button {
  1529. display: flex;
  1530. align-items: center;
  1531. justify-content: center;
  1532. margin: 0 1rem;
  1533. padding: 0.75rem 1.75rem;
  1534. background-color: #eee;
  1535. border: 1px solid #aaa;
  1536. font-size: 14px;
  1537. font-weight: bold;
  1538. text-decoration: none;
  1539. border-radius: 4px;
  1540. outline: none;
  1541. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  1542. transition: transform 0.3s ease-out;
  1543. cursor: pointer;
  1544. }
  1545. .extensions a.extension-button:hover {
  1546. transform: translateY(-2px);
  1547. }
  1548. .extensions a.extension-button.chrome { color: #4285f4; }
  1549. .extensions a.extension-button.firefox { color: #e0890f; }
  1550. .extensions a.extension-button svg {
  1551. width: 18px;
  1552. height: auto;
  1553. margin: 0 1rem 2px 0;
  1554. }
  1555. .extensions a.extension-button.chrome svg { fill: #4285f4; }
  1556. .extensions a.extension-button.firefox svg { fill: #e0890f; }
  1557. /* FOOTER */
  1558. footer {
  1559. width: 100%;
  1560. display: flex;
  1561. justify-content: center;
  1562. padding: 1rem 0;
  1563. font-size: 13px;
  1564. text-align: center;
  1565. }
  1566. footer button.link {
  1567. display: inline-block;
  1568. font-size: 13px;
  1569. }
  1570. footer button.link .spinner {
  1571. display: none;
  1572. width: 1em;
  1573. margin: 0 0 -2px;
  1574. }
  1575. footer button.link.htmx-request .spinner { display: inline; }
  1576. /* SETTINGS */
  1577. #settings {
  1578. width: 600px;
  1579. max-width: 100%;
  1580. padding: 0 16px;
  1581. overflow: hidden;
  1582. }
  1583. h1.settings-welcome {
  1584. font-size: 28px;
  1585. font-weight: 300;
  1586. }
  1587. h1.settings-welcome span {
  1588. border-bottom: 2px dotted #999;
  1589. padding-bottom: 2px;
  1590. font-weight: normal;
  1591. }
  1592. /* SETTINGS - DOMAIN */
  1593. #domains-table { margin-top: 1rem; }
  1594. #domains-table .domain { flex: 2 2 0; }
  1595. #domains-table .homepage { flex: 2 2 0; }
  1596. #domains-table .actions { flex: 1 1 0; justify-content: flex-end; padding-right: 1rem; }
  1597. #domains-table .no-entry { flex: 1 1 0; opacity: 0.8; }
  1598. .add-domain-wrapper {
  1599. width: 100%;
  1600. display: flex;
  1601. flex-direction: column;
  1602. align-items: flex-start;
  1603. margin: 1.5rem 0 2rem;
  1604. }
  1605. .add-domain-wrapper > .spinner {
  1606. width: 20px;
  1607. display: none;
  1608. margin: 1rem 0 0 1rem;
  1609. }
  1610. .add-domain-wrapper.htmx-request > button { display: none; }
  1611. .add-domain-wrapper.htmx-request > .spinner { display: block; }
  1612. form#add-domain { margin-top: 1rem; }
  1613. form#add-domain .buttons-wrapper { display: flex; }
  1614. form#add-domain button { margin-right: 1rem }
  1615. form#add-domain .spinner { width: 20px; display: none; }
  1616. form#add-domain.htmx-request .buttons-wrapper { display: none; }
  1617. form#add-domain.htmx-request .spinner { display: block; }
  1618. form#add-domain .error { font-size: 0.85rem; }
  1619. /* SETTINGS - API */
  1620. #apikey-wrapper { margin-bottom: 1.5rem; }
  1621. #apikey {
  1622. display: flex;
  1623. align-items: center;
  1624. margin-bottom: 1rem;
  1625. }
  1626. #apikey p {
  1627. font-weight: bold;
  1628. border-bottom: 1px dotted #999;
  1629. transition: opacity 0.2s ease-in-out;
  1630. cursor: pointer;
  1631. line-break: anywhere;
  1632. }
  1633. #apikey p:hover {
  1634. opacity: 0.8;
  1635. }
  1636. form#generate-apikey .spinner { display: none; }
  1637. form#generate-apikey.htmx-request svg { display: none; }
  1638. form#generate-apikey.htmx-request .spinner { display: block; }
  1639. /* SETTINGS - CHANGE PASSWORD */
  1640. #change-password-wrapper { margin-bottom: 1.5rem; }
  1641. form#change-password { margin-top: 1.5rem; }
  1642. form#change-password button { margin-top: 1rem; }
  1643. form#change-password .spinner { display: none; }
  1644. form#change-password.htmx-request svg { display: none; }
  1645. form#change-password.htmx-request .spinner { display: block; }
  1646. /* SETTINGS - CHANGE EMAIL */
  1647. #change-email-wrapper { margin-bottom: 1.5rem; }
  1648. form#change-email { margin-top: 1.5rem; }
  1649. form#change-email button { margin-top: 1rem; }
  1650. form#change-email .spinner { display: none; }
  1651. form#change-email.htmx-request svg { display: none; }
  1652. form#change-email.htmx-request .spinner { display: block; }
  1653. /* SETTINGS - DELETE ACCOUNT */
  1654. #delete-account-wrapper { margin-bottom: 1.5rem; }
  1655. form#delete-account { margin-top: 1.5rem; }
  1656. form#delete-account button { margin-top: 1rem; }
  1657. form#delete-account .spinner { display: none; }
  1658. form#delete-account.htmx-request svg { display: none; }
  1659. form#delete-account.htmx-request .spinner { display: block; }
  1660. /* STATS */
  1661. #stats-section {
  1662. width: 1200px;
  1663. max-width: 100%;
  1664. padding: 0 16px;
  1665. }
  1666. .loading-stats {
  1667. width: 100%;
  1668. flex: 1 1 0;
  1669. margin-top: -5rem;
  1670. display: flex;
  1671. align-items: center;
  1672. justify-content: center;
  1673. }
  1674. .loading-stats .spinner {
  1675. width: 1.25rem;
  1676. margin-right: 0.5rem;
  1677. }
  1678. .stats-info {
  1679. width: 100%;
  1680. display: flex;
  1681. align-items: flex-end;
  1682. justify-content: space-between;
  1683. }
  1684. .stats-info h2 { font-weight: 300; font-size: 24px; }
  1685. .stats-info p { font-size: 14px; }
  1686. .stats-info h2,
  1687. .stats-info p { margin: 0 }
  1688. #stats {
  1689. width: 100%;
  1690. display: flex;
  1691. flex-direction: column;
  1692. align-items: stretch;
  1693. background-color: white;
  1694. border-radius: 12px;
  1695. box-shadow: 0 6px 15px hsla(200, 20%, 70%, 0.3);
  1696. overflow: hidden;
  1697. padding: 0;
  1698. }
  1699. .stats-head {
  1700. width: 100%;
  1701. display: flex;
  1702. align-items: center;
  1703. background-color: hsl(200, 12%, 95%);
  1704. justify-content: space-between;
  1705. padding: 0.75rem 1.5rem;
  1706. }
  1707. .total-number { font-weight: bold; }
  1708. .stats-nav { display: flex; align-items: center; }
  1709. .stats-nav button { margin-right: 0.75rem; }
  1710. .stats-nav button:last-child { margin-right: 0; }
  1711. .stats-period {
  1712. display: flex;
  1713. flex-direction: column;
  1714. align-items: stretch;
  1715. padding: 0.75rem 1.5rem;
  1716. }
  1717. .stats-period h2 {
  1718. font-size: 24px;
  1719. font-weight: 300;
  1720. margin: 1rem 0 0;
  1721. }
  1722. .stats-period span.total-in-period {
  1723. font-weight: bold;
  1724. border-bottom: 1px dotted hsl(200, 35%, 65%);
  1725. }
  1726. p.last-update {
  1727. font-size: 14px;
  1728. color: hsl(200, 14%, 60%);
  1729. margin: 0.75rem 0 0;
  1730. }
  1731. #stats canvas {
  1732. width: 100%;
  1733. margin: 2rem 0;
  1734. }
  1735. .stats-columns-wrapper {
  1736. display: flex;
  1737. align-items: flex-start;
  1738. }
  1739. .stats-columns-wrapper > div {
  1740. flex: 1 1 50%;
  1741. }
  1742. svg.map { width: 100%; }
  1743. svg.map path {
  1744. fill: hsl(200, 15%, 92%);
  1745. stroke: #fff;
  1746. transition: all 0.1s ease-in-out;
  1747. }
  1748. svg.map path.color-1 { fill: hsl(261, 46%, 90%); }
  1749. svg.map path.color-2 { fill: hsl(261, 46%, 86%); }
  1750. svg.map path.color-3 { fill: hsl(261, 46%, 82%); }
  1751. svg.map path.color-4 { fill: hsl(261, 46%, 76%); }
  1752. svg.map path.color-5 { fill: hsl(261, 46%, 72%); }
  1753. svg.map path.color-6 { fill: hsl(261, 46%, 68%); }
  1754. svg.map path.active { stroke: hsl(261, 46%, 50%); stroke-width: 1.5; }
  1755. #map-tooltip {
  1756. position: fixed;
  1757. }
  1758. #map-tooltip.visible::before,
  1759. #map-tooltip.visible::after {
  1760. display: block !important;
  1761. }
  1762. #map-tooltip:before {
  1763. border-top-color: rgba(255, 255, 255, 0.95);
  1764. }
  1765. #map-tooltip:after {
  1766. box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.15);
  1767. background: rgba(255, 255, 255, 0.95);
  1768. color: #333;
  1769. }
  1770. .stats-back-to-home {
  1771. width: 100%;
  1772. display: flex;
  1773. justify-content: center;
  1774. margin: 2rem 0;
  1775. }
  1776. .stats-error {
  1777. width: 100%;
  1778. flex: 1 1 auto;
  1779. display: flex;
  1780. flex-direction: column;
  1781. align-items: center;
  1782. justify-content: center;
  1783. text-align: center;
  1784. }
  1785. .stats-error p { margin-top: -3rem; display: flex; align-items: center; }
  1786. .stats-error p svg { width: 1.2rem; margin: 0 0.5rem 0.1rem 0; }
  1787. .stats-error .stats-back-to-home { margin-top: 0 }
  1788. /* 404 - NOT FOUND */
  1789. #notfound {
  1790. width: 800px;
  1791. align-items: center;
  1792. }
  1793. #notfound h2 {
  1794. font-size: 28px;
  1795. font-weight: 300;
  1796. text-align: center;
  1797. }
  1798. /* BANNED */
  1799. #banned { width: 1200px; align-items: center; text-align: center }
  1800. #banned h2 { font-weight: normal; }
  1801. #banned h4 { font-weight: normal; margin: 0; }
  1802. /* REPORT */
  1803. #report { width: 600px; }
  1804. #report form {
  1805. display: flex;
  1806. flex-direction: column;
  1807. margin-top: 2rem;
  1808. }
  1809. #report form .inputs-wrapper {
  1810. display: flex;
  1811. align-items: flex-end;
  1812. }
  1813. #report form button { margin: 0 0 0.2rem 1rem; }
  1814. #report form .spinner { display: none; }
  1815. #report form.htmx-request svg { display: none; }
  1816. #report form.htmx-request .spinner { display: block; }
  1817. #report-email .spinner { display: none; }
  1818. #report-email .htmx-request svg { display: none; }
  1819. #report-email .htmx-request .spinner { display: block; }
  1820. .eye-icon svg { stroke-width: 0.5; }
  1821. /* RESET PASSWORD */
  1822. #reset-password form {
  1823. width: 100%;
  1824. display: flex;
  1825. flex-direction: column;
  1826. }
  1827. #reset-password form .inputs-wrapper {
  1828. display: flex;
  1829. align-items: flex-end;
  1830. margin-top: 2rem;
  1831. }
  1832. #reset-password form label { flex: 0 0 280px; }
  1833. #reset-password form label input { width: 100%; }
  1834. #reset-password form button { margin: 0 0 0.2rem 1rem; }
  1835. #reset-password .spinner { display: none; }
  1836. #reset-password .htmx-request svg { display: none; }
  1837. #reset-password .htmx-request .spinner { display: block; }
  1838. /* VERIFY USER */
  1839. /* VERIFY CHANGE EMAIL */
  1840. /* RESET PASSWORD TOKEN */
  1841. .verify-page {
  1842. width: 600px;
  1843. align-items: center;
  1844. }
  1845. .verify-page h2,
  1846. .verify-page h3 {
  1847. display: flex;
  1848. align-items: center;
  1849. text-align: center;
  1850. font-weight: normal;
  1851. }
  1852. .verify-page h2 svg,
  1853. .verify-page h3 svg {
  1854. width: 1.15em;
  1855. height: auto;
  1856. margin-right: 0.5rem;
  1857. }
  1858. /* URL INFO */
  1859. #url-info {
  1860. width: 1200px;
  1861. align-items: center;
  1862. text-align: center;
  1863. padding: 0 16px;
  1864. }
  1865. #url-info h3 { font-weight: normal; margin: 0; }
  1866. #url-info p { line-break: anywhere; }
  1867. /* PROTECTED */
  1868. #protected { width: 600px; }
  1869. #protected form { width: 100%; margin-top: 1rem; }
  1870. #protected form .inputs-wrapper { width: 100%; display: flex; align-items: flex-end; }
  1871. #protected form label { flex: 0 0 280px; }
  1872. #protected form label input { width: 100%; }
  1873. #protected form button { margin: 0 0 0.2rem 1rem; }
  1874. #protected form .spinner { display: none; }
  1875. #protected form.htmx-request svg { display: none; }
  1876. #protected form.htmx-request .spinner { display: block; }
  1877. /* TERMS */
  1878. #terms { width: 600px; }
  1879. /* ERROR PAGE */
  1880. #error-page { align-items: center; text-align: center; }
  1881. #error-page h2 { margin: 0; }
  1882. #error-page .back-to-home { margin-top: 2rem; }
  1883. /* RESPONSIVE STYLES */
  1884. @media only screen and (max-width: 768px) {
  1885. html, body { font-size: 14px; }
  1886. input[type="text"],
  1887. input[type="email"],
  1888. input[type="password"],
  1889. select {
  1890. font-size: 14px;
  1891. padding: 0 16px;
  1892. height: 38px;
  1893. letter-spacing: 0.04em;
  1894. border-bottom-width: 4px;
  1895. }
  1896. label input { margin-top: 0.25rem; }
  1897. input[type="text"]::placeholder,
  1898. input[type="email"]::placeholder,
  1899. input[type="password"]::placeholder { font-size: 13px; letter-spacing: 0.04em; }
  1900. table tr { padding: 0 0.25rem; }
  1901. table th,
  1902. table td { padding: 0.5rem; }
  1903. table td { font-size: 14px; }
  1904. table tr.loading-placeholder td { font-size: 16px; }
  1905. a.button,
  1906. button { height: 32px; padding: 0 22px; font-size: 12px; }
  1907. a.button.action,
  1908. button.action { padding: 4px; width: 20px; height: 20px; }
  1909. button.nav { height: 26px; padding: 0 7px; font-size: 11px; }
  1910. .dialog .box { min-width: 300px; padding: 2rem 1.25rem; }
  1911. .dialog.qrcode .box { padding: 1.5rem; }
  1912. .dialog .loading { width: 20px; height: 20px; margin: 2rem 0; }
  1913. .dialog .content .buttons { margin-top: 1rem; }
  1914. header { padding: 16px 16px 0; height: 72px; }
  1915. header a.logo { font-size: 20px; }
  1916. header ul.logo-links { display: none; }
  1917. header .logo img { margin-right: 8px; }
  1918. header nav ul li { margin-left: 0.75rem }
  1919. header nav ul li a.button { height: 28px; padding: 0 1rem; font-size: 11px; }
  1920. form#login-signup label { margin-bottom: 1.5rem; }
  1921. form#login-signup input {
  1922. height: 58px;
  1923. margin-top: 0.75rem;
  1924. padding: 0 2rem;
  1925. font-size: 15px;
  1926. }
  1927. form#login-signup .buttons-wrapper { margin-bottom: 1rem; }
  1928. form#login-signup .buttons-wrapper button { height: 44px; }
  1929. form#login-signup a.forgot-password { font-size: 13px; }
  1930. .login-signup-message { margin-top: 1.5rem; }
  1931. .login-signup-message h1 { font-size: 20px; }
  1932. main #shorturl { margin-bottom: 1.5rem; }
  1933. main #shorturl h1 { font-size: 1.6rem; }
  1934. .clipboard { width: 30px; height: 30px; margin-right: 0.5rem; }
  1935. .clipboard svg.check { padding: 2px; }
  1936. main form input#target { height: 58px; padding: 0 58px 0 26px; font-size: 15px; }
  1937. main form input#target::placeholder { font-size: 14px; }
  1938. main form p.error { font-size: 12px; margin-left: 0.25rem; }
  1939. main form .target-wrapper p.error { font-size: 13px; margin-left: 0.5rem; }
  1940. main form button.submit { width: 22px; top: 13px; margin: 0 1rem 0; }
  1941. main form label#advanced { margin-top: 1.5rem; }
  1942. main form label#advanced input { margin-bottom: 3px; }
  1943. #main-table-wrapper { margin: 4rem 0 4.5rem;}
  1944. #main-table-wrapper h2 { margin-bottom: 0.5rem; }
  1945. #main-table-wrapper table thead,
  1946. #main-table-wrapper table tbody,
  1947. #main-table-wrapper table tfoot { min-width: 800px; }
  1948. #main-table-wrapper tr { padding: 0 0.25rem; }
  1949. #main-table-wrapper th,
  1950. #main-table-wrapper td { padding: 0.75rem; }
  1951. #main-table-wrapper table .actions a.button,
  1952. #main-table-wrapper table .actions button { margin-right: 0.3rem; }
  1953. #main-table-wrapper table td p.description { font-size: 12px; }
  1954. #main-table-wrapper table tr.no-data td { font-size: 16px; }
  1955. #main-table-wrapper.admin-table-wrapper table th.nav { flex-direction: column; align-items: flex-end; }
  1956. #main-table-wrapper.admin-table-wrapper table th .nav-divider { display: none; }
  1957. #main-table-wrapper.admin-table-wrapper table th .limit { margin-bottom: 1rem; }
  1958. table .tab a { padding: 0.3rem 0.9rem; }
  1959. #main-table-wrapper th.category-total p { font-size: 13px; }
  1960. #main-table-wrapper table thead tr.controls.with-filters { align-items: flex-start; }
  1961. #main-table-wrapper table th select, input.table-input { height: 28px; font-size: 12px; padding: 0 1rem; }
  1962. #main-table-wrapper table th select { background-position: right 0.7em top 50%, 0 0; }
  1963. .search-input-wrapper button { padding: 2px; margin-right: 0.15rem; }
  1964. #main-table-wrapper table th input.search.admin { max-width: 150px; padding: 0 1.5rem 0 1rem; }
  1965. #main-table-wrapper table th select.table-input { max-width: 120px; }
  1966. #main-table-wrapper table th button.table { height: 28px; }
  1967. #main-table-wrapper table th input::placeholder { font-size: 12px; }
  1968. #main-table-wrapper table tr.controls .checkbox { font-size: 13px; }
  1969. #main-table-wrapper table button.nav { margin-right: 0.5rem; }
  1970. #main-table-wrapper table .nav-divider { height: 18px; margin: 0 1rem; }
  1971. #main-table-wrapper table tbody td.right-fade:after { width: 14px; }
  1972. #main-table-wrapper table tr.edit td { padding: 1.25rem 1rem; }
  1973. #main-table-wrapper table tr.edit label { margin: 0 0.25rem 0.5rem; }
  1974. #main-table-wrapper table tr.edit input { height: 38px; padding: 0 1rem; font-size: 13px; }
  1975. #main-table-wrapper table tr.edit input,
  1976. #main-table-wrapper table tr.edit input + p { width: 200px; }
  1977. #main-table-wrapper table tr.edit input[name="target"],
  1978. #main-table-wrapper table tr.edit input[name="description"],
  1979. #main-table-wrapper table tr.edit input[name="target"] + p,
  1980. #main-table-wrapper table tr.edit input[name="description"] + p { width: 320px; }
  1981. #main-table-wrapper table tr.edit button { height: 32px; margin-right: 0.5rem; }
  1982. #main-table-wrapper table tr.edit td.loading svg { width: 14px; height: 14px; }
  1983. #main-table-wrapper table tr.edit form .response p { margin: 1rem 0 0; }
  1984. .dialog .ban-checklist label { margin: 0.5rem 1rem 0.5rem 0; }
  1985. .introduction img { width: 90%; margin-top: 2rem; }
  1986. .introduction { margin: 100px 0 0; flex-direction: column; }
  1987. .introduction .text-wrapper { align-items: center; text-align: center; }
  1988. .introduction h2 { font-size: 22px; padding: 0 1rem; margin-bottom: 1.5rem; }
  1989. .features { padding: 2rem 0; }
  1990. .features h3 { font-size: 22px; margin-bottom: 2.5rem; }
  1991. .features ul { flex-wrap: wrap; }
  1992. .features ul li { max-width: 100%; padding: 0 2.5rem; margin-bottom: 2rem; }
  1993. .features ul li .icon { width: 40px; height: 40px; }
  1994. .features ul li .icon svg { width: 14px; }
  1995. .features ul li h4 { margin: 0.75rem; }
  1996. .extensions { padding: 2rem 0; }
  1997. .extensions h3 { font-size: 22px; margin-bottom: 2rem; }
  1998. .extensions .extenstions-wrapper { flex-direction: column; align-items: center }
  1999. .extensions a.extension-button { width: 225px; margin: 0 0 1rem; padding: 0.6rem 1.25rem; font-size: 13px; }
  2000. .extensions a.extension-button svg { width: 16px; margin: 0 0.75rem 3px 0; }
  2001. footer { padding: 0.75rem 0; font-size: 12px; }
  2002. footer button.link { font-size: 12px; }
  2003. h1.settings-welcome { font-size: 18px; }
  2004. .add-domain-wrapper { margin: 1rem 0 1rem; }
  2005. .add-domain-wrapper > .spinner { width: 18px; margin: 0.5rem 0 0 0.5rem; }
  2006. form#add-domain { margin-top: 0.75rem; }
  2007. form#add-domain button { margin-right: 0.5rem }
  2008. .stats-info { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  2009. .stats-info h2 { font-size: 18px; margin-bottom: 0.25rem; }
  2010. .stats-info p { font-size: 11px; line-break: anywhere; }
  2011. .stats-head { padding: 0rem 1rem; }
  2012. .stats-head p { font-size: 0.9rem; }
  2013. .stats-nav button { margin-right: 0.5rem; }
  2014. .stats-period { padding: 0.5rem 1rem; }
  2015. .stats-period h2 { font-size: 18px; margin: 0.5rem 0 0; }
  2016. p.last-update { font-size: 12px; }
  2017. #stats canvas { margin: 1rem 0; }
  2018. .stats-columns-wrapper { flex-direction: column; }
  2019. .stats-columns-wrapper > div { flex-basis: 100%; }
  2020. #notfound h2 { font-size: 20px; }
  2021. #report form { margin-top: 1.5rem; }
  2022. #report form .inputs-wrapper { flex-direction: column; align-items: flex-start; }
  2023. #report form button { margin: 0.75rem 0 0.2rem 0; }
  2024. #reset-password form .inputs-wrapper { flex-direction: column; align-items: flex-start; margin-top: 1rem; }
  2025. #reset-password form label { flex-basis: 0; width: 280px; }
  2026. #reset-password form button { margin: 0.75rem 0 0.2rem 0; }
  2027. .verify-page h2,
  2028. .verify-page h3 { display: flex; flex-direction: column; }
  2029. #protected form { margin-top: 0.5rem; }
  2030. #protected form .inputs-wrapper { flex-direction: column; align-items: flex-start; }
  2031. #protected form label { flex-basis: 0; width: 280px; }
  2032. #protected form button { margin: 0.75rem 0 0.2rem 0; }
  2033. }
  2034. @media only screen and (max-width: 640px) {
  2035. table tr.loading-placeholder { justify-content: flex-start; }
  2036. .inputs { flex-direction: column; margin-bottom: 0.75rem; }
  2037. .inputs label { margin: 0 0 0.75rem; }
  2038. .inputs label:last-child { margin: 0; }
  2039. .advanced-input-wrapper { flex-direction: column; margin-bottom: 0; }
  2040. .advanced-input-wrapper label { width: 100%; margin-bottom: 0.75rem; padding-right: 0; }
  2041. .advanced-input-wrapper label input,
  2042. .advanced-input-wrapper label select { margin-top: 0.5rem; }
  2043. form#add-domain .spinner { width: 18px; }
  2044. #apikey-wrapper { max-width: 100%; }
  2045. #apikey p { font-size: 0.85rem; }
  2046. #apikey .clipboard { width: 22px; height: 22px; }
  2047. }