styles.css 52 KB

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