styles.css 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635
  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. a {
  75. color: var(--color-primary);
  76. border-bottom: 1px dotted transparent;
  77. text-decoration: none;
  78. transition: all 0.2s ease-out;
  79. }
  80. a:hover {
  81. border-bottom-color: var(--color-primary);
  82. }
  83. a.nav {
  84. color: inherit;
  85. padding-bottom: 2px;
  86. }
  87. a.nav:hover {
  88. color: var(--color-primary);
  89. }
  90. a.button,
  91. button {
  92. position: relative;
  93. width: auto;
  94. height: 40px;
  95. display: flex;
  96. align-items: center;
  97. justify-content: center;
  98. padding: 0 32px;
  99. font-size: 13px;
  100. font-weight: normal;
  101. text-align: center;
  102. line-height: 1;
  103. word-break: keep-all;
  104. color: #444;
  105. border: none;
  106. border-radius: 100px;
  107. transition: all 0.4s ease-out;
  108. cursor: pointer;
  109. overflow: hidden;
  110. background: var(--button-bg);
  111. box-shadow: 0 5px 6px var(--button-bg-box-shadow-color);
  112. }
  113. a.button.primary,
  114. button.primary {
  115. color: white;
  116. background: var(--button-bg-primary);
  117. box-shadow: 0 5px 6px var(--button-bg-primary-box-shadow-color);
  118. }
  119. a.button.secondary,
  120. button.secondary {
  121. color: white;
  122. background: var(--button-bg-secondary);
  123. box-shadow: 0 5px 6px var(--button-bg-secondary-box-shadow-color);
  124. }
  125. a.button.danger,
  126. button.danger {
  127. color: white;
  128. background: var(--button-bg-danger);
  129. box-shadow: 0 5px 6px var(--button-bg-danger-box-shadow-color);
  130. }
  131. a.button.success,
  132. button.success {
  133. color: white;
  134. background: var(--button-bg-success);
  135. box-shadow: 0 5px 6px var(--button-bg-success-box-shadow-color);
  136. }
  137. a.button:focus,
  138. a.button:hover,
  139. button:focus,
  140. button:hover {
  141. box-shadow: 0 6px 15px var(--button-bg-box-shadow-color);
  142. transform: translateY(-2px) scale(1.02, 1.02);
  143. }
  144. a.button.primary:focus,
  145. a.button.primary:hover,
  146. button.primary:focus,
  147. button.primary:hover {
  148. box-shadow: 0 6px 15px var(--button-bg-primary-box-shadow-color);
  149. }
  150. a.button.secondary:focus,
  151. a.button.secondary:hover,
  152. button.secondary:focus,
  153. button.secondary:hover {
  154. box-shadow: 0 6px 15px var(--button-bg-secondary-box-shadow-color);
  155. }
  156. a.button.danger:focus,
  157. a.button.danger:hover,
  158. button.danger:focus,
  159. button.danger:hover {
  160. box-shadow: 0 6px 15px var(--button-bg-danger-box-shadow-color);
  161. }
  162. a.button.success:focus,
  163. a.button.success:hover,
  164. button.success:focus,
  165. button.success:hover {
  166. box-shadow: 0 6px 15px var(--button-bg-success-box-shadow-color);
  167. }
  168. button:disabled { cursor: default; }
  169. button:disabled:hover { transform: none; }
  170. button svg.with-text,
  171. button span svg {
  172. width: 16px;
  173. height: auto;
  174. margin-right: 0.5rem;
  175. stroke: white;
  176. stroke-width: 2;
  177. }
  178. button.action {
  179. padding: 5px;
  180. width: 24px;
  181. height: 24px;
  182. box-shadow: 0 2px 1px hsla(200, 15%, 60%, 0.12);
  183. }
  184. button.action:disabled {
  185. background: none;
  186. box-shadow: none;
  187. }
  188. button.action svg {
  189. width: 100%;
  190. margin-right: 0;
  191. }
  192. button.action.delete {
  193. background: hsl(0, 100%, 96%);
  194. }
  195. button.action.delete svg {
  196. stroke-width: 2;
  197. stroke: hsl(0, 100%, 69%);
  198. }
  199. button.action.edit {
  200. background: hsl(46, 100%, 94%);
  201. }
  202. button.action.edit svg {
  203. stroke-width: 2.5;
  204. stroke: hsl(46, 90%, 50%);
  205. }
  206. button.action.qrcode {
  207. background: hsl(0, 0%, 94%);
  208. }
  209. button.action.qrcode svg {
  210. fill: hsl(0, 0%, 35%);
  211. stroke: none;
  212. }
  213. button.action.stats {
  214. background: hsl(260, 100%, 96%);
  215. }
  216. button.action.stats svg {
  217. stroke-width: 2.5;
  218. stroke: hsl(260, 100%, 69%);
  219. }
  220. button.action.ban {
  221. background: hsl(10, 100%, 96%);
  222. }
  223. button.action.ban svg {
  224. stroke-width: 2;
  225. stroke: hsl(10, 100%, 40%);
  226. }
  227. button.action.password svg,
  228. button.action.banned svg {
  229. stroke-width: 2.5;
  230. stroke: #bbb;
  231. }
  232. button.table-nav {
  233. box-sizing: border-box;
  234. width: auto;
  235. height: 28px;
  236. display: flex;
  237. flex: 0 0 auto;
  238. align-items: center;
  239. justify-content: center;
  240. padding: 0 8px;
  241. border: none;
  242. border-radius: 4px;
  243. box-shadow: 0 0px 10px rgba(100, 100, 100, 0.1);
  244. background: none;
  245. background-color: white;
  246. transition: all 0.2s ease-in-out;
  247. font-size: 12px;
  248. cursor: pointer;
  249. }
  250. button.table-nav:disabled {
  251. background-color: #f6f6f6;
  252. box-shadow: 0 0px 5px rgba(150, 150, 150, 0.1);
  253. opacity: 0.9;
  254. color: #bbb;
  255. cursor: default;
  256. }
  257. button.table-nav svg {
  258. width: 14px;
  259. height: auto;
  260. }
  261. button.table-nav svg { stroke-width: 2.5; }
  262. button.table-nav:hover { transform: translateY(-2px); }
  263. button.table-nav:disabled:hover { transform: none; }
  264. svg.spinner {
  265. animation: spin 1s linear infinite, fadein 0.3s ease-in-out;
  266. }
  267. input {
  268. filter: none;
  269. }
  270. input[type="text"],
  271. input[type="email"],
  272. input[type="password"] {
  273. box-sizing: border-box;
  274. width: 240px;
  275. height: 44px;
  276. padding: 0 24px;
  277. font-size: 15px;
  278. letter-spacing: 0.05em;
  279. color: #444;
  280. background-color: white;
  281. border: none;
  282. border-radius: 100px;
  283. border-bottom: 5px solid #f5f5f5;
  284. border-bottom-width: 5px;
  285. box-shadow: 0 10px 35px hsla(200, 15%, 70%, 0.2);
  286. transition: all 0.5s ease-out;
  287. }
  288. input[type="text"]:focus,
  289. input[type="email"]:focus,
  290. input[type="password"]:focus {
  291. outline: none;
  292. box-shadow: 0 20px 35px hsla(200, 15%, 70%, 0.4);
  293. }
  294. input[type="text"]::placeholder,
  295. input[type="email"]::placeholder,
  296. input[type="password"]::placeholder {
  297. font-size: 14px;
  298. letter-spacing: 0.05em;
  299. color: #888;
  300. }
  301. .error input[type="text"],
  302. .error input[type="email"],
  303. .error input[type="password"] {
  304. border-bottom-color: rgba(250, 10, 10, 0.8);
  305. box-shadow: 0 10px 15px hsla(0, 100%, 75%, 0.2);
  306. }
  307. select {
  308. position: relative;
  309. width: 240px;
  310. height: 44px;
  311. padding: 0 24px;
  312. font-size: 15px;
  313. box-sizing: border-box;
  314. letter-spacing: 0.05em;
  315. color: #444;
  316. background-color: white;
  317. box-shadow: 0 10px 35px hsla(200, 15%, 70%, 0.2);
  318. border: none;
  319. border-radius: 100px;
  320. border-bottom: 5px solid #f5f5f5;
  321. border-bottom-width: 5px;
  322. transition: all 0.5s ease-out;
  323. appearance: none;
  324. 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");
  325. background-repeat: no-repeat, repeat;
  326. background-position: right 1.2em top 50%, 0 0;
  327. background-size: 1em auto, 100%;
  328. }
  329. select:focus {
  330. outline: none;
  331. box-shadow: 0 20px 35px hsla(200, 15%, 70%, 0.4);
  332. }
  333. .error select {
  334. border-bottom-color: rgba(250, 10, 10, 0.8);
  335. box-shadow: 0 10px 15px hsla(0, 100%, 75%, 0.2);
  336. }
  337. input[type="checkbox"] {
  338. position: relative;
  339. width: 1rem;
  340. height: 1rem;
  341. display: flex;
  342. align-items: center;
  343. justify-content: center;
  344. border-radius: 4px;
  345. background-color: white;
  346. box-shadow: 0 2px 4px rgba(50, 50, 50, 0.2);
  347. margin: 0;
  348. -webkit-appearance: none;
  349. appearance: none;
  350. cursor: pointer;
  351. }
  352. input[type="checkbox"]:focus {
  353. outline: 3px solid rgba(65, 164, 245, 0.5);
  354. }
  355. input[type="checkbox"]::after {
  356. content: "";
  357. position: absolute;
  358. top: 50%;
  359. left: 50%;
  360. width: 80%;
  361. height: 80%;
  362. display: block;
  363. border-radius: 2px;
  364. background-color: #9575cd;
  365. box-shadow: 0 2px 4px rgba(50, 50, 50, 0.2);
  366. cursor: pointer;
  367. opacity: 0;
  368. transform: translate(-50%, -50%) scale(0);
  369. transition: all 0.1s ease-in-out;
  370. }
  371. input[type="checkbox"]:checked:after {
  372. opacity: 1;
  373. transform: translate(-50%, -50%) scale(1);
  374. }
  375. label {
  376. display: flex;
  377. color: rgb(41, 71, 86);
  378. font-size: 1rem;
  379. flex-direction: column;
  380. align-items: flex-start;
  381. font-weight: bold;
  382. }
  383. label input {
  384. margin-top: 0.5rem;
  385. }
  386. label.checkbox {
  387. flex-direction: row;
  388. align-items: center;
  389. cursor: pointer;
  390. font-weight: normal;
  391. }
  392. label.checkbox input[type="checkbox"] {
  393. margin: 0 0.75rem 2px 0;
  394. }
  395. p.error,
  396. p.success {
  397. font-weight: normal;
  398. animation: fadein 0.3s ease-in-out;
  399. }
  400. p.error { color: red; }
  401. p.success { color: #0ea30e; }
  402. table {
  403. width: 100%;
  404. display: flex;
  405. flex-direction: column;
  406. background-color: white;
  407. border-radius: 12px;
  408. box-shadow: 0 6px 15px hsla(200, 20%, 70%, 0.3);
  409. text-align: center;
  410. overflow: auto;
  411. }
  412. table tr {
  413. flex: 1 1 auto;
  414. }
  415. table tr,
  416. table th,
  417. table td,
  418. table thead,
  419. table tfoot {
  420. display: flex;
  421. overflow: hidden;
  422. }
  423. table tbody,
  424. table tr {
  425. overflow: visible;
  426. }
  427. table tbody,
  428. table thead,
  429. table tfoot {
  430. flex-direction: column;
  431. }
  432. table tr {
  433. padding: 0 0.5rem;
  434. border-bottom: 1px solid hsl(200, 14%, 94%);
  435. }
  436. table th,
  437. table td {
  438. flex-basis: 0;
  439. padding: 0.75rem;
  440. }
  441. table td {
  442. position: relative;
  443. white-space: nowrap;
  444. font-size: 15px;
  445. align-items: center;
  446. }
  447. table tbody {
  448. border-bottom-right-radius: 12px;
  449. border-bottom-left-radius: 12px;
  450. animation: fadein 0.3s ease-in-out;
  451. }
  452. table tbody + tfoot {
  453. border: none;
  454. }
  455. table thead {
  456. background-color: hsl(200, 12%, 95%);
  457. border-top-right-radius: 12px;
  458. border-top-left-radius: 12px;
  459. font-weight: bold;
  460. }
  461. table thead tr {
  462. border-bottom: 1px solid hsl(200, 14%, 90%);
  463. }
  464. table tfoot {
  465. background-color: hsl(200, 12%, 95%);
  466. border-bottom-right-radius: 12px;
  467. border-bottom-left-radius: 12px;
  468. }
  469. table tr.loading-placeholder {
  470. flex: 1 1 auto;
  471. justify-content: center;
  472. animation: fadein 0.3s ease-in-out;
  473. }
  474. table tr.loading-placeholder td {
  475. flex: 0 0 auto;
  476. font-size: 18px;
  477. font-weight: 300;
  478. }
  479. .dialog {
  480. position: fixed;
  481. width: 100%;
  482. height: 100%;
  483. top: 0;
  484. left: 0;
  485. display: none;
  486. justify-content: center;
  487. align-items: center;
  488. background-color: rgba(50, 50, 50, 0.8);
  489. z-index: 1000;
  490. animation: fadein 0.2s ease-in-out;
  491. }
  492. .dialog.open { display: flex; }
  493. .dialog .box {
  494. min-width: 450px;
  495. max-width: 90%;
  496. display: flex;
  497. flex-direction: column;
  498. align-items: center;
  499. padding: 3rem 2rem;
  500. background-color: white;
  501. border-radius: 8px;
  502. --keyframe-slidey-offset: -30px;
  503. animation: slidey 0.2s ease-in-out;
  504. }
  505. .dialog.qrcode .box {
  506. min-width: auto;
  507. padding: 2rem;
  508. }
  509. .dialog .content-wrapper {
  510. display: flex;
  511. flex-direction: column;
  512. }
  513. .dialog .loading {
  514. display: none;
  515. width: 24px;
  516. height: 24px;
  517. margin: 3rem 0;
  518. animation: fadein 0.2s ease-in-out;
  519. }
  520. .dialog.htmx-request .loading {
  521. display: block;
  522. }
  523. .dialog.htmx-request .content-wrapper {
  524. display: none;
  525. }
  526. .dialog .loading svg {
  527. animation: spin 1s linear infinite;
  528. }
  529. .dialog .content {
  530. display: flex;
  531. flex-direction: column;
  532. animation: fadein 0.2s ease-in-out;
  533. }
  534. .dialog .content h2 {
  535. font-weight: bold !important;
  536. margin-bottom: 0.5rem !important;
  537. margin-top: 0;
  538. }
  539. .dialog .content .buttons {
  540. display: flex;
  541. align-items: center;
  542. margin-top: 1.5rem;
  543. }
  544. .dialog .content .buttons button { margin-right: 2rem; }
  545. .dialog .content .buttons button:last-child { margin-right: 0; }
  546. .dialog .content {
  547. align-items: center;
  548. }
  549. .dialog .content #dialog-error {
  550. margin-top: 1rem;
  551. margin-bottom: -1rem;
  552. }
  553. .dialog .content .icon {
  554. width: 48px;
  555. height: 48px;
  556. border-radius: 100%;
  557. padding: 5px;
  558. margin-bottom: 1.5rem;
  559. border: 2px solid;
  560. }
  561. .dialog .content .icon svg {
  562. width: 100%;
  563. height: auto;
  564. }
  565. .dialog .content .icon.success {
  566. border-color: var(--success-icon-color);
  567. }
  568. .dialog .content .icon.success svg {
  569. stroke-width: 2;
  570. stroke: var(--success-icon-color);
  571. }
  572. .dialog .content .icon.error {
  573. border-color: var(--error-icon-color);
  574. }
  575. .dialog .content .icon.error svg {
  576. stroke-width: 1.5;
  577. stroke: var(--error-icon-color);
  578. }
  579. .dialog .content svg.spinner {
  580. display: none;
  581. width: 24px;
  582. margin: 0.5rem 0;
  583. }
  584. .dialog .content.htmx-request svg.spinner { display: block; }
  585. .dialog .content.htmx-request button { display: none; }
  586. .inputs { display: flex; align-items: flex-start; margin-bottom: 1rem; }
  587. .inputs label { flex: 0 0 0; margin-right: 1rem; }
  588. .inputs label:last-child { margin-right: 0; }
  589. [data-tooltip] {
  590. position: relative;
  591. overflow: visible;
  592. }
  593. [data-tooltip]:before,
  594. [data-tooltip]:after {
  595. position: absolute;
  596. left: 50%;
  597. display: none;
  598. font-size: 11px;
  599. line-height: 1;
  600. opacity: 0;
  601. transform: translate(-50%, -0.5rem);
  602. }
  603. [data-tooltip]:before {
  604. content: "";
  605. border: 4px solid transparent;
  606. top: -4px;
  607. border-bottom-width: 0;
  608. border-top-color: #333;
  609. z-index: 1001;
  610. }
  611. [data-tooltip]:after {
  612. content: attr(data-tooltip);
  613. top: -25px;
  614. text-align: center;
  615. min-width: 1rem;
  616. white-space: nowrap;
  617. overflow: hidden;
  618. text-overflow: ellipsis;
  619. padding: 5px 7px;
  620. border-radius: 4px;
  621. box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
  622. background: #333;
  623. color: #fff;
  624. z-index: 1000;
  625. }
  626. [data-tooltip]:hover:before,
  627. [data-tooltip]:hover:after {
  628. display: block;
  629. }
  630. [data-tooltip]:before,
  631. [data-tooltip]:after,
  632. [data-tooltip]:hover:before,
  633. [data-tooltip]:hover:after {
  634. animation: tooltip 300ms ease-out forwards;
  635. }
  636. /* DISTINCT */
  637. .main-wrapper {
  638. min-height: 100vh;
  639. width: 100%;
  640. display: flex;
  641. flex: 0 0 auto;
  642. align-items: center;
  643. flex-direction: column;
  644. }
  645. /* LOGIN & SIGNUP */
  646. form#login-signup {
  647. max-width: 100%;
  648. flex: 1 1 auto;
  649. display: flex;
  650. flex-direction: column;
  651. width: 400px;
  652. margin: 3rem 0 0;
  653. }
  654. form#login-signup label { margin-bottom: 2rem; }
  655. form#login-signup input {
  656. width: 100%;
  657. height: 72px;
  658. margin-top: 1rem;
  659. padding: 0 3rem;
  660. font-size: 16px;
  661. }
  662. form#login-signup .buttons-wrapper {
  663. display: flex;
  664. align-items: center;
  665. margin-bottom: 1.5rem;
  666. }
  667. form#login-signup .buttons-wrapper button {
  668. height: 56px;
  669. flex: 1 1 auto;
  670. padding: 0 1rem 2px;
  671. margin-right: 1rem;
  672. }
  673. form#login-signup .buttons-wrapper button:last-child { margin-right: 0; }
  674. form#login-signup a.forgot-password {
  675. align-self: flex-start;
  676. font-size: 14px;
  677. }
  678. form#login-signup svg.spinner { display: none; }
  679. form#login-signup.htmx-request:not(.signup) .login svg.spinner { display: block; }
  680. form#login-signup.htmx-request:not(.signup) .login svg.icon { display: none; }
  681. form#login-signup.htmx-request.signup .signup svg.spinner { display: block; }
  682. form#login-signup.htmx-request.signup .signup svg.icon { display: none; }
  683. form#login-signup.htmx-request .error { opacity: 0; }
  684. form#login-signup p.error {
  685. margin-bottom: 0;
  686. }
  687. .login-signup-message {
  688. flex: 1 1 auto;
  689. margin-top: 3rem;
  690. }
  691. .login-signup-message h1 {
  692. font-weight: 300;
  693. font-size: 24px;
  694. }
  695. /* HEADER */
  696. header {
  697. box-sizing: border-box;
  698. margin: 0;
  699. width: 1232px;
  700. max-width: 100%;
  701. padding: 0 32px;
  702. height: 102px;
  703. justify-content: space-between;
  704. align-items: center;
  705. display: flex;
  706. }
  707. header .logo-wrapper {
  708. display: flex;
  709. align-items: center;
  710. }
  711. header a.logo {
  712. position: relative;
  713. display: flex;
  714. align-items: center;
  715. font-size: 22px;
  716. font-weight: bold;
  717. text-decoration: none;
  718. border: none;
  719. margin: 0;
  720. padding: 0;
  721. }
  722. header a.logo:hover { border: none; color: inherit; }
  723. header .logo img {
  724. margin: 0 12px 0 0;
  725. padding: 0;
  726. }
  727. header ul.logo-links {
  728. list-style: none;
  729. display: flex;
  730. align-items: flex-end;
  731. margin: 0 0 0 0.5rem;
  732. padding: 0;
  733. }
  734. header ul.logo-links li {
  735. padding: 2px 0 0;
  736. margin: 0 0 0 32px;
  737. }
  738. header ul.logo-links li a {
  739. font-size: 16px;
  740. }
  741. header nav ul {
  742. display: flex;
  743. flex-direction: row-reverse;
  744. align-items: center;
  745. list-style: none;
  746. margin: 0;
  747. padding: 0;
  748. }
  749. header nav ul li {
  750. margin: 0 0 0 32px;
  751. padding: 0;
  752. }
  753. header nav ul li:last-child { margin-left: 0; }
  754. /* SHORTENER */
  755. main {
  756. width: 800px;
  757. max-width: 100%;
  758. flex: 0 0 auto;
  759. display: flex;
  760. flex-direction: column;
  761. align-items: center;
  762. padding: 0 1rem;
  763. margin-top: 1rem;
  764. }
  765. main #shorturl {
  766. display: flex;
  767. align-items: center;
  768. margin: 1rem 0 3rem;
  769. }
  770. main #shorturl h1 {
  771. margin: 0;
  772. border-bottom: 2px dotted transparent;
  773. font-weight: 300;
  774. font-size: 2rem;
  775. }
  776. main #shorturl h1.link {
  777. cursor: pointer;
  778. border-bottom-color: hsl(200, 35%, 65%);
  779. transition: opacity 0.3s ease-in-out;
  780. --keyframe-slidey-offset: -10px;
  781. animation: fadein 0.2s ease-in-out, slidey 0.2s ease-in-out;
  782. }
  783. main #shorturl h1.link:hover {
  784. opacity: 0.8;
  785. }
  786. .clipboard {
  787. width: 35px;
  788. height: 35px;
  789. display: flex;
  790. margin-right: 1rem;
  791. }
  792. .clipboard button {
  793. width: 100%;
  794. height: 100%;
  795. display: flex;
  796. margin: 0;
  797. padding: 7px;
  798. box-shadow: none;
  799. outline: none;
  800. border: none;
  801. background: none;
  802. border-radius: 100%;
  803. background-color: var(--copy-icon-bg-color);
  804. transition: transform 0.4s ease-out;
  805. box-shadow: 0 2px 1px hsla(200, 15%, 60%, 0.12);
  806. cursor: pointer;
  807. --keyframe-slidey-offset: -10px;
  808. animation: slidey 0.2s ease-in-out;
  809. }
  810. .clipboard.small { width: 24px; height: 24px; }
  811. .clipboard.small button { width: 24px; height: 24px; padding: 5px; }
  812. .clipboard button:hover,
  813. .clipboard button:focus {
  814. transform: translateY(-2px) scale(1.02, 1.02);
  815. }
  816. .clipboard button:focus {
  817. outline: 3px solid rgba(65, 164, 245, 0.5);
  818. }
  819. .clipboard svg {
  820. stroke: var(--copy-icon-color);
  821. width: 100%;
  822. height: auto;
  823. }
  824. .clipboard svg.copy {
  825. stroke-width: 2.5;
  826. }
  827. .clipboard svg.check {
  828. display: none;
  829. padding: 3px;
  830. stroke-width: 3;
  831. --keyframe-slidey-offset: -10px;
  832. animation: slidey 0.2s ease-in-out;
  833. }
  834. .clipboard.copied button {
  835. background-color: transparent;
  836. box-shadow: none;
  837. }
  838. .clipboard.copied button { display: none; }
  839. .clipboard.copied svg.check { display: block; }
  840. main #shorturl h1 span {
  841. border-bottom: 1px dotted #999;
  842. }
  843. main form {
  844. position: relative;
  845. width: 100%;
  846. display: flex;
  847. flex-direction: column;
  848. }
  849. main form input#target {
  850. position: relative;
  851. width: 100%;
  852. height: 72px;
  853. display: flex;
  854. padding: 0 84px 0 40px;
  855. font-size: 20px;
  856. }
  857. main form input#target::placeholder {
  858. font-size: 17px;
  859. }
  860. main form p.error {
  861. font-size: 13px;
  862. margin-left: 0.5rem;
  863. }
  864. main form .target-wrapper p.error {
  865. font-size: 15px;
  866. margin-left: 1rem;
  867. }
  868. main form .target-wrapper {
  869. position: relative;
  870. width: 100%;
  871. height: auto;
  872. }
  873. main form button.submit {
  874. box-sizing: content-box;
  875. position: absolute;
  876. cursor: pointer;
  877. width: 28px;
  878. height: auto;
  879. right: 0;
  880. top: 16px;
  881. padding: 4px;
  882. margin: 0 2rem 0;
  883. background: none;
  884. box-shadow: none;
  885. outline: none;
  886. border: none;
  887. }
  888. main form button.submit:focus,
  889. main form button.submit:hover {
  890. outline: none;
  891. }
  892. main form button.submit svg.send {
  893. fill: #aaa;
  894. animation: fadein 0.3s ease-in-out;
  895. transition: fill 0.2s ease-in-out;
  896. }
  897. main form button.submit:hover svg.send {
  898. fill: var(--send-icon-hover-color);
  899. }
  900. main form button.submit svg.spinner {
  901. display: none;
  902. fill: none;
  903. stroke: var(--send-spinner-icon-color);
  904. stroke-width: 2;
  905. }
  906. main form.htmx-request button.submit svg.send { display: none; }
  907. main form.htmx-request button.submit svg.spinner { display: block; }
  908. main form label#advanced {
  909. margin-top: 2rem;
  910. align-self: flex-start;
  911. }
  912. main form label#advanced input {
  913. width: 1.1rem;
  914. height: 1.1rem;
  915. margin-bottom: 2px;
  916. }
  917. #advanced-options {
  918. display: flex;
  919. flex-direction: column;
  920. margin-top: 1.5rem;
  921. }
  922. #advanced-options.hidden { display: none; }
  923. .advanced-input-wrapper {
  924. width: 100%;
  925. display: flex;
  926. align-items: flex-start;
  927. margin-bottom: 1rem;
  928. }
  929. .advanced-input-wrapper label {
  930. flex: 1 1 0;
  931. padding-right: 1rem;
  932. }
  933. .advanced-input-wrapper label.expire-in { flex: 1 1 34%; }
  934. .advanced-input-wrapper label.description { flex: 1 1 65%; }
  935. .advanced-input-wrapper label:last-child { padding-right: 0; }
  936. .advanced-input-wrapper label input,
  937. .advanced-input-wrapper label select {
  938. width: 100%;
  939. margin-top: 0.5rem;
  940. }
  941. /* LINKS TABLE */
  942. #links-table-wrapper {
  943. width: 1200px;
  944. max-width: 95%;
  945. display: flex;
  946. flex-direction: column;
  947. flex: 1 1 auto;
  948. align-items: flex-start;
  949. margin: 7rem 0 7.5rem;
  950. }
  951. #links-table-wrapper h2 {
  952. font-weight: 300;
  953. margin-bottom: 1rem;
  954. }
  955. #links-table-wrapper table thead,
  956. #links-table-wrapper table tbody,
  957. #links-table-wrapper table tfoot {
  958. min-width: 1000px;
  959. }
  960. #links-table-wrapper tr {
  961. padding: 0 0.5rem;
  962. }
  963. #links-table-wrapper th,
  964. #links-table-wrapper td {
  965. padding: 1rem;
  966. }
  967. #links-table-wrapper td {
  968. font-size: 16px;
  969. }
  970. #links-table-wrapper table .original-url { flex: 7 7 0; }
  971. #links-table-wrapper table .created-at { flex: 2.5 2.5 0; }
  972. #links-table-wrapper table .short-link { flex: 3 3 0; }
  973. #links-table-wrapper table .views { flex: 1 1 0; justify-content: flex-end; }
  974. #links-table-wrapper table .actions { flex: 3 3 0; justify-content: flex-end; overflow: visible; }
  975. #links-table-wrapper table .actions button { margin-right: 0.5rem; }
  976. #links-table-wrapper table .actions button:last-child { margin-right: 0; }
  977. #links-table-wrapper table td.original-url,
  978. #links-table-wrapper table td.created-at {
  979. flex-direction: column;
  980. align-items: flex-start;
  981. justify-content: center;
  982. }
  983. #links-table-wrapper table td.original-url p.description,
  984. #links-table-wrapper table td.created-at p.expire-in {
  985. margin: 0;
  986. font-size: 14px;
  987. color: #888;
  988. }
  989. #links-table-wrapper table tr.no-links {
  990. flex: 1 1 auto;
  991. justify-content: center;
  992. animation: fadein 0.3s ease-in-out;
  993. }
  994. #links-table-wrapper table.htmx-request tbody tr { opacity: 0.5; }
  995. #links-table-wrapper table tr.loading-placeholder { opacity: 0.6 !important; }
  996. #links-table-wrapper table tr.loading-placeholder td,
  997. #links-table-wrapper table tr.no-links td {
  998. flex: 0 0 auto;
  999. font-size: 18px;
  1000. font-weight: 300;
  1001. }
  1002. #links-table-wrapper table tr.loading-placeholder svg.spinner {
  1003. width: 1rem;
  1004. height: auto;
  1005. margin-right: 0.5rem;
  1006. stroke-width: 1.5;
  1007. }
  1008. #links-table-wrapper table tr.links-controls { justify-content: space-between; }
  1009. #links-table-wrapper table tfoot tr.links-controls { justify-content: flex-end; }
  1010. #links-table-wrapper table th.search,
  1011. #links-table-wrapper table th.nav {
  1012. flex: 0 0 auto;
  1013. align-items: center;
  1014. }
  1015. #links-table-wrapper table [name="search"] {
  1016. width: auto;
  1017. height: 32px;
  1018. font-size: 14px;
  1019. padding: 0 1.5rem;
  1020. border-radius: 3px;
  1021. border-bottom-width: 2px;
  1022. }
  1023. #links-table-wrapper table [name="search"]::placeholder {
  1024. font-size: 13px;
  1025. }
  1026. #links-table-wrapper table tr.links-controls .checkbox {
  1027. margin-left: 1rem;
  1028. font-size: 15px;
  1029. }
  1030. #links-table-wrapper table .limit,
  1031. #links-table-wrapper table .pagination {
  1032. display: flex;
  1033. align-items: center;
  1034. }
  1035. #links-table-wrapper table button.table-nav { margin-right: 0.75rem; }
  1036. #links-table-wrapper table button.table-nav:last-child { margin-right: 0; }
  1037. #links-table-wrapper table .table-nav-divider {
  1038. height: 20px;
  1039. width: 1px;
  1040. opacity: 0.4;
  1041. background-color: #888;
  1042. margin: 0 1.5rem;
  1043. }
  1044. #links-table-wrapper table tbody tr:hover {
  1045. background-color: hsl(200, 14%, 98%);
  1046. }
  1047. #links-table-wrapper table tbody td.right-fade:after {
  1048. content: "";
  1049. position: absolute;
  1050. right: 0;
  1051. top: 0;
  1052. height: 100%;
  1053. width: 16px;
  1054. background: linear-gradient(to left, white, rgba(255, 255, 255, 0.001));
  1055. }
  1056. #links-table-wrapper table tbody tr:hover td.right-fade:after {
  1057. background: linear-gradient(to left, hsl(200, 14%, 98%), rgba(255, 255, 255, 0.001));
  1058. }
  1059. #links-table-wrapper table .clipboard { margin-right: 0.5rem; }
  1060. #links-table-wrapper table .clipboard svg.check { width: 24px; }
  1061. #links-table-wrapper table tr.edit {
  1062. background-color: #fafafa;
  1063. }
  1064. #links-table-wrapper table tr.edit td {
  1065. width: 100%;
  1066. padding: 2rem 1.5rem;
  1067. flex-basis: auto;
  1068. }
  1069. #links-table-wrapper table tr.edit td form {
  1070. width: 100;
  1071. display: flex;
  1072. flex-direction: column;
  1073. align-items: flex-start;
  1074. }
  1075. #links-table-wrapper table tr.edit td form > div {
  1076. width: 100%;
  1077. display: flex;
  1078. align-items: start;
  1079. }
  1080. #links-table-wrapper table tr.edit label { margin: 0 0.5rem 1rem; }
  1081. #links-table-wrapper table tr.edit label:first-child { margin-left: 0; }
  1082. #links-table-wrapper table tr.edit label:last-child { margin-right: 0; }
  1083. #links-table-wrapper table tr.edit input {
  1084. height: 44px;
  1085. padding: 0 1.5rem;
  1086. font-size: 15px;
  1087. }
  1088. #links-table-wrapper table tr.edit input,
  1089. #links-table-wrapper table tr.edit input + p {
  1090. width: 240px;
  1091. max-width: 100%;
  1092. font-size: 14px;
  1093. text-wrap: wrap;
  1094. text-align: left;
  1095. }
  1096. #links-table-wrapper table tr.edit input[name="target"],
  1097. #links-table-wrapper table tr.edit input[name="description"],
  1098. #links-table-wrapper table tr.edit input[name="target"] + p,
  1099. #links-table-wrapper table tr.edit input[name="description"] + p {
  1100. width: 420px;
  1101. }
  1102. #links-table-wrapper table tr.edit button {
  1103. height: 38px;
  1104. margin-right: 1rem;
  1105. }
  1106. #links-table-wrapper table tr.edit button:last-child { margin-right: 0; }
  1107. #links-table-wrapper table tr.edit form {
  1108. --keyframe-slidey-offset: -5px;
  1109. animation: fadein 0.3s ease-in-out, slidey 0.32s ease-in-out;
  1110. }
  1111. #links-table-wrapper table tr.edit form.no-animation { animation: none; }
  1112. #links-table-wrapper table tr.edit { display: none; }
  1113. #links-table-wrapper table tr.edit.show { display: flex; }
  1114. #links-table-wrapper table tr.edit td.loading { display: none; }
  1115. #links-table-wrapper table tr.edit.htmx-request td.loading { display: block; }
  1116. #links-table-wrapper table tr.edit td.loading svg { width: 16px; height: 16px; }
  1117. #links-table-wrapper table tr.edit form.htmx-request button .reload { display: none; }
  1118. #links-table-wrapper table tr.edit form button .loader { display: none; }
  1119. #links-table-wrapper table tr.edit form.htmx-request button .loader { display: inline-block; }
  1120. #links-table-wrapper table tr.edit form .response p { margin: 2rem 0 0; }
  1121. .dialog .ban-checklist {
  1122. display: flex;
  1123. align-items: center;
  1124. }
  1125. .dialog .ban-checklist label { margin: 1rem 1.5rem 1rem 0; }
  1126. .dialog .ban-checklist label:last-child { margin-right: 0; }
  1127. /* SETTINGS */
  1128. #settings {
  1129. width: 600px;
  1130. max-width: 90%;
  1131. flex: 1 1 auto;
  1132. display: flex;
  1133. flex-direction: column;
  1134. align-items: flex-start;
  1135. margin-top: 2rem;
  1136. }
  1137. h1.settings-welcome {
  1138. font-size: 28px;
  1139. font-weight: 300;
  1140. }
  1141. h1.settings-welcome span {
  1142. border-bottom: 2px dotted #999;
  1143. padding-bottom: 2px;
  1144. font-weight: normal;
  1145. }
  1146. /* SETTINGS - DOMAIN */
  1147. #domains-table { margin-top: 1rem; }
  1148. #domains-table .domain { flex: 2 2 0; }
  1149. #domains-table .homepage { flex: 2 2 0; }
  1150. #domains-table .actions { flex: 1 1 0; justify-content: flex-end; padding-right: 1rem; }
  1151. #domains-table .no-entry { flex: 1 1 0; opacity: 0.8; }
  1152. .add-domain-wrapper {
  1153. width: 100%;
  1154. display: flex;
  1155. flex-direction: column;
  1156. align-items: flex-start;
  1157. margin: 1.5rem 0 2rem;
  1158. }
  1159. .add-domain-wrapper > .spinner {
  1160. width: 20px;
  1161. display: none;
  1162. margin: 1rem 0 0 1rem;
  1163. }
  1164. .add-domain-wrapper.htmx-request > button { display: none; }
  1165. .add-domain-wrapper.htmx-request > .spinner { display: block; }
  1166. form#add-domain { margin-top: 1rem; }
  1167. form#add-domain .buttons-wrapper { display: flex; }
  1168. form#add-domain button { margin-right: 1rem }
  1169. form#add-domain .spinner { width: 20px; display: none; }
  1170. form#add-domain.htmx-request .buttons-wrapper { display: none; }
  1171. form#add-domain.htmx-request .spinner { display: block; }
  1172. form#add-domain .error { font-size: 0.85rem; }
  1173. /* SETTINGS - API */
  1174. #apikey-wrapper { margin-bottom: 1.5rem; }
  1175. #apikey {
  1176. display: flex;
  1177. align-items: center;
  1178. margin-bottom: 1rem;
  1179. }
  1180. #apikey p {
  1181. font-weight: bold;
  1182. border-bottom: 1px dotted #999;
  1183. transition: opacity 0.2s ease-in-out;
  1184. cursor: pointer;
  1185. }
  1186. #apikey p:hover {
  1187. opacity: 0.8;
  1188. }
  1189. form#generate-apikey .spinner { display: none; }
  1190. form#generate-apikey.htmx-request svg { display: none; }
  1191. form#generate-apikey.htmx-request .spinner { display: block; }
  1192. /* SETTINGS - CHANGE PASSWORD */
  1193. #change-password-wrapper { margin-bottom: 1.5rem; }
  1194. form#change-password { margin-top: 1.5rem; }
  1195. form#change-password button { margin-top: 1rem; }
  1196. form#change-password .spinner { display: none; }
  1197. form#change-password.htmx-request svg { display: none; }
  1198. form#change-password.htmx-request .spinner { display: block; }
  1199. /* SETTINGS - CHANGE EMAIL */
  1200. #change-email-wrapper { margin-bottom: 1.5rem; }
  1201. form#change-email { margin-top: 1.5rem; }
  1202. form#change-email button { margin-top: 1rem; }
  1203. form#change-email .spinner { display: none; }
  1204. form#change-email.htmx-request svg { display: none; }
  1205. form#change-email.htmx-request .spinner { display: block; }
  1206. /* SETTINGS - DELETE ACCOUNT */
  1207. #delete-account-wrapper { margin-bottom: 1.5rem; }
  1208. form#delete-account { margin-top: 1.5rem; }
  1209. form#delete-account button { margin-top: 1rem; }
  1210. form#delete-account .spinner { display: none; }
  1211. form#delete-account.htmx-request svg { display: none; }
  1212. form#delete-account.htmx-request .spinner { display: block; }
  1213. /* INTRO */
  1214. .introduction {
  1215. width: 1200px;
  1216. max-width: 98%;
  1217. display: flex;
  1218. align-items: center;
  1219. margin: 150px 0 0;
  1220. }
  1221. .introduction .text-wrapper {
  1222. display: flex;
  1223. flex: 1 1 auto;
  1224. flex-direction: column;
  1225. align-items: flex-start;
  1226. margin-top: -32px;
  1227. }
  1228. .introduction h2 {
  1229. font-weight: 300;
  1230. font-size: 28px;
  1231. padding-right: 2rem;
  1232. margin-bottom: 2.5rem
  1233. }
  1234. .introduction img {
  1235. width: 60%;
  1236. flex: 0 0 60%;
  1237. max-width: 100%;
  1238. height: auto;
  1239. }
  1240. /* FEATURES */
  1241. .features {
  1242. display: flex;
  1243. flex-direction: column;
  1244. align-items: center;
  1245. width: 100%;
  1246. flex: 0 0 auto;
  1247. padding: 5rem 0;
  1248. margin: 0;
  1249. background-color: var(--features-bg);
  1250. }
  1251. .features h3 {
  1252. font-weight: 300;
  1253. font-size: 28px;
  1254. margin-bottom: 72px;
  1255. }
  1256. .features ul {
  1257. width: 1200px;
  1258. max-width: 100%;
  1259. flex: 1 1 auto;
  1260. justify-content: center;
  1261. flex-wrap: nowrap;
  1262. display: flex;
  1263. margin: 0;
  1264. padding: 0;
  1265. list-style: none;
  1266. }
  1267. .features ul li {
  1268. max-width: 25%;
  1269. display: flex;
  1270. flex-direction: column;
  1271. align-items: center;
  1272. padding: 0 1.5rem;
  1273. margin: 0;
  1274. }
  1275. .features ul li .icon {
  1276. width: 48px;
  1277. height: 48px;
  1278. display: flex;
  1279. align-items: center;
  1280. justify-content: center;
  1281. border-radius: 100%;
  1282. background-color: var(--color-primary);
  1283. }
  1284. .features ul li .icon svg {
  1285. width: 16px;
  1286. height: auto;
  1287. stroke: white;
  1288. stroke-width: 2px;
  1289. }
  1290. .features ul li h4 {
  1291. margin: 1rem;
  1292. padding: 0;
  1293. font-size: 15px;
  1294. }
  1295. .features ul li p {
  1296. margin: 0;
  1297. padding: 0;
  1298. font-size: 14px;
  1299. font-weight: 300;
  1300. text-align: center;
  1301. }
  1302. /* EXTENSIONS */
  1303. .extensions {
  1304. width: 100%;
  1305. display: flex;
  1306. flex-direction: column;
  1307. align-items: center;
  1308. flex: 0 0 auto;
  1309. flex-wrap: nowrap;
  1310. padding: 5rem 0;
  1311. background-color: var(--extensions-bg);
  1312. color: white;
  1313. }
  1314. .extensions h3 {
  1315. font-size: 28px;
  1316. font-weight: 300;
  1317. margin-bottom: 4rem;
  1318. }
  1319. .extensions .extenstions-wrapper {
  1320. width: 1200px;
  1321. max-width: 100%;
  1322. display: flex;
  1323. flex: 1 1 auto;
  1324. justify-content: center;
  1325. flex-wrap: nowrap;
  1326. }
  1327. .extensions a.extension-button {
  1328. display: flex;
  1329. align-items: center;
  1330. justify-content: center;
  1331. margin: 0 1rem;
  1332. padding: 0.75rem 1.75rem;
  1333. background-color: #eee;
  1334. border: 1px solid #aaa;
  1335. font-size: 14px;
  1336. font-weight: bold;
  1337. text-decoration: none;
  1338. border-radius: 4px;
  1339. outline: none;
  1340. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  1341. transition: transform 0.3s ease-out;
  1342. cursor: pointer;
  1343. }
  1344. .extensions a.extension-button:hover {
  1345. transform: translateY(-2px);
  1346. }
  1347. .extensions a.extension-button.chrome { color: #4285f4; }
  1348. .extensions a.extension-button.firefox { color: #e0890f; }
  1349. .extensions a.extension-button svg {
  1350. width: 18px;
  1351. height: auto;
  1352. margin: 0 1rem 2px 0;
  1353. }
  1354. .extensions a.extension-button.chrome svg { fill: #4285f4; }
  1355. .extensions a.extension-button.firefox svg { fill: #e0890f; }
  1356. /* FOOTER */
  1357. footer {
  1358. width: 100%;
  1359. display: flex;
  1360. justify-content: center;
  1361. padding: 1rem 0;
  1362. font-size: 13px;
  1363. text-align: center;
  1364. }