2024-01-19 13:38:05 +01:00
|
|
|
@import url('/static/style/colors.css');
|
2023-06-24 15:37:03 +02:00
|
|
|
/** @import url('https://www.augustin64.fr/static/font/iosevka.css'); */
|
2023-06-10 16:46:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
/** Various settings (variables) */
|
|
|
|
:root {
|
2024-02-25 15:28:51 +01:00
|
|
|
--sidebar-size: max(10vw, 250px);
|
2023-06-24 15:37:03 +02:00
|
|
|
--sidebar-sz-plus10: calc(var(--sidebar-size) + 10px);
|
|
|
|
--sidebar-sz-moins20: calc(var(--sidebar-size) - 20px);
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
* {
|
|
|
|
font-family: var(--font-family);
|
|
|
|
}
|
|
|
|
|
2023-09-30 00:33:09 +02:00
|
|
|
body {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
|
|
|
|
/** Hide scrollbars (deeply needed on Chromium) */
|
|
|
|
::-webkit-scrollbar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root {
|
|
|
|
-ms-overflow-style: none;
|
|
|
|
scrollbar-width: none;
|
|
|
|
}
|
|
|
|
|
2023-01-19 18:03:52 +01:00
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
/** Generic things */
|
2023-06-23 22:19:00 +02:00
|
|
|
h1 {
|
|
|
|
font-size: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
#sidebar>h2 {
|
2023-06-10 16:46:55 +02:00
|
|
|
margin-left: 30px;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-17 21:25:13 +02:00
|
|
|
h2 {
|
|
|
|
color: var(--color-subtext1);
|
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--color-blue);
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
body {
|
|
|
|
color: var(--color-text);
|
|
|
|
background-color: var(--color-base);
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
#page-header {
|
|
|
|
margin-left: 10px;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-01-19 18:03:52 +01:00
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
/** Just general styling of elements */
|
|
|
|
#content-container {
|
|
|
|
background-color: var(--color-base);
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: var(--sidebar-size);
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2022-08-16 15:22:03 +02:00
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
-moz-transition: left 0.5s ease;
|
|
|
|
transition: left 0.5s ease;
|
2022-08-16 15:22:03 +02:00
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
padding: 0 25px;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-09-08 13:56:08 +02:00
|
|
|
#content {
|
|
|
|
margin-bottom: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#footer {
|
|
|
|
position: fixed;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
left: var(--sidebar-size);
|
|
|
|
|
|
|
|
background-color: var(--color-base);
|
|
|
|
-moz-transition: left 0.5s ease;
|
|
|
|
transition: left 0.5s ease;
|
|
|
|
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2023-10-11 17:15:49 +02:00
|
|
|
.album-cover, .groupe-cover {
|
2023-06-10 16:46:55 +02:00
|
|
|
padding: 5px;
|
|
|
|
margin: 5px;
|
|
|
|
border-radius: 3px;
|
|
|
|
background-color: inherit;
|
2023-06-23 22:19:00 +02:00
|
|
|
overflow-x: hidden;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-10-11 17:15:49 +02:00
|
|
|
.album-cover:hover, .groupe-album-cover:hover {
|
2023-06-10 16:46:55 +02:00
|
|
|
background-color: var(--color-base);
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-10-11 17:15:49 +02:00
|
|
|
.groupe-cover {
|
|
|
|
background-color: var(--color-crust);
|
|
|
|
}
|
|
|
|
|
|
|
|
.groupe-albums-cover {
|
|
|
|
background-color: var(--color-mantle);
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: -1px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
2022-12-22 18:20:41 +01:00
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
/** Sidebar toggle */
|
|
|
|
#sidebar {
|
|
|
|
background-color: var(--color-mantle);
|
|
|
|
width: var(--sidebar-size);
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
2023-09-30 00:33:09 +02:00
|
|
|
|
|
|
|
-moz-transition: width 0.5s ease;
|
|
|
|
transition: width 0.5s ease;
|
2022-12-22 18:20:41 +01:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
#slide {
|
|
|
|
padding: 10px 6px 3px 10px;
|
2023-01-19 18:03:52 +01:00
|
|
|
border-radius: 3px;
|
2023-06-10 16:46:55 +02:00
|
|
|
background-color: var(--color-crust);
|
|
|
|
color: var(--color-blue);
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
#slide-sidebar {
|
|
|
|
display: none;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
input:checked#slide-sidebar~#content-container {
|
|
|
|
left: 0;
|
|
|
|
overflow: unset;
|
2023-09-30 00:33:09 +02:00
|
|
|
margin-left: 0;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-09-08 13:56:08 +02:00
|
|
|
input:checked#slide-sidebar~#footer {
|
|
|
|
left: 0;
|
|
|
|
overflow: unset;
|
2023-09-30 00:33:09 +02:00
|
|
|
margin-left: 0;
|
2023-09-08 13:56:08 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
input:checked#slide-sidebar~#sidebar {
|
|
|
|
display: none;
|
|
|
|
transition: display 0s 0.5s;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
input:checked#slide-sidebar~label {
|
|
|
|
left: 10px;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
#slide-sidebar~label {
|
|
|
|
z-index: 1;
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
2023-06-24 15:37:03 +02:00
|
|
|
left: var(--sidebar-sz-plus10);
|
2023-06-10 16:46:55 +02:00
|
|
|
background-color: var(--color-base);
|
|
|
|
|
|
|
|
-moz-transition: left 0.5s ease;
|
|
|
|
transition: left 0.5s ease;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
/** Albums: users */
|
|
|
|
#album-header {
|
|
|
|
display: flex;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
section#users {
|
|
|
|
display: flex;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
#header-actions {
|
|
|
|
align-self: center;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 0;
|
|
|
|
display: flex;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.user-profile-picture,
|
|
|
|
.dropdown {
|
2022-08-16 15:22:03 +02:00
|
|
|
margin: 3px;
|
2023-06-10 16:46:55 +02:00
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
line-height: 30px;
|
2022-08-16 15:22:03 +02:00
|
|
|
|
2022-12-18 21:39:14 +01:00
|
|
|
border-radius: 5px;
|
2023-06-10 16:46:55 +02:00
|
|
|
font-weight: 600;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.user-profile-picture {
|
|
|
|
color: var(--color-mantle);
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
.user-profile {
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile .user-profile-picture {
|
|
|
|
position: absolute;
|
|
|
|
left: 30px;
|
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.dropdown {
|
|
|
|
background-color: var(--color-surface1);
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
/** Partitions Grid */
|
2022-08-16 15:22:03 +02:00
|
|
|
#partitions-grid {
|
2023-06-10 16:46:55 +02:00
|
|
|
margin-top: 50px;
|
|
|
|
|
2022-12-19 10:04:50 +01:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, 200px);
|
|
|
|
justify-content: center;
|
2023-06-10 16:46:55 +02:00
|
|
|
overflow-x: scroll;
|
2022-12-19 10:04:50 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#partitions-grid a {
|
|
|
|
text-decoration: none;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2022-08-17 09:44:31 +02:00
|
|
|
#search-partitions-grid {
|
|
|
|
display: flex;
|
|
|
|
overflow-x: scroll;
|
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.partition {
|
|
|
|
background-color: var(--color-surface0);
|
|
|
|
|
|
|
|
width: 178px;
|
|
|
|
margin: 15px 0;
|
|
|
|
|
|
|
|
border-radius: 5px;
|
2022-08-16 15:22:03 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
img.partition-thumbnail {
|
|
|
|
border-radius: 5px 5px 0 0;
|
|
|
|
height: 178px;
|
|
|
|
width: 178px;
|
|
|
|
|
|
|
|
background-color: var(--color-surface2);
|
2022-08-16 18:13:00 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.partition {
|
|
|
|
color: var(--color-text);
|
2022-08-17 23:52:58 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.partition-author {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: .9rem;
|
2022-08-17 23:52:58 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.partition-description {
|
|
|
|
padding: 3px;
|
|
|
|
min-height: 50px;
|
2022-08-17 23:52:58 +02:00
|
|
|
}
|
|
|
|
|
2023-10-26 14:14:40 +02:00
|
|
|
.partition-action {
|
|
|
|
padding: 7px;
|
|
|
|
margin: 3px;
|
2023-06-11 21:33:54 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.2);
|
2023-10-26 14:14:40 +02:00
|
|
|
background-color: #cdd6f4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.partition-buttons {
|
|
|
|
float: right;
|
|
|
|
display: flex;
|
|
|
|
transform: translateX(-22px) translateY(-115px);
|
2023-06-23 22:19:00 +02:00
|
|
|
}
|
|
|
|
|
2024-01-16 21:02:37 +01:00
|
|
|
.partition-name {
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2023-06-11 21:33:54 +02:00
|
|
|
|
2023-10-11 17:15:49 +02:00
|
|
|
/** Albums grid in groupe view */
|
|
|
|
#albums-grid > a > .album {
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#albums-grid > a > .album:hover {
|
|
|
|
background-color: var(--color-surface0);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-06-17 21:25:13 +02:00
|
|
|
/** Sidebar content */
|
2023-10-11 17:15:49 +02:00
|
|
|
.create-button {
|
2023-06-17 21:25:13 +02:00
|
|
|
text-align: center;
|
|
|
|
margin: 10px;
|
|
|
|
background-color: var(--color-surface1);
|
|
|
|
padding: 8px 0;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: var(--color-text);
|
|
|
|
border: 2px solid var(--color-overlay0);
|
|
|
|
}
|
|
|
|
|
2023-10-11 17:15:49 +02:00
|
|
|
.create-button:hover {
|
2023-06-17 21:25:13 +02:00
|
|
|
border-color: var(--color-blue);
|
|
|
|
background-color: var(--color-surface0);
|
|
|
|
}
|
|
|
|
|
2023-10-11 17:15:49 +02:00
|
|
|
#sidebar-navigation {
|
2023-06-10 16:46:55 +02:00
|
|
|
overflow: scroll;
|
2023-10-13 14:46:22 +02:00
|
|
|
height: calc(100% - 375px); /* we don't want it hidden behind settings */
|
2023-06-17 21:25:13 +02:00
|
|
|
padding: 0 5px;
|
2022-08-18 14:54:55 +02:00
|
|
|
}
|
|
|
|
|
2023-10-11 17:15:49 +02:00
|
|
|
#albums div, #groupes div {
|
2023-06-11 21:55:57 +02:00
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.user {
|
|
|
|
display: flex;
|
2024-02-25 15:28:51 +01:00
|
|
|
color: var(--color-text);
|
2023-06-10 16:46:55 +02:00
|
|
|
}
|
2022-12-22 18:20:41 +01:00
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.username {
|
|
|
|
margin-top: 7px;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
2022-12-19 18:27:03 +01:00
|
|
|
|
2023-06-11 21:33:54 +02:00
|
|
|
#settings-container button {
|
2023-06-10 16:46:55 +02:00
|
|
|
background-color: inherit;
|
2023-06-11 21:33:54 +02:00
|
|
|
color: var(--color-text);
|
2023-06-10 16:46:55 +02:00
|
|
|
border-style: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-size: .9rem;
|
2023-06-23 22:19:00 +02:00
|
|
|
|
|
|
|
width: 100%;
|
2023-06-10 16:46:55 +02:00
|
|
|
width: -moz-available;
|
2023-06-23 22:19:00 +02:00
|
|
|
width: -webkit-fill-available;
|
|
|
|
width: stretch;
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
padding: 5px;
|
2023-06-23 22:19:00 +02:00
|
|
|
padding-left: 20px; /* Prevent overlay with svg */
|
2022-08-18 14:54:55 +02:00
|
|
|
}
|
|
|
|
|
2023-06-11 21:33:54 +02:00
|
|
|
#settings-container button:hover {
|
2023-06-10 16:46:55 +02:00
|
|
|
background-color: var(--color-crust);
|
2022-08-30 21:39:02 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
#settings-container {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
|
|
|
|
background-color: var(--color-base);
|
2023-06-24 15:37:03 +02:00
|
|
|
width: var(--sidebar-sz-moins20);
|
2023-06-10 16:46:55 +02:00
|
|
|
padding: 5px;
|
|
|
|
margin: 5px;
|
2022-12-18 21:39:14 +01:00
|
|
|
|
2022-08-30 21:39:02 +02:00
|
|
|
border-radius: 3px;
|
2023-09-30 00:33:09 +02:00
|
|
|
|
|
|
|
-moz-transition: width 0.5s ease;
|
|
|
|
transition: width 0.5s ease;
|
2022-08-30 21:39:02 +02:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
button#logout,
|
|
|
|
a#delete-album {
|
2023-06-10 16:46:55 +02:00
|
|
|
color: var(--color-red);
|
|
|
|
}
|
|
|
|
|
2023-06-17 21:25:13 +02:00
|
|
|
#settings-container svg.icon {
|
2023-06-10 16:46:55 +02:00
|
|
|
scale: 0.9;
|
|
|
|
position: absolute;
|
|
|
|
left: 10px;
|
2023-06-17 21:25:13 +02:00
|
|
|
transform: translateY(-17%);
|
2023-06-10 16:46:55 +02:00
|
|
|
}
|
|
|
|
|
2024-02-25 15:28:51 +01:00
|
|
|
#settings-container > a > .user {
|
2023-06-10 16:46:55 +02:00
|
|
|
margin-top: 6px;
|
2022-08-31 13:54:13 +02:00
|
|
|
border-radius: 3px;
|
2024-02-25 15:28:51 +01:00
|
|
|
padding: 3px;
|
2022-08-31 13:54:13 +02:00
|
|
|
}
|
|
|
|
|
2024-02-25 15:28:51 +01:00
|
|
|
#settings-container > a > .user:hover {
|
2023-06-10 16:46:55 +02:00
|
|
|
background-color: var(--color-mantle);
|
2022-08-30 21:39:02 +02:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
/** Dropdown */
|
2022-08-30 21:39:02 +02:00
|
|
|
.dropdown-content {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
2023-06-10 16:46:55 +02:00
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
background-color: var(--color-surface1);
|
|
|
|
font-size: 0.9rem;
|
|
|
|
transform: translateX(-130px);
|
2022-08-30 21:39:02 +02:00
|
|
|
min-width: 160px;
|
2023-06-10 16:46:55 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
|
2023-06-11 21:33:54 +02:00
|
|
|
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
|
2022-08-30 21:39:02 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.dropdown:hover .dropdown-content {
|
2022-08-30 21:39:02 +02:00
|
|
|
display: block;
|
2023-06-10 16:46:55 +02:00
|
|
|
width: unset;
|
2022-08-30 21:39:02 +02:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
.dropdown-content>a:hover {
|
2023-06-10 16:46:55 +02:00
|
|
|
background-color: var(--color-surface0);
|
2022-08-30 21:39:02 +02:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
.dropdown-content>a {
|
2023-06-10 16:46:55 +02:00
|
|
|
color: var(--color-text);
|
2023-06-11 21:33:54 +02:00
|
|
|
padding: 3px 0;
|
|
|
|
display: block;
|
|
|
|
border-radius: inherit;
|
2022-08-30 21:39:02 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
|
|
|
|
/** Dialogs */
|
|
|
|
dialog {
|
|
|
|
display: none;
|
|
|
|
z-index: 3;
|
|
|
|
|
|
|
|
/* Geometry */
|
|
|
|
top: 0;
|
|
|
|
border-width: 2px;
|
|
|
|
border-radius: 3px;
|
|
|
|
|
|
|
|
/* Colors */
|
|
|
|
background-color: var(--color-crust);
|
|
|
|
color: var(--color-text);
|
|
|
|
border-color: var(--color-lavender);
|
|
|
|
|
|
|
|
min-width: 75vw;
|
2022-08-31 13:54:13 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.close-dialog {
|
|
|
|
float: right;
|
2022-08-31 13:54:13 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
dialog:target {
|
|
|
|
display: block;
|
2022-08-31 13:54:13 +02:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
dialog:target~.mask {
|
2023-06-10 16:46:55 +02:00
|
|
|
display: block;
|
2022-08-31 13:54:13 +02:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
.mask {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
background-color: var(--color-crust);
|
|
|
|
z-index: 1;
|
|
|
|
opacity: 50%;
|
2022-12-18 21:39:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
/** Different kinds of inputs */
|
2023-06-10 16:46:55 +02:00
|
|
|
input[type="text"],
|
|
|
|
input[type="search"],
|
2023-06-11 22:01:03 +02:00
|
|
|
input[type="password"],
|
2023-06-10 16:46:55 +02:00
|
|
|
select,
|
|
|
|
textarea {
|
2023-06-23 22:19:00 +02:00
|
|
|
padding: 7px;
|
|
|
|
background-color: var(--color-surface1);
|
|
|
|
color: var(--color-text);
|
|
|
|
margin: 3px;
|
2022-12-22 18:20:41 +01:00
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
border-radius: 3px;
|
|
|
|
border-width: 0;
|
|
|
|
border-style: unset;
|
2022-12-18 22:40:07 +01:00
|
|
|
}
|
2023-06-22 16:22:11 +02:00
|
|
|
|
|
|
|
select {
|
2023-06-23 22:19:00 +02:00
|
|
|
max-width: 190px;
|
|
|
|
/* We don't want loong album names to break the css */
|
2023-06-22 16:22:11 +02:00
|
|
|
}
|
2022-12-18 22:40:07 +01:00
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
textarea {
|
2023-06-23 22:19:00 +02:00
|
|
|
resize: both;
|
|
|
|
min-width: 178px;
|
2022-12-19 15:19:58 +01:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
input[type="submit"],
|
|
|
|
button {
|
2023-06-10 16:46:55 +02:00
|
|
|
padding: 10px 20px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 5px;
|
2023-06-23 22:19:00 +02:00
|
|
|
cursor: pointer;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="submit"] {
|
2023-06-10 16:46:55 +02:00
|
|
|
background-color: var(--color-blue);
|
|
|
|
color: var(--color-base);
|
2023-06-23 22:19:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
background-color: var(--color-subtext0);
|
|
|
|
color: var(--color-base)
|
2022-12-19 15:19:58 +01:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
/* Styles for input[type="file"] */
|
|
|
|
input[type="file"] {
|
|
|
|
padding: 7px 20px;
|
|
|
|
border: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
margin: 3px;
|
|
|
|
background-color: var(--color-blue);
|
|
|
|
color: var(--color-base);
|
|
|
|
cursor: pointer;
|
2022-12-19 15:19:58 +01:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
::placeholder {
|
|
|
|
color: var(--color-text);
|
|
|
|
opacity: 40%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/** Dangerous buttons */
|
|
|
|
button#logout:hover,
|
|
|
|
a#delete-album:hover,
|
2024-02-25 15:28:51 +01:00
|
|
|
.red-confirm,
|
|
|
|
input[type="submit"].red-confirm,
|
2023-06-24 15:37:03 +02:00
|
|
|
#delete-partition {
|
2023-06-23 22:19:00 +02:00
|
|
|
background-color: var(--color-red);
|
|
|
|
color: var(--color-mantle);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
/** Search bar */
|
|
|
|
#search-form {
|
|
|
|
margin: 10px;
|
2022-12-19 15:19:58 +01:00
|
|
|
}
|
|
|
|
|
2023-06-10 16:46:55 +02:00
|
|
|
#search-bar {
|
2023-06-23 22:19:00 +02:00
|
|
|
width: 100%;
|
2023-06-10 16:46:55 +02:00
|
|
|
width: -moz-available;
|
2023-06-23 22:19:00 +02:00
|
|
|
width: -webkit-fill-available;
|
|
|
|
width: stretch;
|
2023-06-10 16:46:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#search-submit {
|
2023-06-23 22:19:00 +02:00
|
|
|
padding: 5px;
|
|
|
|
position: absolute;
|
|
|
|
right: 10px;
|
|
|
|
width: calc(100% - 90px);
|
2023-06-11 21:33:54 +02:00
|
|
|
}
|
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
|
2023-06-22 16:06:48 +02:00
|
|
|
/** Search results */
|
|
|
|
.add-partition-form select {
|
|
|
|
width: 178px;
|
|
|
|
margin: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-partition-form {
|
|
|
|
align-items: center;
|
|
|
|
display: grid;
|
|
|
|
}
|
|
|
|
|
|
|
|
.add-partition-form input[type="submit"] {
|
|
|
|
margin: 5px 0;
|
|
|
|
width: 178px;
|
|
|
|
}
|
2023-06-11 21:33:54 +02:00
|
|
|
|
2023-06-23 22:19:00 +02:00
|
|
|
|
2023-06-11 21:33:54 +02:00
|
|
|
/** Flashed messages */
|
|
|
|
.flash {
|
|
|
|
margin: 1em;
|
|
|
|
padding: 1em;
|
|
|
|
background: var(--color-mantle);
|
|
|
|
border: 2px solid var(--color-lavender);
|
|
|
|
border-radius: 3px;
|
2023-06-23 22:19:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/** Tableaux */
|
|
|
|
table {
|
|
|
|
border: thin solid var(--color-surface0);
|
|
|
|
border-collapse: collapse;
|
|
|
|
margin: auto;
|
|
|
|
width: 100%;
|
|
|
|
width: -moz-available;
|
|
|
|
width: -webkit-fill-available;
|
|
|
|
width: stretch;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2023-08-30 19:50:00 +02:00
|
|
|
height: 35px; /* will grow automatically */
|
2023-06-23 22:19:00 +02:00
|
|
|
min-width: 178px;
|
|
|
|
border: thin solid var(--color-surface0);
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-username {
|
|
|
|
line-height: 37px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/** Panneau admin */
|
|
|
|
#actions-rapides .button {
|
|
|
|
background-color: var(--color-base);
|
|
|
|
color: var(--color-text);
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#actions-rapides {
|
|
|
|
display: flex;
|
|
|
|
padding: 5px;
|
|
|
|
background-color: var(--color-crust);
|
|
|
|
justify-content: center;
|
|
|
|
text-align: center;
|
|
|
|
align-items: center;
|
|
|
|
margin: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#actions-rapides .button:hover {
|
|
|
|
background-color: var(--color-lavender);
|
|
|
|
color: var(--color-crust);
|
|
|
|
}
|
|
|
|
|
|
|
|
.liste {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2023-09-30 00:33:09 +02:00
|
|
|
|
|
|
|
.x-scrollable {
|
|
|
|
overflow-x: auto;
|
2023-10-26 14:14:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/** Attachment page */
|
|
|
|
#pdf-embed {
|
|
|
|
margin: auto;
|
2024-02-25 15:54:48 +01:00
|
|
|
|
2023-10-26 14:14:40 +02:00
|
|
|
width: 100%;
|
|
|
|
width: -moz-available;
|
|
|
|
width: -webkit-fill-available;
|
|
|
|
width: stretch;
|
|
|
|
|
|
|
|
height: 50vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
midi-visualizer {
|
|
|
|
background-color: white;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
midi-player {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#attachments {
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
#attachments > table {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#attachments > table > tbody > tr > td {
|
|
|
|
border: none;
|
|
|
|
min-width: fit-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
.centered {
|
|
|
|
justify-content: center;
|
|
|
|
display: flex;
|
2023-11-19 18:45:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#share-qrcode {
|
|
|
|
margin: 20px;
|
|
|
|
margin-top: 50px;
|
|
|
|
border-radius: 15px;
|
2024-01-16 21:39:28 +01:00
|
|
|
width: 370px;
|
|
|
|
height: 370px;
|
|
|
|
background-color: white;
|
2023-11-19 18:45:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#share-url {
|
|
|
|
background-color: var(--color-surface1);
|
|
|
|
width: fit-content;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 10px;
|
|
|
|
margin-bottom: 100px;
|
|
|
|
margin-top: 20px;
|
|
|
|
}
|
2024-01-19 13:38:05 +01:00
|
|
|
|
|
|
|
#logs-embed {
|
|
|
|
margin: auto;
|
|
|
|
height: 80vh;
|
|
|
|
width: 95%;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
background-color: var(--color-crust);
|
|
|
|
}
|