styles.css 51 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308
  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. .htmx-spinner .spinner { display: none; }
  845. .htmx-spinner.htmx-request button svg { display: none; }
  846. .htmx-spinner.htmx-request .spinner { display: block; }
  847. /* LOGIN & SIGNUP */
  848. form#login-signup {
  849. width: 420px;
  850. max-width: 100%;
  851. flex: 1 1 auto;
  852. display: flex;
  853. padding: 0 16px;
  854. flex-direction: column;
  855. margin: 3rem 0 0;
  856. }
  857. form#login-signup label { margin-bottom: 2rem; }
  858. form#login-signup input {
  859. width: 100%;
  860. height: 72px;
  861. margin-top: 1rem;
  862. padding: 0 3rem;
  863. font-size: 16px;
  864. }
  865. form#login-signup .buttons-wrapper {
  866. display: flex;
  867. align-items: center;
  868. justify-content: space-between;
  869. margin-bottom: 1.5rem;
  870. }
  871. form#login-signup .buttons-wrapper button {
  872. height: 56px;
  873. flex: 0 0 48%;
  874. padding: 0 1rem 2px;
  875. margin: 0;
  876. }
  877. form#login-signup .buttons-wrapper button.full { flex-basis: 100%; }
  878. form#login-signup a.forgot-password {
  879. align-self: flex-start;
  880. font-size: 14px;
  881. }
  882. form#login-signup svg.spinner { display: none; }
  883. form#login-signup.htmx-request:not(.signup) .login svg { display: none; }
  884. form#login-signup.htmx-request:not(.signup) .login svg.spinner { display: block; }
  885. form#login-signup.htmx-request.signup .signup svg.spinner { display: block; }
  886. form#login-signup.htmx-request.signup .signup svg.icon { display: none; }
  887. form#login-signup.htmx-request .error { opacity: 0; }
  888. form#login-signup p.error {
  889. margin-bottom: 0;
  890. }
  891. .admin-form-title {
  892. font-size: 26px;
  893. font-weight: 300;
  894. margin: 0 0 3rem;
  895. text-align: center;
  896. }
  897. .login-signup-message {
  898. flex: 1 1 auto;
  899. margin-top: 3rem;
  900. }
  901. .login-signup-message h1 {
  902. font-weight: 300;
  903. font-size: 24px;
  904. }
  905. /* HEADER */
  906. header {
  907. box-sizing: border-box;
  908. margin: 0;
  909. width: 1232px;
  910. max-width: 100%;
  911. padding: 0 32px;
  912. height: 102px;
  913. justify-content: space-between;
  914. align-items: center;
  915. display: flex;
  916. }
  917. header .logo-wrapper {
  918. display: flex;
  919. align-items: center;
  920. }
  921. header a.logo {
  922. position: relative;
  923. display: flex;
  924. align-items: center;
  925. font-size: 22px;
  926. font-weight: bold;
  927. text-decoration: none;
  928. border: none;
  929. margin: 0;
  930. padding: 0;
  931. }
  932. header a.logo:hover { border: none; color: inherit; }
  933. header .logo img {
  934. margin: 0 12px 0 0;
  935. padding: 0;
  936. }
  937. header ul.logo-links {
  938. list-style: none;
  939. display: flex;
  940. align-items: flex-end;
  941. margin: 0 0 0 0.5rem;
  942. padding: 0;
  943. }
  944. header ul.logo-links li {
  945. padding: 2px 0 0;
  946. margin: 0 0 0 32px;
  947. }
  948. header ul.logo-links li a {
  949. font-size: 1rem;
  950. }
  951. header nav ul {
  952. display: flex;
  953. flex-direction: row-reverse;
  954. align-items: center;
  955. list-style: none;
  956. margin: 0;
  957. padding: 0;
  958. }
  959. header nav ul li {
  960. margin: 0 0 0 2rem;
  961. padding: 0;
  962. }
  963. header nav ul li:last-child { margin-left: 0; }
  964. /* SHORTENER */
  965. main {
  966. width: 800px;
  967. max-width: 100%;
  968. flex: 1 1 auto;
  969. display: flex;
  970. flex-direction: column;
  971. align-items: center;
  972. padding: 0 1rem;
  973. margin-top: 1rem;
  974. }
  975. main #shorturl {
  976. display: flex;
  977. align-items: center;
  978. margin: 1rem 0 3rem;
  979. }
  980. main #shorturl h1 {
  981. margin: 0;
  982. border-bottom: 2px dotted transparent;
  983. font-weight: 300;
  984. font-size: 2rem;
  985. }
  986. main #shorturl h1.link {
  987. cursor: pointer;
  988. border-bottom-color: hsl(200, 35%, 65%);
  989. transition: opacity 0.3s ease-in-out;
  990. --keyframe-slidey-offset: -10px;
  991. animation: fadein 0.2s ease-in-out, slidey 0.2s ease-in-out;
  992. }
  993. main #shorturl h1.link:hover {
  994. opacity: 0.8;
  995. }
  996. .clipboard {
  997. width: 35px;
  998. height: 35px;
  999. display: flex;
  1000. margin-right: 1rem;
  1001. }
  1002. .clipboard button {
  1003. width: 100%;
  1004. height: 100%;
  1005. display: flex;
  1006. margin: 0;
  1007. padding: 7px;
  1008. box-shadow: none;
  1009. outline: none;
  1010. border: none;
  1011. background: none;
  1012. border-radius: 100%;
  1013. background-color: var(--copy-icon-bg-color);
  1014. transition: transform 0.4s ease-out;
  1015. box-shadow: 0 2px 1px hsla(200, 15%, 60%, 0.12);
  1016. cursor: pointer;
  1017. --keyframe-slidey-offset: -10px;
  1018. animation: slidey 0.2s ease-in-out;
  1019. }
  1020. .clipboard.small { width: 24px; height: 24px; }
  1021. .clipboard.small button { width: 24px; height: 24px; padding: 5px; }
  1022. .clipboard button:hover,
  1023. .clipboard button:focus {
  1024. transform: translateY(-2px) scale(1.02, 1.02);
  1025. }
  1026. .clipboard button:focus {
  1027. outline: 3px solid rgba(65, 164, 245, 0.5);
  1028. }
  1029. .clipboard svg {
  1030. stroke: var(--copy-icon-color);
  1031. width: 100%;
  1032. height: auto;
  1033. }
  1034. .clipboard svg.copy {
  1035. stroke-width: 2.5;
  1036. }
  1037. .clipboard svg.check {
  1038. display: none;
  1039. padding: 3px;
  1040. stroke-width: 3;
  1041. --keyframe-slidey-offset: -10px;
  1042. animation: slidey 0.2s ease-in-out;
  1043. }
  1044. .clipboard.copied button {
  1045. background-color: transparent;
  1046. box-shadow: none;
  1047. }
  1048. .clipboard.copied button { display: none; }
  1049. .clipboard.copied svg.check { display: block; }
  1050. main #shorturl h1 span {
  1051. border-bottom: 1px dotted #999;
  1052. }
  1053. main form {
  1054. position: relative;
  1055. width: 100%;
  1056. display: flex;
  1057. flex-direction: column;
  1058. }
  1059. main form input#target {
  1060. position: relative;
  1061. width: 100%;
  1062. height: 72px;
  1063. display: flex;
  1064. padding: 0 84px 0 40px;
  1065. font-size: 20px;
  1066. }
  1067. main form input#target::placeholder {
  1068. font-size: 17px;
  1069. }
  1070. main form p.error {
  1071. font-size: 13px;
  1072. margin-left: 0.5rem;
  1073. }
  1074. main form .target-wrapper p.error {
  1075. font-size: 15px;
  1076. margin-left: 1rem;
  1077. margin-bottom: 0;
  1078. }
  1079. main form .target-wrapper {
  1080. position: relative;
  1081. width: 100%;
  1082. height: auto;
  1083. }
  1084. main form button.submit {
  1085. box-sizing: content-box;
  1086. position: absolute;
  1087. cursor: pointer;
  1088. width: 28px;
  1089. height: auto;
  1090. right: 0;
  1091. top: 16px;
  1092. padding: 4px;
  1093. margin: 0 2rem 0;
  1094. background: none;
  1095. box-shadow: none;
  1096. outline: none;
  1097. border: none;
  1098. }
  1099. main form button.submit:focus,
  1100. main form button.submit:hover {
  1101. outline: none;
  1102. }
  1103. main form button.submit svg.send {
  1104. fill: #aaa;
  1105. animation: fadein 0.3s ease-in-out;
  1106. transition: fill 0.2s ease-in-out;
  1107. }
  1108. main form button.submit:hover svg.send {
  1109. fill: var(--send-icon-hover-color);
  1110. }
  1111. main form button.submit svg.spinner {
  1112. display: none;
  1113. fill: none;
  1114. stroke: var(--send-spinner-icon-color);
  1115. stroke-width: 2;
  1116. }
  1117. main form.htmx-request button.submit svg.send { display: none; }
  1118. main form.htmx-request button.submit svg.spinner { display: block; }
  1119. main form label#advanced {
  1120. margin-top: 2rem;
  1121. align-self: flex-start;
  1122. }
  1123. main form label#advanced input {
  1124. width: 1.1rem;
  1125. height: 1.1rem;
  1126. margin-bottom: 2px;
  1127. }
  1128. #advanced-options {
  1129. display: flex;
  1130. flex-direction: column;
  1131. margin-top: 1.5rem;
  1132. }
  1133. #advanced-options.hidden { display: none; }
  1134. .advanced-input-wrapper {
  1135. width: 100%;
  1136. display: flex;
  1137. align-items: flex-start;
  1138. margin-bottom: 1rem;
  1139. }
  1140. .advanced-input-wrapper label {
  1141. flex: 1 1 0;
  1142. padding-right: 1rem;
  1143. }
  1144. .advanced-input-wrapper label.expire-in { flex: 1 1 34%; }
  1145. .advanced-input-wrapper label.description { flex: 1 1 65%; }
  1146. .advanced-input-wrapper label:last-child { padding-right: 0; }
  1147. .advanced-input-wrapper label input,
  1148. .advanced-input-wrapper label select {
  1149. width: 100%;
  1150. margin-top: 0.5rem;
  1151. }
  1152. /* MAIN TABLE */
  1153. #main-table-wrapper {
  1154. width: 1200px;
  1155. max-width: 100%;
  1156. display: flex;
  1157. flex-direction: column;
  1158. flex: 1 1 auto;
  1159. align-items: flex-start;
  1160. padding: 0 1rem;
  1161. margin: 7rem 0 7.5rem;
  1162. }
  1163. #main-table-wrapper h2 {
  1164. font-weight: 300;
  1165. margin-bottom: 1rem;
  1166. }
  1167. #main-table-wrapper table thead,
  1168. #main-table-wrapper table tbody,
  1169. #main-table-wrapper table tfoot {
  1170. min-width: 1000px;
  1171. }
  1172. #main-table-wrapper tr {
  1173. padding: 0 0.5rem;
  1174. }
  1175. #main-table-wrapper th,
  1176. #main-table-wrapper td {
  1177. padding: 1rem;
  1178. }
  1179. #main-table-wrapper td {
  1180. font-size: 1rem;
  1181. }
  1182. #main-table-wrapper table .original-url { flex: 7 7 0; }
  1183. #main-table-wrapper table .created-at { flex: 2.5 2.5 0; }
  1184. #main-table-wrapper table .short-link { flex: 3 3 0; }
  1185. #main-table-wrapper.admin-table-wrapper table .short-link { overflow: visible; }
  1186. #main-table-wrapper table .views { flex: 1 1 0; justify-content: flex-end; }
  1187. #main-table-wrapper table .actions { flex: 3 3 0; justify-content: flex-end; overflow: visible; }
  1188. #main-table-wrapper table .actions a.button,
  1189. #main-table-wrapper table .actions button { margin-right: 0.5rem; }
  1190. #main-table-wrapper table .actions a.button:last-child,
  1191. #main-table-wrapper table .actions button:last-child { margin-right: 0; }
  1192. #main-table-wrapper table .users-id { flex: 3 3 0; justify-content: flex-end; }
  1193. #main-table-wrapper table .users-email { flex: 9 9 0; }
  1194. #main-table-wrapper table .users-created-at { flex: 4 4 0; }
  1195. #main-table-wrapper table .users-updated-at { flex: 4 4 0; }
  1196. #main-table-wrapper table .users-verified { flex: 3 3 0; overflow: visible; }
  1197. #main-table-wrapper table .users-role { flex: 2 2 0; overflow: visible; }
  1198. #main-table-wrapper table .users-links-count { flex: 3 3 0; justify-content: flex-end; overflow: visible; }
  1199. #main-table-wrapper table .users-actions { flex: 2 2 0; }
  1200. #main-table-wrapper table .domains-id { flex: 2 2 0; justify-content: flex-end; }
  1201. #main-table-wrapper table .domains-address { flex: 7 7 0; }
  1202. #main-table-wrapper table .domains-homepage { flex: 5 5 0; }
  1203. #main-table-wrapper table .domains-created-at { flex: 3 3 0; }
  1204. #main-table-wrapper table .domains-links-count { flex: 3 3 0; justify-content: flex-end; overflow: visible; }
  1205. #main-table-wrapper table .domains-actions { flex: 2 2 0; }
  1206. #main-table-wrapper table td.original-url,
  1207. #main-table-wrapper table td.created-at,
  1208. #main-table-wrapper.admin-table-wrapper table td.short-link,
  1209. #main-table-wrapper table td.users-email,
  1210. #main-table-wrapper table td.domains-address,
  1211. #main-table-wrapper table td.users-created-at,
  1212. #main-table-wrapper table td.users-verified {
  1213. flex-direction: column;
  1214. align-items: flex-start;
  1215. justify-content: center;
  1216. }
  1217. table .short-link-wrapper { display: flex; align-items: center; }
  1218. #main-table-wrapper table td .description {
  1219. display: flex;
  1220. align-items: center;
  1221. margin: 0;
  1222. font-size: 14px;
  1223. color: #888;
  1224. }
  1225. #main-table-wrapper table td .description a {
  1226. color: #aaa;
  1227. border-bottom-color: #aaa;
  1228. }
  1229. #main-table-wrapper table td .description svg {
  1230. stroke: #aaa;
  1231. stroke-width: 2;
  1232. width: 0.85em;
  1233. margin-right: 0.25rem;
  1234. }
  1235. #main-table-wrapper table td .description span { color: #aaa; }
  1236. #main-table-wrapper table td .description a:hover { border-bottom-color: transparent; }
  1237. #main-table-wrapper table .status {
  1238. font-size: 11px;
  1239. font-weight: bold;
  1240. padding: 4px 12px;
  1241. border-radius: 12px;
  1242. margin-top: 0.25rem;
  1243. }
  1244. #main-table-wrapper table .status:first-child {
  1245. margin-top: 0;
  1246. }
  1247. #main-table-wrapper table .status.gray { background-color: hsl(200, 12%, 95%); }
  1248. #main-table-wrapper table .status.green { background-color: hsl(102.4, 100%, 93.3%); }
  1249. #main-table-wrapper table .status.red { background-color: hsl(0, 100%, 96.7%); }
  1250. #main-table-wrapper table tr.no-data {
  1251. flex: 1 1 auto;
  1252. justify-content: center;
  1253. animation: fadein 0.3s ease-in-out;
  1254. }
  1255. #main-table-wrapper table.htmx-request tbody tr { opacity: 0.5; }
  1256. #main-table-wrapper table tr.loading-placeholder { opacity: 0.6 !important; }
  1257. #main-table-wrapper table tr.loading-placeholder td,
  1258. #main-table-wrapper table tr.no-data td {
  1259. flex: 0 0 auto;
  1260. font-size: 18px;
  1261. font-weight: 300;
  1262. }
  1263. #main-table-wrapper table tr.loading-placeholder svg.spinner {
  1264. width: 1rem;
  1265. height: auto;
  1266. margin-right: 0.5rem;
  1267. stroke-width: 1.5;
  1268. }
  1269. #main-table-wrapper table thead tr.controls { justify-content: space-between; }
  1270. #main-table-wrapper table thead tr.controls.with-filters { align-items: flex-end; }
  1271. #main-table-wrapper table tfoot tr.controls { justify-content: flex-end; }
  1272. #main-table-wrapper table th.search {
  1273. flex: 1 1 auto;
  1274. align-items: center;
  1275. }
  1276. #main-table-wrapper table th.filters {
  1277. flex: 1 1 auto;
  1278. flex-direction: column;
  1279. align-items: start;
  1280. }
  1281. #main-table-wrapper table th.filters > div {
  1282. display: flex;
  1283. align-items: center;
  1284. margin-bottom: 1rem;
  1285. }
  1286. #main-table-wrapper table th.filters > div:last-child { margin-bottom: 0; }
  1287. #main-table-wrapper table th.nav {
  1288. flex: 0 0 auto;
  1289. align-items: center;
  1290. }
  1291. #main-table-wrapper table tr.controls .checkbox {
  1292. margin-left: 1rem;
  1293. font-size: 15px;
  1294. }
  1295. #main-table-wrapper table .limit,
  1296. #main-table-wrapper table .pagination {
  1297. display: flex;
  1298. align-items: center;
  1299. }
  1300. #main-table-wrapper table button.nav { margin-right: 0.75rem; }
  1301. #main-table-wrapper table button.nav:last-child { margin-right: 0; }
  1302. #main-table-wrapper table .nav-divider {
  1303. height: 20px;
  1304. width: 1px;
  1305. opacity: 0.4;
  1306. background-color: #888;
  1307. margin: 0 1.5rem;
  1308. }
  1309. #main-table-wrapper table tbody tr:hover {
  1310. background-color: hsl(200, 14%, 98%);
  1311. }
  1312. #main-table-wrapper table tbody td.right-fade:after {
  1313. content: "";
  1314. position: absolute;
  1315. right: 0;
  1316. top: 0;
  1317. height: 100%;
  1318. width: 16px;
  1319. background: linear-gradient(to left, white, rgba(255, 255, 255, 0.001));
  1320. }
  1321. #main-table-wrapper table tbody tr:hover td.right-fade:after {
  1322. background: linear-gradient(to left, hsl(200, 14%, 98%), rgba(255, 255, 255, 0.001));
  1323. }
  1324. #main-table-wrapper table .clipboard { margin-right: 0.5rem; }
  1325. #main-table-wrapper table .clipboard svg.check { width: 24px; }
  1326. #main-table-wrapper table tr.edit {
  1327. background-color: #fafafa;
  1328. }
  1329. #main-table-wrapper table tr.edit td {
  1330. width: 100%;
  1331. padding: 2rem 1.5rem;
  1332. flex-basis: auto;
  1333. }
  1334. #main-table-wrapper table tr.edit td form {
  1335. width: 100;
  1336. display: flex;
  1337. flex-direction: column;
  1338. align-items: flex-start;
  1339. }
  1340. #main-table-wrapper table tr.edit td form > div {
  1341. width: 100%;
  1342. display: flex;
  1343. align-items: start;
  1344. }
  1345. #main-table-wrapper table tr.edit label { margin: 0 0.5rem 1rem; }
  1346. #main-table-wrapper table tr.edit label:first-child { margin-left: 0; }
  1347. #main-table-wrapper table tr.edit label:last-child { margin-right: 0; }
  1348. #main-table-wrapper table tr.edit input {
  1349. height: 44px;
  1350. padding: 0 1.5rem;
  1351. font-size: 15px;
  1352. }
  1353. #main-table-wrapper table tr.edit input,
  1354. #main-table-wrapper table tr.edit input + p {
  1355. width: 240px;
  1356. max-width: 100%;
  1357. font-size: 14px;
  1358. text-wrap: wrap;
  1359. text-align: left;
  1360. }
  1361. #main-table-wrapper table tr.edit input[name="target"],
  1362. #main-table-wrapper table tr.edit input[name="description"],
  1363. #main-table-wrapper table tr.edit input[name="target"] + p,
  1364. #main-table-wrapper table tr.edit input[name="description"] + p {
  1365. width: 420px;
  1366. }
  1367. #main-table-wrapper table tr.edit button {
  1368. height: 38px;
  1369. margin-right: 1rem;
  1370. }
  1371. #main-table-wrapper table tr.edit button:last-child { margin-right: 0; }
  1372. #main-table-wrapper table tr.edit form {
  1373. --keyframe-slidey-offset: -5px;
  1374. animation: fadein 0.3s ease-in-out, slidey 0.32s ease-in-out;
  1375. }
  1376. #main-table-wrapper table tr.edit form.no-animation { animation: none; }
  1377. #main-table-wrapper table tr.edit { display: none; }
  1378. #main-table-wrapper table tr.edit.show { display: flex; }
  1379. #main-table-wrapper table tr.edit td.loading { display: none; }
  1380. #main-table-wrapper table tr.edit.htmx-request td.loading { display: block; }
  1381. #main-table-wrapper table tr.edit td.loading svg { width: 16px; height: 16px; }
  1382. #main-table-wrapper table tr.edit form.htmx-request button .reload { display: none; }
  1383. #main-table-wrapper table tr.edit form button .loader { display: none; }
  1384. #main-table-wrapper table tr.edit form.htmx-request button .loader { display: inline-block; }
  1385. #main-table-wrapper table tr.edit form .response p { margin: 2rem 0 0; }
  1386. #main-table-wrapper table tr.edit p.no-data {
  1387. width: 100%;
  1388. text-align: center;
  1389. }
  1390. .dialog .ban-checklist {
  1391. display: flex;
  1392. align-items: center;
  1393. }
  1394. .dialog .ban-checklist label { margin: 1rem 1.5rem 1rem 0; }
  1395. .dialog .ban-checklist label:last-child { margin-right: 0; }
  1396. #main-table-wrapper tr.category { justify-content: space-between; align-items: center; }
  1397. #main-table-wrapper th.category-total { flex: 1 1 auto; }
  1398. #main-table-wrapper th.category-total p { margin: 0; font-size: 15px; font-weight: normal }
  1399. #main-table-wrapper th.category-tab { flex: 2 2 auto; justify-content: flex-end; }
  1400. /* ADMIN */
  1401. table .search-input-wrapper {
  1402. margin-right: 1rem;
  1403. }
  1404. input.search.admin {
  1405. max-width: 200px;
  1406. }
  1407. .content.admin-create form {
  1408. display: flex;
  1409. flex-direction: column;
  1410. }
  1411. .content.admin-create .checkbox-wrapper {
  1412. display: flex;
  1413. align-items: center;
  1414. }
  1415. .content.admin-create .checkbox-wrapper label { margin-right: 1rem; }
  1416. .content.admin-create .buttons { justify-content: center; }
  1417. .content.admin-create .buttons button { flex: 1 1 auto; }
  1418. /* FOOTER */
  1419. footer {
  1420. width: 100%;
  1421. display: flex;
  1422. justify-content: center;
  1423. padding: 1rem 0;
  1424. font-size: 13px;
  1425. text-align: center;
  1426. }
  1427. footer button.link {
  1428. display: inline-block;
  1429. font-size: 13px;
  1430. }
  1431. footer button.link .spinner {
  1432. display: none;
  1433. width: 1em;
  1434. margin: 0 0 -2px;
  1435. }
  1436. footer button.link.htmx-request .spinner { display: inline; }
  1437. /* SETTINGS */
  1438. #settings {
  1439. width: 600px;
  1440. max-width: 100%;
  1441. padding: 0 16px;
  1442. overflow: hidden;
  1443. }
  1444. h1.settings-welcome {
  1445. font-size: 28px;
  1446. font-weight: 300;
  1447. }
  1448. h1.settings-welcome span {
  1449. border-bottom: 2px dotted #999;
  1450. padding-bottom: 2px;
  1451. font-weight: normal;
  1452. }
  1453. /* SETTINGS - DOMAIN */
  1454. #domains-table { margin-top: 1rem; }
  1455. #domains-table .domain { flex: 2 2 0; }
  1456. #domains-table .homepage { flex: 2 2 0; }
  1457. #domains-table .actions { flex: 1 1 0; justify-content: flex-end; padding-right: 1rem; }
  1458. #domains-table .no-entry { flex: 1 1 0; opacity: 0.8; }
  1459. .add-domain-wrapper {
  1460. width: 100%;
  1461. display: flex;
  1462. flex-direction: column;
  1463. align-items: flex-start;
  1464. margin: 1.5rem 0 2rem;
  1465. }
  1466. .add-domain-wrapper > .spinner {
  1467. width: 20px;
  1468. display: none;
  1469. margin: 1rem 0 0 1rem;
  1470. }
  1471. .add-domain-wrapper.htmx-request > button { display: none; }
  1472. .add-domain-wrapper.htmx-request > .spinner { display: block; }
  1473. form#add-domain { margin-top: 1rem; }
  1474. form#add-domain .buttons-wrapper { display: flex; }
  1475. form#add-domain button { margin-right: 1rem }
  1476. form#add-domain .spinner { width: 20px; display: none; }
  1477. form#add-domain.htmx-request .buttons-wrapper { display: none; }
  1478. form#add-domain.htmx-request .spinner { display: block; }
  1479. form#add-domain .error { font-size: 0.85rem; }
  1480. /* SETTINGS - API */
  1481. #apikey-wrapper { margin-bottom: 1.5rem; }
  1482. #apikey {
  1483. display: flex;
  1484. align-items: center;
  1485. margin-bottom: 1rem;
  1486. }
  1487. #apikey p {
  1488. font-weight: bold;
  1489. border-bottom: 1px dotted #999;
  1490. transition: opacity 0.2s ease-in-out;
  1491. cursor: pointer;
  1492. line-break: anywhere;
  1493. }
  1494. #apikey p:hover {
  1495. opacity: 0.8;
  1496. }
  1497. form#generate-apikey .spinner { display: none; }
  1498. form#generate-apikey.htmx-request svg { display: none; }
  1499. form#generate-apikey.htmx-request .spinner { display: block; }
  1500. /* SETTINGS - CHANGE PASSWORD */
  1501. #change-password-wrapper { margin-bottom: 1.5rem; }
  1502. form#change-password { margin-top: 1.5rem; }
  1503. form#change-password button { margin-top: 1rem; }
  1504. form#change-password .spinner { display: none; }
  1505. form#change-password.htmx-request svg { display: none; }
  1506. form#change-password.htmx-request .spinner { display: block; }
  1507. /* SETTINGS - CHANGE EMAIL */
  1508. #change-email-wrapper { margin-bottom: 1.5rem; }
  1509. form#change-email { margin-top: 1.5rem; }
  1510. form#change-email button { margin-top: 1rem; }
  1511. form#change-email .spinner { display: none; }
  1512. form#change-email.htmx-request svg { display: none; }
  1513. form#change-email.htmx-request .spinner { display: block; }
  1514. /* SETTINGS - DELETE ACCOUNT */
  1515. #delete-account-wrapper { margin-bottom: 1.5rem; }
  1516. form#delete-account { margin-top: 1.5rem; }
  1517. form#delete-account button { margin-top: 1rem; }
  1518. form#delete-account .spinner { display: none; }
  1519. form#delete-account.htmx-request svg { display: none; }
  1520. form#delete-account.htmx-request .spinner { display: block; }
  1521. /* STATS */
  1522. #stats-section {
  1523. width: 1200px;
  1524. max-width: 100%;
  1525. padding: 0 16px;
  1526. }
  1527. .loading-stats {
  1528. width: 100%;
  1529. flex: 1 1 0;
  1530. margin-top: -5rem;
  1531. display: flex;
  1532. align-items: center;
  1533. justify-content: center;
  1534. }
  1535. .loading-stats .spinner {
  1536. width: 1.25rem;
  1537. margin-right: 0.5rem;
  1538. }
  1539. .stats-info {
  1540. width: 100%;
  1541. display: flex;
  1542. align-items: flex-end;
  1543. justify-content: space-between;
  1544. }
  1545. .stats-info h2 { font-weight: 300; font-size: 24px; }
  1546. .stats-info p { font-size: 14px; }
  1547. .stats-info h2,
  1548. .stats-info p { margin: 0 }
  1549. #stats {
  1550. width: 100%;
  1551. display: flex;
  1552. flex-direction: column;
  1553. align-items: stretch;
  1554. background-color: white;
  1555. border-radius: 12px;
  1556. box-shadow: 0 6px 15px hsla(200, 20%, 70%, 0.3);
  1557. overflow: hidden;
  1558. padding: 0;
  1559. }
  1560. .stats-head {
  1561. width: 100%;
  1562. display: flex;
  1563. align-items: center;
  1564. background-color: hsl(200, 12%, 95%);
  1565. justify-content: space-between;
  1566. padding: 0.75rem 1.5rem;
  1567. }
  1568. .total-number { font-weight: bold; }
  1569. .stats-nav { display: flex; align-items: center; }
  1570. .stats-nav button { margin-right: 0.75rem; }
  1571. .stats-nav button:last-child { margin-right: 0; }
  1572. .stats-period {
  1573. display: flex;
  1574. flex-direction: column;
  1575. align-items: stretch;
  1576. padding: 0.75rem 1.5rem;
  1577. }
  1578. .stats-period h2 {
  1579. font-size: 24px;
  1580. font-weight: 300;
  1581. margin: 1rem 0 0;
  1582. }
  1583. .stats-period span.total-in-period {
  1584. font-weight: bold;
  1585. border-bottom: 1px dotted hsl(200, 35%, 65%);
  1586. }
  1587. p.last-update {
  1588. font-size: 14px;
  1589. color: hsl(200, 14%, 60%);
  1590. margin: 0.75rem 0 0;
  1591. }
  1592. #stats canvas {
  1593. width: 100%;
  1594. margin: 2rem 0;
  1595. }
  1596. .stats-columns-wrapper {
  1597. display: flex;
  1598. align-items: flex-start;
  1599. }
  1600. .stats-columns-wrapper > div {
  1601. flex: 1 1 50%;
  1602. }
  1603. svg.map { width: 100%; }
  1604. svg.map path {
  1605. fill: hsl(200, 15%, 92%);
  1606. stroke: #fff;
  1607. transition: all 0.1s ease-in-out;
  1608. }
  1609. svg.map path.color-1 { fill: hsl(261, 46%, 90%); }
  1610. svg.map path.color-2 { fill: hsl(261, 46%, 86%); }
  1611. svg.map path.color-3 { fill: hsl(261, 46%, 82%); }
  1612. svg.map path.color-4 { fill: hsl(261, 46%, 76%); }
  1613. svg.map path.color-5 { fill: hsl(261, 46%, 72%); }
  1614. svg.map path.color-6 { fill: hsl(261, 46%, 68%); }
  1615. svg.map path.active { stroke: hsl(261, 46%, 50%); stroke-width: 1.5; }
  1616. #map-tooltip {
  1617. position: fixed;
  1618. }
  1619. #map-tooltip.visible::before,
  1620. #map-tooltip.visible::after {
  1621. display: block !important;
  1622. }
  1623. #map-tooltip:before {
  1624. border-top-color: rgba(255, 255, 255, 0.95);
  1625. }
  1626. #map-tooltip:after {
  1627. box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.15);
  1628. background: rgba(255, 255, 255, 0.95);
  1629. color: #333;
  1630. }
  1631. .stats-back-to-home {
  1632. width: 100%;
  1633. display: flex;
  1634. justify-content: center;
  1635. margin: 2rem 0;
  1636. }
  1637. .stats-error {
  1638. width: 100%;
  1639. flex: 1 1 auto;
  1640. display: flex;
  1641. flex-direction: column;
  1642. align-items: center;
  1643. justify-content: center;
  1644. text-align: center;
  1645. }
  1646. .stats-error p { margin-top: -3rem; display: flex; align-items: center; }
  1647. .stats-error p svg { width: 1.2rem; margin: 0 0.5rem 0.1rem 0; }
  1648. .stats-error .stats-back-to-home { margin-top: 0 }
  1649. /* 404 - NOT FOUND */
  1650. #notfound {
  1651. width: 800px;
  1652. align-items: center;
  1653. }
  1654. #notfound h2 {
  1655. font-size: 28px;
  1656. font-weight: 300;
  1657. text-align: center;
  1658. }
  1659. /* BANNED */
  1660. #banned { width: 1200px; align-items: center; text-align: center }
  1661. #banned h2 { font-weight: normal; }
  1662. #banned h4 { font-weight: normal; margin: 0; }
  1663. /* REPORT */
  1664. #report { width: 600px; }
  1665. #report form {
  1666. display: flex;
  1667. flex-direction: column;
  1668. margin-top: 2rem;
  1669. }
  1670. #report form .inputs-wrapper {
  1671. display: flex;
  1672. align-items: flex-end;
  1673. }
  1674. #report form button { margin: 0 0 0.2rem 1rem; }
  1675. #report form .spinner { display: none; }
  1676. #report form.htmx-request svg { display: none; }
  1677. #report form.htmx-request .spinner { display: block; }
  1678. #report-email .spinner { display: none; }
  1679. #report-email .htmx-request svg { display: none; }
  1680. #report-email .htmx-request .spinner { display: block; }
  1681. .eye-icon svg { stroke-width: 0.5; }
  1682. /* RESET PASSWORD */
  1683. #reset-password form {
  1684. width: 100%;
  1685. display: flex;
  1686. flex-direction: column;
  1687. }
  1688. #reset-password form .inputs-wrapper {
  1689. display: flex;
  1690. align-items: flex-end;
  1691. margin-top: 2rem;
  1692. }
  1693. #reset-password form label { flex: 0 0 280px; }
  1694. #reset-password form label input { width: 100%; }
  1695. #reset-password form button { margin: 0 0 0.2rem 1rem; }
  1696. #new-password h2 { margin-bottom: 0.5rem; }
  1697. #new-password p { margin-bottom: 1.5rem; }
  1698. #new-password-form label { margin-bottom: 1.5rem; }
  1699. #new-password-form label input { width: 280px; }
  1700. #new-password form {
  1701. width: 420px;
  1702. max-width: 100%;
  1703. flex: 1 1 auto;
  1704. display: flex;
  1705. padding: 0 16px;
  1706. flex-direction: column;
  1707. }
  1708. #new-password form label { margin-bottom: 2rem; }
  1709. #new-password form input {
  1710. width: 100%;
  1711. height: 72px;
  1712. margin-top: 1rem;
  1713. padding: 0 3rem;
  1714. font-size: 16px;
  1715. }
  1716. #new-password form button {
  1717. height: 56px;
  1718. padding: 0 1rem 2px;
  1719. margin: 0;
  1720. }
  1721. /* VERIFY USER */
  1722. /* VERIFY CHANGE EMAIL */
  1723. /* RESET PASSWORD TOKEN */
  1724. .verify-page {
  1725. width: 600px;
  1726. align-items: center;
  1727. }
  1728. .verify-page h2,
  1729. .verify-page h3 {
  1730. display: flex;
  1731. align-items: center;
  1732. text-align: center;
  1733. font-weight: normal;
  1734. }
  1735. .verify-page h2 svg,
  1736. .verify-page h3 svg {
  1737. width: 1.15em;
  1738. height: auto;
  1739. margin-right: 0.5rem;
  1740. }
  1741. /* URL INFO */
  1742. #url-info {
  1743. width: 1200px;
  1744. align-items: center;
  1745. text-align: center;
  1746. padding: 0 16px;
  1747. }
  1748. #url-info h3 { font-weight: normal; margin: 0; }
  1749. #url-info p { line-break: anywhere; }
  1750. /* PROTECTED */
  1751. #protected { width: 600px; }
  1752. #protected form { width: 100%; margin-top: 1rem; }
  1753. #protected form .inputs-wrapper { width: 100%; display: flex; align-items: flex-end; }
  1754. #protected form label { flex: 0 0 280px; }
  1755. #protected form label input { width: 100%; }
  1756. #protected form button { margin: 0 0 0.2rem 1rem; }
  1757. #protected form .spinner { display: none; }
  1758. #protected form.htmx-request svg { display: none; }
  1759. #protected form.htmx-request .spinner { display: block; }
  1760. /* TERMS */
  1761. #terms { width: 600px; }
  1762. /* ERROR PAGE */
  1763. #error-page { align-items: center; text-align: center; }
  1764. #error-page h2 { margin: 0; }
  1765. #error-page .back-to-home { margin-top: 2rem; }
  1766. /* RESPONSIVE STYLES */
  1767. @media only screen and (max-width: 768px) {
  1768. html, body { font-size: 14px; }
  1769. input[type="text"],
  1770. input[type="email"],
  1771. input[type="password"],
  1772. select {
  1773. font-size: 14px;
  1774. padding: 0 16px;
  1775. height: 38px;
  1776. letter-spacing: 0.04em;
  1777. border-bottom-width: 4px;
  1778. }
  1779. label input { margin-top: 0.25rem; }
  1780. input[type="text"]::placeholder,
  1781. input[type="email"]::placeholder,
  1782. input[type="password"]::placeholder { font-size: 13px; letter-spacing: 0.04em; }
  1783. table tr { padding: 0 0.25rem; }
  1784. table th,
  1785. table td { padding: 0.5rem; }
  1786. table td { font-size: 14px; }
  1787. table tr.loading-placeholder td { font-size: 16px; }
  1788. a.button,
  1789. button { height: 32px; padding: 0 22px; font-size: 12px; }
  1790. a.button.action,
  1791. button.action { padding: 4px; width: 20px; height: 20px; }
  1792. button.nav { height: 26px; padding: 0 7px; font-size: 11px; }
  1793. .dialog .box { min-width: 300px; padding: 2rem 1.25rem; }
  1794. .dialog.qrcode .box { padding: 1.5rem; }
  1795. .dialog .loading { width: 20px; height: 20px; margin: 2rem 0; }
  1796. .dialog .content .buttons { margin-top: 1rem; }
  1797. header { padding: 16px 16px 0; height: 72px; }
  1798. header a.logo { font-size: 20px; }
  1799. header ul.logo-links { display: none; }
  1800. header .logo img { margin-right: 8px; }
  1801. header nav ul li { margin-left: 0.75rem }
  1802. header nav ul li a.button { height: 28px; padding: 0 1rem; font-size: 11px; }
  1803. form#login-signup label { margin-bottom: 1.5rem; }
  1804. form#login-signup input {
  1805. height: 58px;
  1806. margin-top: 0.75rem;
  1807. padding: 0 2rem;
  1808. font-size: 15px;
  1809. }
  1810. form#login-signup .buttons-wrapper { margin-bottom: 1rem; }
  1811. form#login-signup .buttons-wrapper button { height: 44px; }
  1812. form#login-signup a.forgot-password { font-size: 13px; }
  1813. .login-signup-message { margin-top: 1.5rem; }
  1814. .login-signup-message h1 { font-size: 20px; }
  1815. main #shorturl { margin-bottom: 1.5rem; }
  1816. main #shorturl h1 { font-size: 1.6rem; }
  1817. .clipboard { width: 30px; height: 30px; margin-right: 0.5rem; }
  1818. .clipboard svg.check { padding: 2px; }
  1819. main form input#target { height: 58px; padding: 0 58px 0 26px; font-size: 15px; }
  1820. main form input#target::placeholder { font-size: 14px; }
  1821. main form p.error { font-size: 12px; margin-left: 0.25rem; }
  1822. main form .target-wrapper p.error { font-size: 13px; margin-left: 0.5rem; }
  1823. main form button.submit { width: 22px; top: 13px; margin: 0 1rem 0; }
  1824. main form label#advanced { margin-top: 1.5rem; }
  1825. main form label#advanced input { margin-bottom: 3px; }
  1826. #main-table-wrapper { margin: 4rem 0 4.5rem;}
  1827. #main-table-wrapper h2 { margin-bottom: 0.5rem; }
  1828. #main-table-wrapper table thead,
  1829. #main-table-wrapper table tbody,
  1830. #main-table-wrapper table tfoot { min-width: 800px; }
  1831. #main-table-wrapper tr { padding: 0 0.25rem; }
  1832. #main-table-wrapper th,
  1833. #main-table-wrapper td { padding: 0.75rem; }
  1834. #main-table-wrapper table .actions a.button,
  1835. #main-table-wrapper table .actions button { margin-right: 0.3rem; }
  1836. #main-table-wrapper table td p.description { font-size: 12px; }
  1837. #main-table-wrapper table tr.no-data td { font-size: 16px; }
  1838. #main-table-wrapper.admin-table-wrapper table th.nav { flex-direction: column; align-items: flex-end; }
  1839. #main-table-wrapper.admin-table-wrapper table th .nav-divider { display: none; }
  1840. #main-table-wrapper.admin-table-wrapper table th .limit { margin-bottom: 1rem; }
  1841. table .tab a { padding: 0.3rem 0.9rem; }
  1842. #main-table-wrapper th.category-total p { font-size: 13px; }
  1843. #main-table-wrapper table thead tr.controls.with-filters { align-items: flex-start; }
  1844. #main-table-wrapper table th select, input.table-input { height: 28px; font-size: 12px; padding: 0 1rem; }
  1845. #main-table-wrapper table th select { background-position: right 0.7em top 50%, 0 0; }
  1846. .search-input-wrapper button { padding: 2px; margin-right: 0.15rem; }
  1847. #main-table-wrapper table th input.search.admin { max-width: 150px; padding: 0 1.5rem 0 1rem; }
  1848. #main-table-wrapper table th select.table-input { max-width: 120px; }
  1849. #main-table-wrapper table th button.table { height: 28px; }
  1850. #main-table-wrapper table th input::placeholder { font-size: 12px; }
  1851. #main-table-wrapper table tr.controls .checkbox { font-size: 13px; }
  1852. #main-table-wrapper table button.nav { margin-right: 0.5rem; }
  1853. #main-table-wrapper table .nav-divider { height: 18px; margin: 0 1rem; }
  1854. #main-table-wrapper table tbody td.right-fade:after { width: 14px; }
  1855. #main-table-wrapper table tr.edit td { padding: 1.25rem 1rem; }
  1856. #main-table-wrapper table tr.edit label { margin: 0 0.25rem 0.5rem; }
  1857. #main-table-wrapper table tr.edit input { height: 38px; padding: 0 1rem; font-size: 13px; }
  1858. #main-table-wrapper table tr.edit input,
  1859. #main-table-wrapper table tr.edit input + p { width: 200px; }
  1860. #main-table-wrapper table tr.edit input[name="target"],
  1861. #main-table-wrapper table tr.edit input[name="description"],
  1862. #main-table-wrapper table tr.edit input[name="target"] + p,
  1863. #main-table-wrapper table tr.edit input[name="description"] + p { width: 320px; }
  1864. #main-table-wrapper table tr.edit button { height: 32px; margin-right: 0.5rem; }
  1865. #main-table-wrapper table tr.edit td.loading svg { width: 14px; height: 14px; }
  1866. #main-table-wrapper table tr.edit form .response p { margin: 1rem 0 0; }
  1867. .dialog .ban-checklist label { margin: 0.5rem 1rem 0.5rem 0; }
  1868. footer { padding: 0.75rem 0; font-size: 12px; }
  1869. footer button.link { font-size: 12px; }
  1870. h1.settings-welcome { font-size: 18px; }
  1871. .add-domain-wrapper { margin: 1rem 0 1rem; }
  1872. .add-domain-wrapper > .spinner { width: 18px; margin: 0.5rem 0 0 0.5rem; }
  1873. form#add-domain { margin-top: 0.75rem; }
  1874. form#add-domain button { margin-right: 0.5rem }
  1875. .stats-info { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  1876. .stats-info h2 { font-size: 18px; margin-bottom: 0.25rem; }
  1877. .stats-info p { font-size: 11px; line-break: anywhere; }
  1878. .stats-head { padding: 0rem 1rem; }
  1879. .stats-head p { font-size: 0.9rem; }
  1880. .stats-nav button { margin-right: 0.5rem; }
  1881. .stats-period { padding: 0.5rem 1rem; }
  1882. .stats-period h2 { font-size: 18px; margin: 0.5rem 0 0; }
  1883. p.last-update { font-size: 12px; }
  1884. #stats canvas { margin: 1rem 0; }
  1885. .stats-columns-wrapper { flex-direction: column; }
  1886. .stats-columns-wrapper > div { flex-basis: 100%; }
  1887. #notfound h2 { font-size: 20px; }
  1888. #report form { margin-top: 1.5rem; }
  1889. #report form .inputs-wrapper { flex-direction: column; align-items: flex-start; }
  1890. #report form button { margin: 0.75rem 0 0.2rem 0; }
  1891. #reset-password form .inputs-wrapper { flex-direction: column; align-items: flex-start; margin-top: 1rem; }
  1892. #reset-password form label { flex-basis: 0; width: 280px; }
  1893. #reset-password form button { margin: 0.75rem 0 0.2rem 0; }
  1894. #new-password form label { margin-bottom: 1.5rem; }
  1895. #new-password form input {
  1896. height: 58px;
  1897. margin-top: 0.75rem;
  1898. padding: 0 2rem;
  1899. font-size: 15px;
  1900. }
  1901. #new-password form button { height: 44px; }
  1902. .verify-page h2,
  1903. .verify-page h3 { display: flex; flex-direction: column; }
  1904. #protected form { margin-top: 0.5rem; }
  1905. #protected form .inputs-wrapper { flex-direction: column; align-items: flex-start; }
  1906. #protected form label { flex-basis: 0; width: 280px; }
  1907. #protected form button { margin: 0.75rem 0 0.2rem 0; }
  1908. }
  1909. @media only screen and (max-width: 640px) {
  1910. table tr.loading-placeholder { justify-content: flex-start; }
  1911. .inputs { flex-direction: column; margin-bottom: 0.75rem; }
  1912. .inputs label { margin: 0 0 0.75rem; }
  1913. .inputs label:last-child { margin: 0; }
  1914. .advanced-input-wrapper { flex-direction: column; margin-bottom: 0; }
  1915. .advanced-input-wrapper label { width: 100%; margin-bottom: 0.75rem; padding-right: 0; }
  1916. .advanced-input-wrapper label input,
  1917. .advanced-input-wrapper label select { margin-top: 0.5rem; }
  1918. form#add-domain .spinner { width: 18px; }
  1919. #apikey-wrapper { max-width: 100%; }
  1920. #apikey p { font-size: 0.85rem; }
  1921. #apikey .clipboard { width: 22px; height: 22px; }
  1922. }