Merge pull request 'tailwind' (#651) from mmalmi/snort:main into main

This commit is contained in:
Martti Malmi
2023-10-15 18:28:07 +02:00
committed by Gitea
parent 28fa0b4bc8
commit a168465bdb
13 changed files with 1305 additions and 40 deletions

View File

@ -1,3 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--bg-color: #000;
--font-color: #fff;
@ -229,7 +233,10 @@ small {
line-height: 22px; /* 157.143% */
}
button {
button,
[type="button"],
[type="reset"],
[type="submit"] {
position: relative;
cursor: pointer;
padding: 10px 16px;
@ -242,6 +249,12 @@ button {
outline: none;
}
.btn,
input,
select {
@apply rounded-full;
}
button.primary {
background: rgb(239, 150, 68);
background: var(--primary-gradient);
@ -390,6 +403,42 @@ textarea {
font: inherit;
}
p {
margin-top: 1em;
margin-bottom: 1em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 1em;
margin-bottom: 1em;
font-weight: 600;
}
h1 {
font-size: 32px;
line-height: 42px;
}
h2 {
font-size: 26px;
line-height: 36px;
}
h3 {
font-size: 20px;
line-height: 30px;
}
h4 {
font-size: 18px;
line-height: 28px;
}
input[type="text"],
input[type="password"],
input[type="number"],
@ -758,6 +807,16 @@ div.form-col {
line-height: 36px;
}
.main-content .profile-preview {
margin: 8px 0;
}
.main-content h2 {
font-weight: 600;
font-size: 26px;
line-height: 36px;
}
button.tall {
height: 40px;
}
@ -914,6 +973,17 @@ svg.zap-solid {
border: 1px solid var(--border-color);
}
.light .spinner-button {
background: #fff;
border: 1px solid var(--border-color);
color: var(--font-secondary);
box-shadow: rgba(0, 0, 0, 0.08) 0 1px 1px;
}
.light .spinner-button:hover {
box-shadow: rgba(0, 0, 0, 0.2) 0 1px 3px;
}
.main-content.p {
border-bottom: 0;
border-top: 0;