mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 18:01:39 +00:00
* **refactor: remove nebula static file serving** * **feat: Add login, register, and authorize sections** * **feat: implement registration form UI** * **refactor: abstract template rendering to ctx module** * **feat: add deployment target for Highway gateway** * **feat: migrate Highway gateway to Cloudflare Workers** * **feat: refactor nebula routes to components** * **chore(deps): remove unused dependencies** * **chore(deps): remove unused dependencies** * **feat: add user and relaying party entities** * **refactor: remove unused imports** * * **feat: add motion scale-in and opacity-in animations** * **refactor: move dwn and orm packages to internal** * **refactor: update imports to use relative paths** * **refactor: rename build targets for clarity** * **feat: add RelayingPartyEntity model** * **refactor: rename creds templates to credentials** * **refactor: remove unused entity model** * **refactor: move models to internal package** * **refactor: move models package to internal/orm** * **feat: implement broadcast channel context** * **feat: remove config upload step** * **feat: remove unused configuration files** * **feat: migrate authentication logic to workers** * **feat: remove cloudflared dependency** * **refactor: move client related routes to 'routes/client.go'** * **feat: implement macaroon middleware** * **refactor: move fetch package to cmd/motr** * **feat: remove auth and grant endpoints** * **docs: add conceptual descriptions to did module** <sub><a href="https://huly.app/guest/sonrhq?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsaW5rSWQiOiI2NzA4MTIyNmM3ZDZhNTZhOGY4ZGFjOTciLCJndWVzdCI6InRydWUiLCJlbWFpbCI6IiNndWVzdEBoYy5lbmdpbmVlcmluZyIsIndvcmtzcGFjZSI6InctcHJhZC1zb25yaHEtNjVlZjcyZDQtY2UyOGQ0ODJjNi00ZWY4ZDAifQ.j-w5jk5Ji-0vCkaxVaK8pDMIOhRsXmG7o6oZictoHYE">Huly®: <b>ENG-1057</b></a></sub>
198 lines
3.7 KiB
CSS
198 lines
3.7 KiB
CSS
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Inter+Tight:ital,wght@0,500;0,600;0,700;1,700&display=fallback");
|
|
|
|
/* src/css/styles.css */
|
|
@import "tailwindcss/base";
|
|
@import "tailwindcss/components";
|
|
@import "tailwindcss/utilities";
|
|
|
|
/* See Alpine.js: https://github.com/alpinejs/alpine#x-cloak */
|
|
[x-cloak=""] {
|
|
display: none;
|
|
}
|
|
|
|
@layer base {
|
|
@font-face {
|
|
font-family: "ZT Bros Oskon 90s";
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
font-display: swap;
|
|
src: url(https://cdn.sonr.id/fonts/ZTBrosOskon90s-BoldSemExpIta.woff2)
|
|
format("woff2");
|
|
}
|
|
@font-face {
|
|
font-family: "ZT Bros Oskon 90s";
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
font-display: swap;
|
|
src: url(https://cdn.sonr.id/fonts/ZTBrosOskon90s-BoldSemExp.woff2)
|
|
format("woff2");
|
|
}
|
|
}
|
|
|
|
/* Custom styles */
|
|
.form-input:focus,
|
|
.form-textarea:focus,
|
|
.form-multiselect:focus,
|
|
.form-select:focus,
|
|
.form-checkbox:focus,
|
|
.form-radio:focus {
|
|
@apply ring-0;
|
|
}
|
|
|
|
/* Hamburger button */
|
|
.hamburger svg > *:nth-child(1),
|
|
.hamburger svg > *:nth-child(2),
|
|
.hamburger svg > *:nth-child(3) {
|
|
transform-origin: center;
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
.hamburger svg > *:nth-child(1) {
|
|
transition:
|
|
y 0.1s 0.25s ease-in,
|
|
transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19),
|
|
opacity 0.1s ease-in;
|
|
}
|
|
|
|
.hamburger svg > *:nth-child(2) {
|
|
transition: transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
|
|
}
|
|
|
|
.hamburger svg > *:nth-child(3) {
|
|
transition:
|
|
y 0.1s 0.25s ease-in,
|
|
transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19),
|
|
width 0.1s 0.25s ease-in;
|
|
}
|
|
|
|
.hamburger.active svg > *:nth-child(1) {
|
|
opacity: 0;
|
|
y: 11;
|
|
transform: rotate(225deg);
|
|
transition:
|
|
y 0.1s ease-out,
|
|
transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1),
|
|
opacity 0.1s 0.12s ease-out;
|
|
}
|
|
|
|
.hamburger.active svg > *:nth-child(2) {
|
|
transform: rotate(225deg);
|
|
transition: transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
}
|
|
|
|
.hamburger.active svg > *:nth-child(3) {
|
|
y: 11;
|
|
transform: rotate(135deg);
|
|
transition:
|
|
y 0.1s ease-out,
|
|
transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1),
|
|
width 0.1s ease-out;
|
|
}
|
|
|
|
/* Typography */
|
|
.h1 {
|
|
@apply text-5xl font-bold;
|
|
}
|
|
|
|
.h2 {
|
|
@apply text-4xl font-bold;
|
|
}
|
|
|
|
.h3 {
|
|
@apply text-3xl font-bold;
|
|
}
|
|
|
|
.h4 {
|
|
@apply text-2xl font-bold;
|
|
}
|
|
|
|
@screen md {
|
|
.h1 {
|
|
@apply text-6xl;
|
|
}
|
|
|
|
.h2 {
|
|
@apply text-5xl;
|
|
}
|
|
|
|
.h3 {
|
|
@apply text-4xl;
|
|
}
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn,
|
|
.btn-sm {
|
|
@apply text-sm font-medium inline-flex items-center justify-center border border-transparent rounded-md tracking-normal transition;
|
|
}
|
|
|
|
.btn {
|
|
@apply px-4 py-2;
|
|
}
|
|
|
|
.btn-sm {
|
|
@apply px-2 py-1;
|
|
}
|
|
|
|
/* Forms */
|
|
input[type="search"]::-webkit-search-decoration,
|
|
input[type="search"]::-webkit-search-cancel-button,
|
|
input[type="search"]::-webkit-search-results-button,
|
|
input[type="search"]::-webkit-search-results-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
.form-input,
|
|
.form-textarea,
|
|
.form-multiselect,
|
|
.form-select,
|
|
.form-checkbox,
|
|
.form-radio {
|
|
@apply bg-white border border-zinc-200 focus:border-zinc-400 shadow shadow-black/5;
|
|
}
|
|
|
|
.form-input,
|
|
.form-textarea,
|
|
.form-multiselect,
|
|
.form-select,
|
|
.form-checkbox {
|
|
@apply rounded;
|
|
}
|
|
|
|
.form-input,
|
|
.form-textarea,
|
|
.form-multiselect,
|
|
.form-select {
|
|
@apply text-zinc-600 text-sm px-4 py-2;
|
|
}
|
|
|
|
.form-input,
|
|
.form-textarea {
|
|
@apply placeholder-zinc-400;
|
|
}
|
|
|
|
.form-select {
|
|
@apply pr-10;
|
|
}
|
|
|
|
.form-checkbox,
|
|
.form-radio {
|
|
@apply text-zinc-800;
|
|
}
|
|
|
|
.form-checkbox {
|
|
@apply rounded-sm;
|
|
}
|
|
|
|
/* Chrome, Safari and Opera */
|
|
.no-scrollbar::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.no-scrollbar {
|
|
-ms-overflow-style: none;
|
|
/* IE and Edge */
|
|
scrollbar-width: none;
|
|
/* Firefox */
|
|
}
|