mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
* Initial Typescript models. * Re-add realtime data * get distinct sessions for session metrics * Add queries for new schema. * Fix Typo. * Add some api/team endpoints. * Fix destructure error. * Fix getWebsites call. * Ignore typescript build errors. * Fix enum issue. * add clickhouse route to deleteWebsite * Fix Website auth. * Updated lint-staged config. * Add permission checks. * Add user role api. * Fix error when updating website. * Fix isAdmin check. Fix Schema. * Initial conversion to react-basics. * Remove user/team transfer from website update. * delete website in relational query * Fix login secure token creation. * Add event type to event. * Allow user to be added to team with role. * Updated login form. * Add Role to TeamUser. * Add database migration. * Refactored permissions check. Updated redis lib. * Feat/um 114 roles and permissions (#1683) * Auth checkpoint. * Merge branch 'dev' into feat/um-114-roles-and-permissions * Add 02 migration. * Added lib/types. * Updated schema. * Updated roles and permissions logic. * Implement react-basics styles. Fix queries. * Update website details layout. * Add 01 migration. * Fix admin create. * Update react-basics. Co-authored-by: Francis Cao <franciscao@gmail.com> Co-authored-by: Mike Cao <mike@mikecao.com> Co-authored-by: Mike Cao <moocao@gmail.com>
95 lines
1.4 KiB
CSS
95 lines
1.4 KiB
CSS
.form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.form label {
|
|
display: block;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
position: relative;
|
|
margin-bottom: 20px;
|
|
line-height: 1.8;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.row > div {
|
|
position: relative;
|
|
flex: 1 1;
|
|
}
|
|
|
|
.row > div > input,
|
|
.row > div > select {
|
|
width: 100%;
|
|
min-width: 240px;
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.buttons button + button {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.error {
|
|
position: absolute;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
top: 0;
|
|
left: calc(100% + 16px);
|
|
bottom: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.msg {
|
|
color: var(--msgColor);
|
|
background: var(--red400);
|
|
font-size: var(--font-size-sm);
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.error:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -5px;
|
|
bottom: 0;
|
|
margin: auto;
|
|
width: 10px;
|
|
height: 10px;
|
|
background: var(--red400);
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.message {
|
|
text-align: center;
|
|
margin: 20px 0;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
color: var(--base50);
|
|
background: var(--base800);
|
|
}
|
|
|
|
@media only screen and (max-width: 576px) {
|
|
.error {
|
|
align-items: flex-start;
|
|
top: calc(100% + 7px);
|
|
left: 0;
|
|
}
|
|
|
|
.error:after {
|
|
left: 10px;
|
|
}
|
|
}
|