styles.css 54 KB

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