mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-02-02 13:49:40 +01:00
Compare commits
5 Commits
37ce178b21
...
4fff0e49e2
Author | SHA1 | Date | |
---|---|---|---|
4fff0e49e2 | |||
0bbac278c6 | |||
4542739a48 | |||
2c16625162 | |||
031f2af91f |
@ -13,5 +13,10 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
min-width: 90vw;
|
min-width: 90vw;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
transition: all 0.5s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:checked#slide-sidebar~#content-container {
|
||||||
|
position: initial;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -81,13 +81,17 @@
|
|||||||
font-family: var(--font-family);
|
font-family: var(--font-family);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
/** Hide scrollbars (needed on Chromium) */
|
|
||||||
*::-webkit-scrollbar {
|
/** Hide scrollbars (deeply needed on Chromium) */
|
||||||
|
::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
:root {
|
||||||
-ms-overflow-style: none;
|
-ms-overflow-style: none;
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
}
|
}
|
||||||
@ -139,16 +143,10 @@ body {
|
|||||||
transition: left 0.5s ease;
|
transition: left 0.5s ease;
|
||||||
|
|
||||||
padding: 0 25px;
|
padding: 0 25px;
|
||||||
max-height: 100vh;
|
|
||||||
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#content {
|
#content {
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
flex: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
@ -187,6 +185,9 @@ body {
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
||||||
|
-moz-transition: width 0.5s ease;
|
||||||
|
transition: width 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
#slide {
|
#slide {
|
||||||
@ -203,15 +204,13 @@ body {
|
|||||||
input:checked#slide-sidebar~#content-container {
|
input:checked#slide-sidebar~#content-container {
|
||||||
left: 0;
|
left: 0;
|
||||||
overflow: unset;
|
overflow: unset;
|
||||||
}
|
margin-left: 0;
|
||||||
|
|
||||||
input:checked#slide-sidebar~#content-container>#content {
|
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input:checked#slide-sidebar~#footer {
|
input:checked#slide-sidebar~#footer {
|
||||||
left: 0;
|
left: 0;
|
||||||
overflow: unset;
|
overflow: unset;
|
||||||
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
input:checked#slide-sidebar~#sidebar {
|
input:checked#slide-sidebar~#sidebar {
|
||||||
@ -266,17 +265,15 @@ section#users {
|
|||||||
|
|
||||||
.user-profile-picture {
|
.user-profile-picture {
|
||||||
color: var(--color-mantle);
|
color: var(--color-mantle);
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-profile {
|
.user-profile {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
margin-left: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-profile .user-profile-picture {
|
.user-profile .user-profile-picture {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
left: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown {
|
.dropdown {
|
||||||
@ -409,6 +406,9 @@ img.partition-thumbnail {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
|
||||||
|
-moz-transition: width 0.5s ease;
|
||||||
|
transition: width 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
button#logout,
|
button#logout,
|
||||||
@ -679,3 +679,7 @@ td {
|
|||||||
.liste {
|
.liste {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.x-scrollable {
|
||||||
|
overflow-x: auto;
|
||||||
|
}
|
@ -12,7 +12,8 @@
|
|||||||
<div class="button">Voir toutes les partitions</div>
|
<div class="button">Voir toutes les partitions</div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<table>
|
<div class="x-scrollable">
|
||||||
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">Utilisateur</th>
|
<th scope="col">Utilisateur</th>
|
||||||
@ -24,7 +25,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
{% for user in users %}
|
{% for user in users %}
|
||||||
<tr>
|
<tr>
|
||||||
<td style="position:relative">
|
<td>
|
||||||
<div class="user-profile">
|
<div class="user-profile">
|
||||||
<div class="user-profile-picture" style="background-color:{{ user.color }};"
|
<div class="user-profile-picture" style="background-color:{{ user.color }};"
|
||||||
title="{{ user.username }}">
|
title="{{ user.username }}">
|
||||||
@ -39,5 +40,6 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
@ -110,7 +110,7 @@
|
|||||||
</button></a><br/>
|
</button></a><br/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="user">
|
<div class="user">
|
||||||
<div class="user-profile-picture" style="background-color:{{ user.color }}; position:inherit;"
|
<div class="user-profile-picture" style="background-color:{{ user.color }};"
|
||||||
title="{{ user.username }}">
|
title="{{ user.username }}">
|
||||||
{{ user.username[0] | upper }}
|
{{ user.username[0] | upper }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
<td>
|
<td>
|
||||||
Responsable de l'ajout
|
Responsable de l'ajout
|
||||||
</td>
|
</td>
|
||||||
<td style="position:absolute">
|
<td>
|
||||||
{% if user is not none %}
|
{% if user is not none %}
|
||||||
<div class="user-profile"><!-- Completely messy html for this -->
|
<div class="user-profile"><!-- Completely messy html for this -->
|
||||||
<div class="table-username">{{ user.username }}</div>
|
<div class="table-username">{{ user.username }}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user