Init
This commit is contained in:
448
src/css/App.css
Normal file
448
src/css/App.css
Normal file
@@ -0,0 +1,448 @@
|
||||
@font-face {
|
||||
font-family: "Roboto Regular";
|
||||
src: url("./../fonts/roboto-regular/roboto-regular.woff2") format("woff2"),
|
||||
url("./../fonts/roboto-regular/roboto-regular.woff") format("woff"),
|
||||
url("./../fonts/roboto-regular/roboto-regular.ttf") format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
.App { text-align: center; }
|
||||
|
||||
.app-loader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border: 3px solid rgba(91, 140, 255, 0.2);
|
||||
border-top-color: var(--color-primary);
|
||||
border-radius: 50%;
|
||||
animation: spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(8px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a { color: inherit; text-decoration: none; }
|
||||
|
||||
.app {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.app-container {
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* ── Страницы ── */
|
||||
.login-page,
|
||||
.profile-page {
|
||||
background: var(--gradient-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
padding: var(--space-2xl);
|
||||
margin: var(--space-xl) auto;
|
||||
animation: fadeIn var(--transition-slow) ease both;
|
||||
}
|
||||
|
||||
.login-page {
|
||||
max-width: 420px;
|
||||
margin-top: 64px;
|
||||
}
|
||||
|
||||
.profile-page {
|
||||
max-width: 1200px;
|
||||
padding: var(--space-xl);
|
||||
}
|
||||
|
||||
.page-container {
|
||||
flex: 1 1 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow-x: auto;
|
||||
background: var(--gradient-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
padding: var(--space-xl);
|
||||
margin: var(--space-md) 0;
|
||||
max-width: 99%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* ── Типографика ── */
|
||||
h1, h2, h3 {
|
||||
color: var(--color-text);
|
||||
margin: 0 0 var(--space-lg) 0;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.01em;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: center;
|
||||
font-size: 1.6rem;
|
||||
background: var(--gradient-accent);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.2rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
p {
|
||||
color: var(--color-text-muted);
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.modal-content p {
|
||||
text-align: left;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.modal-content div {
|
||||
margin-bottom: var(--space-md);
|
||||
}
|
||||
|
||||
.text-block {
|
||||
text-align: left;
|
||||
color: var(--color-text-dim);
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
.com {
|
||||
color: var(--color-text-dim);
|
||||
text-align: left;
|
||||
margin: var(--space-sm) 0 auto;
|
||||
}
|
||||
|
||||
.com p { color: var(--color-text); font-size: 1rem; }
|
||||
|
||||
.user-info p {
|
||||
text-align: left;
|
||||
color: var(--color-text);
|
||||
margin: var(--space-md) 0;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
/* ── Формы ── */
|
||||
form div {
|
||||
margin-bottom: var(--space-md);
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
font-weight: 500;
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.9rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="password"],
|
||||
input[type="datetime-local"],
|
||||
input[type="email"],
|
||||
select,
|
||||
textarea {
|
||||
width: 100%;
|
||||
padding: 11px 14px;
|
||||
background-color: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--color-text);
|
||||
font-size: 0.95rem;
|
||||
font-family: inherit;
|
||||
transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
|
||||
}
|
||||
|
||||
input::placeholder { color: var(--color-text-dim); }
|
||||
|
||||
input:hover, select:hover, textarea:hover {
|
||||
border-color: var(--color-border-strong);
|
||||
}
|
||||
|
||||
input:focus, select:focus, textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px var(--color-primary-glow);
|
||||
background-color: var(--color-surface);
|
||||
}
|
||||
|
||||
/* ── Кнопки ── */
|
||||
button {
|
||||
width: 100%;
|
||||
padding: 11px 18px;
|
||||
margin: 8px 0;
|
||||
background: var(--gradient-primary);
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: var(--radius-md);
|
||||
cursor: pointer;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
font-family: inherit;
|
||||
letter-spacing: 0.01em;
|
||||
transition: transform var(--transition-fast), box-shadow var(--transition-base), filter var(--transition-base);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
button:hover:not(:disabled) {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-glow);
|
||||
filter: brightness(1.08);
|
||||
}
|
||||
|
||||
button:active:not(:disabled) {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
background: var(--color-surface-3);
|
||||
color: var(--color-text-dim);
|
||||
cursor: not-allowed;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.Important-button {
|
||||
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
|
||||
}
|
||||
.Important-button:hover:not(:disabled) {
|
||||
box-shadow: 0 0 24px rgba(239, 68, 68, 0.4);
|
||||
}
|
||||
|
||||
.button-small {
|
||||
width: auto;
|
||||
min-width: auto;
|
||||
padding: 8px 14px;
|
||||
}
|
||||
|
||||
/* Switch-link */
|
||||
.switch-link {
|
||||
margin-top: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.switch-link button {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--color-primary);
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
text-decoration: underline;
|
||||
padding: 0;
|
||||
width: auto;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* ── Ошибки ── */
|
||||
.error {
|
||||
background-color: rgba(239, 68, 68, 0.12);
|
||||
color: #fca5a5;
|
||||
border: 1px solid rgba(239, 68, 68, 0.3);
|
||||
padding: 12px 16px;
|
||||
border-radius: var(--radius-md);
|
||||
margin-bottom: var(--space-lg);
|
||||
text-align: center;
|
||||
font-size: 0.9rem;
|
||||
animation: fadeIn var(--transition-base) ease both;
|
||||
}
|
||||
|
||||
/* ── Modal buttons ── */
|
||||
.modal-buttons {
|
||||
display: flex;
|
||||
gap: var(--space-md);
|
||||
margin-top: var(--space-xl);
|
||||
}
|
||||
|
||||
.modal-buttons button { margin: 0; }
|
||||
|
||||
/* Small-button row */
|
||||
.buttonName {
|
||||
display: flex;
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
.buttonName button {
|
||||
background: var(--color-surface-2);
|
||||
margin: var(--space-md) 0;
|
||||
width: 44px;
|
||||
min-width: 44px;
|
||||
padding: 8px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
/* Рамка (Profile) */
|
||||
.frame {
|
||||
background: var(--color-surface-2);
|
||||
margin: var(--space-md) 0;
|
||||
width: 100%;
|
||||
max-width: 344px;
|
||||
padding: 12px 14px;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: 1rem;
|
||||
border: 1px solid var(--color-border);
|
||||
transition: border-color var(--transition-base), transform var(--transition-base);
|
||||
}
|
||||
|
||||
.frame p { font-size: 0.95rem; }
|
||||
|
||||
.frame:hover {
|
||||
border-color: var(--color-primary);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* ── Profile: description ── */
|
||||
.description-textarea {
|
||||
width: 100%;
|
||||
padding: 12px 14px;
|
||||
background-color: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--color-text);
|
||||
font-family: inherit;
|
||||
font-size: 0.95rem;
|
||||
resize: vertical;
|
||||
min-height: 120px;
|
||||
max-height: 240px;
|
||||
}
|
||||
|
||||
.description-textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px var(--color-primary-glow);
|
||||
}
|
||||
|
||||
.char-counter {
|
||||
text-align: right;
|
||||
color: var(--color-text-dim);
|
||||
font-size: 0.85rem;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.margin-top-large { margin-top: 10em; }
|
||||
|
||||
/* ── Avatar uploader ── */
|
||||
.avatar-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
float: right;
|
||||
margin: 24px;
|
||||
}
|
||||
|
||||
.avatar-upload-label {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.avatar-file-input {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.avatar-container {
|
||||
position: relative;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
background: var(--color-surface-3);
|
||||
box-shadow: 0 0 0 4px var(--color-surface), var(--shadow-md);
|
||||
transition: transform var(--transition-base), box-shadow var(--transition-base);
|
||||
}
|
||||
|
||||
.avatar-image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
transition: transform var(--transition-base), filter var(--transition-base);
|
||||
}
|
||||
|
||||
.avatar-placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 64px;
|
||||
color: var(--color-text-muted);
|
||||
text-transform: uppercase;
|
||||
background: var(--gradient-primary);
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.avatar-overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: rgba(15, 20, 28, 0.65);
|
||||
backdrop-filter: blur(4px);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
transition: opacity var(--transition-base), visibility var(--transition-base);
|
||||
border-radius: 50%;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.rounded-plus {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
background: var(--gradient-primary);
|
||||
color: #fff;
|
||||
font-size: 56px;
|
||||
font-weight: 300;
|
||||
border-radius: 50%;
|
||||
box-shadow: var(--shadow-md);
|
||||
transition: transform var(--transition-base);
|
||||
}
|
||||
|
||||
.avatar-upload-label:hover .rounded-plus { transform: scale(1.08); }
|
||||
.avatar-upload-label:hover .avatar-overlay { opacity: 1; visibility: visible; }
|
||||
.avatar-upload-label:hover .avatar-container { transform: scale(1.03); box-shadow: 0 0 0 4px var(--color-surface), var(--shadow-lg); }
|
||||
.avatar-upload-label:hover .avatar-image { filter: brightness(0.8); }
|
||||
|
||||
.uploading-spinner {
|
||||
margin-top: 10px;
|
||||
font-size: 12px;
|
||||
color: var(--color-text-muted);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* ── Form-group ── */
|
||||
.form-group { margin-bottom: var(--space-md); }
|
||||
.form-group label { text-align: left; }
|
||||
332
src/css/Board.css
Normal file
332
src/css/Board.css
Normal file
@@ -0,0 +1,332 @@
|
||||
.inf-panel {
|
||||
flex: 0 0 auto;
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
padding: var(--space-lg);
|
||||
border-radius: var(--radius-md);
|
||||
margin-bottom: var(--space-md);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
.inf-panel strong {
|
||||
margin-right: 1ch;
|
||||
color: var(--color-text-dim);
|
||||
font-weight: 600;
|
||||
font-size: 0.8rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
}
|
||||
|
||||
.inf-panel .row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-md);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.row p, .row h3 {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
word-break: break-word;
|
||||
align-items: center;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.row h3 {
|
||||
font-size: 1.15rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.row p {
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
.modal-content .row { margin: 0; }
|
||||
|
||||
.members-avatar {
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
margin-left: var(--space-sm);
|
||||
border-radius: var(--radius-full);
|
||||
object-fit: cover;
|
||||
border: 2px solid var(--color-surface-2);
|
||||
margin-right: -14px;
|
||||
transition: transform var(--transition-base);
|
||||
}
|
||||
|
||||
.members-avatar:hover { transform: translateY(-2px) scale(1.08); z-index: 2; }
|
||||
|
||||
.row button {
|
||||
width: auto;
|
||||
background: transparent;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 6px 10px;
|
||||
margin: 0;
|
||||
color: var(--color-text);
|
||||
font-weight: 500;
|
||||
border-radius: var(--radius-sm);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.row button:hover:not(:disabled) {
|
||||
background: var(--color-surface-3);
|
||||
color: var(--color-text);
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* Members-list */
|
||||
.members-list {
|
||||
gap: var(--space-sm);
|
||||
padding: var(--space-sm);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.members-list button {
|
||||
border-radius: var(--radius-md);
|
||||
margin: 0;
|
||||
padding: var(--space-md);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
background: var(--color-surface-3);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.members-list button:hover {
|
||||
background: var(--color-surface-3);
|
||||
box-shadow: 0 0 0 2px var(--color-primary-glow);
|
||||
}
|
||||
|
||||
.modal-member {
|
||||
flex: 0 1 auto;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
/* Setting panel */
|
||||
.set-panel {
|
||||
flex: 0 0 auto;
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
padding: var(--space-md);
|
||||
border-radius: var(--radius-md);
|
||||
margin-bottom: var(--space-md);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: var(--space-sm);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.set-panel button {
|
||||
width: auto;
|
||||
margin: 0;
|
||||
flex: 1 1 140px;
|
||||
}
|
||||
|
||||
/* Board */
|
||||
.board-panel {
|
||||
flex: 1 1 auto;
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
gap: var(--space-md);
|
||||
padding: var(--space-md);
|
||||
border-radius: var(--radius-md);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.categori {
|
||||
flex: 1 1 auto;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
background: var(--color-surface-3);
|
||||
border: 1px solid var(--color-border);
|
||||
min-width: 300px;
|
||||
max-width: 340px;
|
||||
padding: var(--space-md);
|
||||
border-radius: var(--radius-md);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
transition: border-color var(--transition-base), box-shadow var(--transition-base);
|
||||
}
|
||||
|
||||
.categori:hover {
|
||||
border-color: var(--color-border-strong);
|
||||
}
|
||||
|
||||
.categori > button {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
background: transparent;
|
||||
padding: var(--space-sm) var(--space-md);
|
||||
margin: 0 0 var(--space-sm);
|
||||
justify-content: flex-start;
|
||||
color: var(--color-text);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.categori > button:hover:not(:disabled) {
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.categori > button h3 {
|
||||
margin: 0;
|
||||
font-size: 1.05rem;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.bib { width: 100%; height: 100%; }
|
||||
|
||||
.task-list {
|
||||
flex: 1 1 auto;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm);
|
||||
width: 100%;
|
||||
margin-top: var(--space-sm);
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
.task {
|
||||
text-align: left;
|
||||
margin: 0;
|
||||
color: var(--color-text);
|
||||
padding: var(--space-md);
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
flex-direction: column;
|
||||
border-radius: var(--radius-md);
|
||||
font-size: 0.92rem;
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
gap: 6px;
|
||||
transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
|
||||
cursor: grab;
|
||||
}
|
||||
|
||||
.task:active { cursor: grabbing; }
|
||||
|
||||
.task:hover {
|
||||
background: var(--color-surface-3);
|
||||
border-color: var(--color-primary);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.task > div:first-child {
|
||||
font-weight: 600;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.task > div:not(:first-child) {
|
||||
font-size: 0.82rem;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.create {
|
||||
background: transparent;
|
||||
border: 2px dashed var(--color-border-strong);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
transition: border-color var(--transition-base), background var(--transition-base);
|
||||
}
|
||||
|
||||
.create button {
|
||||
background: transparent;
|
||||
color: var(--color-text-muted);
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.create button:hover:not(:disabled) {
|
||||
background: transparent;
|
||||
color: var(--color-text);
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.create:hover {
|
||||
border-color: var(--color-primary);
|
||||
background: rgba(91, 140, 255, 0.06);
|
||||
}
|
||||
|
||||
.categori .create {
|
||||
margin-top: 0;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.categori.create {
|
||||
margin-top: 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 200px;
|
||||
min-height: 120px;
|
||||
}
|
||||
|
||||
.categori.create .bib button {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-xs);
|
||||
}
|
||||
|
||||
.categori.create .bib button div { font-size: 2rem; font-weight: 300; line-height: 1; }
|
||||
|
||||
.task.create { margin-top: 0; padding: var(--space-sm); }
|
||||
|
||||
.task.create button { font-size: 0.88rem; padding: 8px; }
|
||||
|
||||
.task.move {
|
||||
min-height: 30px;
|
||||
opacity: 0;
|
||||
background: transparent;
|
||||
border: 2px dashed transparent;
|
||||
transition: opacity var(--transition-base), border-color var(--transition-base);
|
||||
}
|
||||
|
||||
label { text-align: left; }
|
||||
|
||||
/* Scrollbars */
|
||||
.task-list::-webkit-scrollbar,
|
||||
.board-panel::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 10px;
|
||||
}
|
||||
.task-list::-webkit-scrollbar-track,
|
||||
.board-panel::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
.task-list::-webkit-scrollbar-thumb,
|
||||
.board-panel::-webkit-scrollbar-thumb {
|
||||
background: var(--color-surface-3);
|
||||
border-radius: var(--radius-full);
|
||||
}
|
||||
.task-list::-webkit-scrollbar-thumb:hover,
|
||||
.board-panel::-webkit-scrollbar-thumb:hover {
|
||||
background: var(--color-primary);
|
||||
}
|
||||
210
src/css/BoardList.css
Normal file
210
src/css/BoardList.css
Normal file
@@ -0,0 +1,210 @@
|
||||
.kan-ban-list-sort {
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
padding: var(--space-lg);
|
||||
border-radius: var(--radius-md);
|
||||
margin-bottom: var(--space-lg);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.kan-ban-list-sort h3 {
|
||||
font-size: 1.05rem;
|
||||
margin: 0;
|
||||
color: var(--color-text-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.nav-sort {
|
||||
display: flex;
|
||||
gap: var(--space-sm);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.nav-sort button {
|
||||
width: auto;
|
||||
padding: 8px 16px;
|
||||
font-size: 0.88rem;
|
||||
margin: 0;
|
||||
background: var(--color-surface-3);
|
||||
border: 1px solid var(--color-border);
|
||||
color: var(--color-text-muted);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.nav-sort button:hover:not(:disabled) {
|
||||
background: var(--color-surface-3);
|
||||
color: var(--color-text);
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px var(--color-primary-glow);
|
||||
}
|
||||
|
||||
.nav-sort button.active {
|
||||
background: var(--gradient-primary);
|
||||
color: #fff;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.kan-ban-list-sort input {
|
||||
max-width: 360px;
|
||||
}
|
||||
|
||||
.kan-ban-list {
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
padding: var(--space-lg);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.kan-ban-list .inf {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: var(--space-md);
|
||||
margin-bottom: var(--space-md);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.kan-ban-list .inf h3 {
|
||||
font-size: 1.1rem;
|
||||
margin: 0;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.kan-ban-list .inf button {
|
||||
width: auto;
|
||||
min-width: 200px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.kan-ban-list ul {
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.kan-ban-list ul li { list-style: none; }
|
||||
|
||||
.kan-ban-list ul button {
|
||||
width: 100%;
|
||||
padding: var(--space-lg);
|
||||
background: var(--color-surface-3);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
text-align: left;
|
||||
color: var(--color-text);
|
||||
font-weight: 500;
|
||||
margin: 0;
|
||||
transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.kan-ban-list ul button::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0; top: 0; bottom: 0;
|
||||
width: 3px;
|
||||
background: var(--gradient-primary);
|
||||
opacity: 0;
|
||||
transition: opacity var(--transition-base);
|
||||
}
|
||||
|
||||
.kan-ban-list ul button:hover {
|
||||
transform: translateY(-2px);
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: var(--shadow-md);
|
||||
background: var(--color-surface-3);
|
||||
}
|
||||
|
||||
.kan-ban-list ul button:hover::before { opacity: 1; }
|
||||
|
||||
.kan-ban-list .sort-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-md);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.sort-row p, .sort-row h3 {
|
||||
margin: 4px 0;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.sort-row h3 {
|
||||
font-size: 1.1rem;
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.sort-row p {
|
||||
font-size: 0.9rem;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.sort-row p strong {
|
||||
color: var(--color-text-dim);
|
||||
font-weight: 600;
|
||||
font-size: 0.75rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.sort-row + .sort-row p {
|
||||
margin-top: var(--space-sm);
|
||||
}
|
||||
|
||||
/* Пагинация */
|
||||
.pagination {
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: var(--space-sm);
|
||||
margin-top: var(--space-lg);
|
||||
padding: var(--space-md);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.pagination button {
|
||||
padding: 0;
|
||||
background: var(--color-surface-3);
|
||||
cursor: pointer;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
margin: 0;
|
||||
font-size: 0.9rem;
|
||||
color: var(--color-text-muted);
|
||||
border: 1px solid var(--color-border);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.pagination button:hover:not(.active):not(:disabled) {
|
||||
background: var(--color-surface-3);
|
||||
color: var(--color-text);
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
.pagination button.active {
|
||||
background: var(--gradient-primary);
|
||||
color: #fff;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.pagination button:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.kan-ban-list .inf { flex-direction: column; align-items: stretch; }
|
||||
.kan-ban-list .inf button { min-width: 0; }
|
||||
}
|
||||
104
src/css/Header.css
Normal file
104
src/css/Header.css
Normal file
@@ -0,0 +1,104 @@
|
||||
.header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
flex: 0 0 auto;
|
||||
height: 64px;
|
||||
width: 100%;
|
||||
background: rgba(28, 37, 51, 0.75);
|
||||
backdrop-filter: blur(16px) saturate(180%);
|
||||
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.header-container {
|
||||
max-width: 1280px;
|
||||
height: 64px;
|
||||
box-sizing: border-box;
|
||||
padding: 0 24px;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo a {
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.logo h1 {
|
||||
margin: 0;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.02em;
|
||||
background: var(--gradient-accent);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
transition: filter var(--transition-base);
|
||||
}
|
||||
|
||||
.logo h1:hover { filter: brightness(1.2); }
|
||||
|
||||
.nav-list {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
opacity: 0;
|
||||
transform: translateY(-4px);
|
||||
transition: opacity var(--transition-slow), transform var(--transition-slow);
|
||||
}
|
||||
|
||||
.nav-list.visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.nav-list li {
|
||||
padding: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.nav-list a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-sm);
|
||||
padding: 10px 14px;
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
border-radius: var(--radius-md);
|
||||
transition: color var(--transition-base), background-color var(--transition-base);
|
||||
}
|
||||
|
||||
.nav-list a:hover {
|
||||
color: var(--color-text);
|
||||
background-color: rgba(91, 140, 255, 0.10);
|
||||
}
|
||||
|
||||
.nav-username { line-height: 1; }
|
||||
|
||||
.nav-avatar {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: var(--radius-full);
|
||||
object-fit: cover;
|
||||
border: 2px solid var(--color-border);
|
||||
transition: border-color var(--transition-base);
|
||||
}
|
||||
|
||||
.nav-list a:hover .nav-avatar {
|
||||
border-color: var(--color-primary);
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media (max-width: 560px) {
|
||||
.header-container { padding: 0 14px; }
|
||||
.nav-list a { padding: 8px 10px; font-size: 0.88rem; }
|
||||
.nav-avatar { width: 26px; height: 26px; }
|
||||
}
|
||||
247
src/css/Mainpage.css
Normal file
247
src/css/Mainpage.css
Normal file
@@ -0,0 +1,247 @@
|
||||
.mainpage {
|
||||
padding: 0 16px;
|
||||
animation: fadeIn var(--transition-slow) ease both;
|
||||
}
|
||||
|
||||
.mainpage__intro {
|
||||
background: var(--gradient-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-md);
|
||||
padding: var(--space-2xl);
|
||||
margin: var(--space-xl) auto;
|
||||
max-width: 1200px;
|
||||
display: flex;
|
||||
gap: var(--space-xl);
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
/* Left */
|
||||
.left-content {
|
||||
flex: 1 1 0;
|
||||
min-width: 0;
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
padding: var(--space-2xl);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.left-content::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -40%;
|
||||
right: -20%;
|
||||
width: 320px;
|
||||
height: 320px;
|
||||
background: radial-gradient(circle, var(--color-primary-glow), transparent 70%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.left-content h1 {
|
||||
position: relative;
|
||||
margin: 0 0 var(--space-md) 0;
|
||||
font-size: 1.75rem;
|
||||
line-height: 1.2;
|
||||
background: var(--gradient-accent);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.left-content p {
|
||||
position: relative;
|
||||
margin: var(--space-sm) 0 0;
|
||||
font-size: 1rem;
|
||||
line-height: 1.7;
|
||||
color: var(--color-text-muted);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* Right — tasks */
|
||||
.tasks-container {
|
||||
flex: 1 1 0;
|
||||
max-width: 480px;
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
padding: var(--space-xl);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.tasks-title {
|
||||
margin: 0 0 var(--space-lg);
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-text);
|
||||
text-align: left;
|
||||
padding-bottom: var(--space-md);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
background: var(--color-surface-2);
|
||||
-webkit-background-clip: initial;
|
||||
background-clip: initial;
|
||||
-webkit-text-fill-color: var(--color-text);
|
||||
}
|
||||
|
||||
.tasks-loading,
|
||||
.tasks-empty {
|
||||
color: var(--color-text-dim);
|
||||
text-align: center;
|
||||
padding: var(--space-xl) 0;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.tasks-list {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-md);
|
||||
}
|
||||
|
||||
.tasks-list--scroll {
|
||||
max-height: 400px;
|
||||
overflow-y: auto;
|
||||
padding-right: var(--space-sm);
|
||||
}
|
||||
|
||||
.tasks-list::-webkit-scrollbar { width: 6px; }
|
||||
|
||||
/* Task card */
|
||||
.task-item {
|
||||
background: var(--color-surface-3);
|
||||
padding: 14px 16px;
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--color-text);
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
border: 1px solid var(--color-border);
|
||||
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.task-item::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0; top: 0; bottom: 0;
|
||||
width: 3px;
|
||||
background: var(--gradient-primary);
|
||||
opacity: 0;
|
||||
transition: opacity var(--transition-base);
|
||||
}
|
||||
|
||||
.task-item:hover {
|
||||
transform: translateY(-2px);
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.task-item:hover::before { opacity: 1; }
|
||||
|
||||
.task-item__title {
|
||||
font-weight: 600;
|
||||
font-size: 1rem;
|
||||
color: var(--color-text);
|
||||
margin-bottom: var(--space-sm);
|
||||
line-height: 1.35;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.task-item__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-sm);
|
||||
margin-top: 6px;
|
||||
flex-wrap: wrap;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.task-item__label {
|
||||
font-size: 0.7rem;
|
||||
font-weight: 700;
|
||||
color: var(--color-text-dim);
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.1em;
|
||||
}
|
||||
|
||||
.task-item__value {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 500;
|
||||
color: var(--color-text-muted);
|
||||
word-break: break-word;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.task-item__value--truncate {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 220px;
|
||||
display: inline-block;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.task-item__value--muted {
|
||||
color: var(--color-text-dim);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.task-item__badge {
|
||||
display: inline-block;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 600;
|
||||
padding: 3px 10px;
|
||||
border-radius: var(--radius-full);
|
||||
background: rgba(91, 140, 255, 0.14);
|
||||
color: #a8c0ff;
|
||||
border: 1px solid rgba(91, 140, 255, 0.28);
|
||||
white-space: nowrap;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
/* Tablet */
|
||||
@media (max-width: 960px) {
|
||||
.mainpage__intro { padding: var(--space-xl); gap: var(--space-lg); }
|
||||
.tasks-container { max-width: 380px; padding: var(--space-lg); }
|
||||
.task-item__value--truncate { max-width: 160px; }
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media (max-width: 768px) {
|
||||
.mainpage { padding: 0 var(--space-sm); }
|
||||
.mainpage__intro {
|
||||
flex-direction: column;
|
||||
gap: var(--space-md);
|
||||
padding: var(--space-lg);
|
||||
margin: var(--space-sm) auto;
|
||||
}
|
||||
.left-content { padding: var(--space-xl); }
|
||||
.left-content h1 { font-size: 1.5rem; }
|
||||
.tasks-container { max-width: 100%; }
|
||||
.tasks-list--scroll { max-height: 320px; }
|
||||
.task-item__value--truncate {
|
||||
max-width: none;
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
text-overflow: unset;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 400px) {
|
||||
.mainpage__intro { padding: var(--space-md); }
|
||||
.task-item { padding: 10px 12px; }
|
||||
.task-item__title { font-size: 0.95rem; }
|
||||
}
|
||||
50
src/css/Modal.css
Normal file
50
src/css/Modal.css
Normal file
@@ -0,0 +1,50 @@
|
||||
.confirm-modal {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(8, 12, 18, 0.7);
|
||||
backdrop-filter: blur(8px);
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 1000;
|
||||
padding: var(--space-lg);
|
||||
animation: fadeIn var(--transition-base) ease both;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background: var(--gradient-surface);
|
||||
border: 1px solid var(--color-border-strong);
|
||||
padding: var(--space-xl);
|
||||
border-radius: var(--radius-lg);
|
||||
text-align: center;
|
||||
min-width: 320px;
|
||||
max-width: 560px;
|
||||
width: 100%;
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
box-shadow: var(--shadow-lg), 0 0 0 1px rgba(91, 140, 255, 0.08);
|
||||
animation: modalPop var(--transition-slow) cubic-bezier(0.22, 1, 0.36, 1) both;
|
||||
}
|
||||
|
||||
@keyframes modalPop {
|
||||
from { opacity: 0; transform: translateY(12px) scale(0.96); }
|
||||
to { opacity: 1; transform: translateY(0) scale(1); }
|
||||
}
|
||||
|
||||
.modal-content h3 {
|
||||
text-align: center;
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: var(--space-lg);
|
||||
}
|
||||
|
||||
.modal-buttons {
|
||||
display: flex;
|
||||
gap: var(--space-md);
|
||||
margin-top: var(--space-xl);
|
||||
}
|
||||
|
||||
.modal-buttons button {
|
||||
margin: 0;
|
||||
flex: 1;
|
||||
}
|
||||
64
src/css/OtherProfile.css
Normal file
64
src/css/OtherProfile.css
Normal file
@@ -0,0 +1,64 @@
|
||||
.profile-info {
|
||||
margin: 0 0 var(--space-md);
|
||||
animation: fadeIn var(--transition-slow) ease both;
|
||||
}
|
||||
|
||||
.name-with-avatar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-lg);
|
||||
padding: var(--space-lg) var(--space-xl);
|
||||
background: var(--color-surface-2);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.user-name {
|
||||
margin: 0;
|
||||
font-size: 2.4rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--color-text);
|
||||
flex: 1 1 auto;
|
||||
word-break: break-word;
|
||||
overflow-wrap: break-word;
|
||||
background: var(--gradient-accent);
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.profile-avatar {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 3px solid transparent;
|
||||
background:
|
||||
linear-gradient(var(--color-surface-2), var(--color-surface-2)) padding-box,
|
||||
var(--gradient-primary) border-box;
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
|
||||
.user-description {
|
||||
padding: var(--space-lg) var(--space-xl);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
background: var(--color-surface-2);
|
||||
font-size: 1rem;
|
||||
line-height: 1.65;
|
||||
color: var(--color-text);
|
||||
text-align: start;
|
||||
word-break: break-word;
|
||||
overflow-wrap: break-word;
|
||||
max-width: 100%;
|
||||
margin-top: var(--space-lg);
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.user-name { font-size: 1.8rem; }
|
||||
.profile-avatar { width: 88px; height: 88px; }
|
||||
.name-with-avatar { padding: var(--space-md); }
|
||||
}
|
||||
Reference in New Issue
Block a user