2024-07-22 16:53:50 +02:00
|
|
|
/* ScoDoc, (c) Emmanuel Viennet 1998 - 2024
|
|
|
|
*/
|
|
|
|
.scodoc-container {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 130px 1fr;
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-corner {
|
|
|
|
/* background-color: rgb(235, 235, 228); */
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-row-start: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.formsemestre-page-header {
|
|
|
|
grid-column-start: 2;
|
|
|
|
grid-row-start: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-grow: 1;
|
2024-08-15 17:06:07 +02:00
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
2024-07-22 16:53:50 +02:00
|
|
|
justify-content: left;
|
|
|
|
white-space: nowrap;
|
2024-08-15 17:06:07 +02:00
|
|
|
padding: 0 0px;
|
2024-07-22 16:53:50 +02:00
|
|
|
/* Optional: Padding for some space around the text */
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar {
|
|
|
|
border-right: 1px solid rgb(230, 230, 225);
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-row-start: 2;
|
|
|
|
padding-left: 4px;
|
|
|
|
/* Sidebar transition */
|
|
|
|
transition: transform 400ms ease, opacity 400ms ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app-content {
|
|
|
|
grid-column-start: 2;
|
|
|
|
grid-row-start: 2;
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
/* Optional: background color for content area */
|
|
|
|
/* Sidebar transition */
|
|
|
|
transition: margin-left 400ms ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.infos {
|
|
|
|
/* container infos semestre */
|
|
|
|
font-size: 12pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sco_menu {
|
|
|
|
/* container menu bar semestre */
|
|
|
|
background-color: lightblue;
|
|
|
|
flex-grow: 1;
|
|
|
|
padding: 5px;
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger {
|
|
|
|
white-space: nowrap;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger>div {
|
|
|
|
font-size: 12pt;
|
|
|
|
font-weight: bold;
|
|
|
|
vertical-align: bottom;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger>.hamburger-icon {
|
|
|
|
font-size: 24pt;
|
|
|
|
margin-top: -8px;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-corner .scodoc-index,
|
|
|
|
.app-corner .scodoc-index a {
|
|
|
|
font-size: 14pt;
|
2024-08-14 14:44:19 +02:00
|
|
|
display: flex;
|
2024-07-22 16:53:50 +02:00
|
|
|
color: rgb(4, 16, 159);
|
2024-08-14 14:44:19 +02:00
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
2024-07-22 16:53:50 +02:00
|
|
|
}
|
|
|
|
|
2024-08-14 14:44:19 +02:00
|
|
|
|
2024-07-22 16:53:50 +02:00
|
|
|
.hamburger-menu {
|
|
|
|
display: none;
|
|
|
|
flex-direction: column;
|
|
|
|
background-color: #333;
|
|
|
|
position: fixed;
|
|
|
|
top: 50px;
|
|
|
|
left: 0;
|
|
|
|
/* width: 100%; */
|
|
|
|
max-width: 400px;
|
|
|
|
z-index: 1001;
|
|
|
|
/* Ensure it is above the top bar */
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger-menu div {
|
|
|
|
padding: 10px;
|
|
|
|
border-bottom: 1px solid #444;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger-menu a {
|
|
|
|
color: white;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toggle-sidebar-img {
|
|
|
|
box-sizing: content-box;
|
|
|
|
padding-left: 4px;
|
|
|
|
padding-right: 4px;
|
|
|
|
transition: transform 400ms ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#toggle-sidebar-img.collapsed {
|
|
|
|
transform: scaleX(-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.vspace48 {
|
|
|
|
margin-top: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay {
|
|
|
|
display: none;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: rgba(0, 0, 0, 0.05);
|
|
|
|
z-index: 1000;
|
|
|
|
/* Below the menu but above the top bar */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Media query for desktop devices */
|
|
|
|
@media (min-width: 769px) {
|
|
|
|
#sidebar.collapsed {
|
|
|
|
/* Slide the sidebar out to the left */
|
|
|
|
transform: translateX(-130px);
|
|
|
|
opacity: 0;
|
|
|
|
/* fade out effect */
|
|
|
|
}
|
|
|
|
|
|
|
|
#app-content.collapsed {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Hide the sidebar for mobile devices and print */
|
|
|
|
@media screen and (max-width: 768px),
|
|
|
|
print {
|
|
|
|
|
2024-08-14 14:44:19 +02:00
|
|
|
.toggle-sidebar {
|
2024-07-22 16:53:50 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#app-content {
|
|
|
|
grid-column-start: 1;
|
|
|
|
grid-column-end: 3;
|
|
|
|
}
|
2024-08-14 14:44:19 +02:00
|
|
|
|
|
|
|
div#sidebar {
|
|
|
|
position: fixed;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
background: whitesmoke;
|
|
|
|
z-index: 900;
|
|
|
|
display: flex !important;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
gap: 4px;
|
|
|
|
text-align: center;
|
|
|
|
left: -100%;
|
|
|
|
transition: left 400ms ease;
|
|
|
|
|
|
|
|
padding-top: 15vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
div#sidebar[aria-expanded="true"] {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2024-08-14 14:49:59 +02:00
|
|
|
[desktop="true"] {
|
2024-08-14 14:44:19 +02:00
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 769px) {
|
|
|
|
[mobile="true"] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2024-07-22 16:53:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Sidebar */
|
|
|
|
#sidebar sco-title {
|
|
|
|
color: rgb(102, 102, 102);
|
|
|
|
font-size: large;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar h2 {
|
|
|
|
color: rgb(102, 102, 102);
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: large;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar div.sidebar-item {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar div.sidebar-item a:link,
|
|
|
|
#sidebar div.sidebar-item a:link,
|
|
|
|
#sidebar div.sidebar-item a:visited {
|
|
|
|
color: rgb(4, 16, 159);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#sidebar div.sidebar-item a:hover {
|
|
|
|
color: rgb(153, 51, 51);
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Content */
|
|
|
|
#app-content>.gtrcontent {
|
|
|
|
height: 100%;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-bottom: 10px;
|
2024-08-14 14:44:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/*Mobile Navbar*/
|
|
|
|
|
|
|
|
#logo-scodoc {
|
2024-08-19 17:05:02 +02:00
|
|
|
/* base image : logo_rectangle.png 527x192 */
|
|
|
|
--size: 64px;
|
|
|
|
height: calc(var(--size) / 2.744);
|
2024-08-14 14:44:19 +02:00
|
|
|
width: var(--size);
|
|
|
|
margin: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mobileNav {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
z-index: 1000;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
/* From https://css.glass */
|
|
|
|
background: rgba(255, 255, 255, 0.2);
|
2024-08-19 17:05:02 +02:00
|
|
|
border-radius: 0 0 16px 16px;
|
2024-08-14 14:44:19 +02:00
|
|
|
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
|
|
|
|
backdrop-filter: blur(5px);
|
|
|
|
-webkit-backdrop-filter: blur(5px);
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
position: relative;
|
2024-08-19 18:22:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.no-scroll {
|
|
|
|
overflow: hidden !important;
|
|
|
|
margin: 0 !important;
|
|
|
|
height: 100vh !important;
|
2024-08-23 17:30:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Tableau des modules */
|
|
|
|
#tableau-modules-summary {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tableau-modules-summary::marker {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tableau-modules-summary>h3::after {
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
margin-left: 4px;
|
|
|
|
vertical-align: middle;
|
|
|
|
border-top: 4px dashed;
|
|
|
|
border-right: 4px solid transparent;
|
|
|
|
border-left: 4px solid transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tableau-modules-details:not([open])>#tableau-modules-summary>h3::before {
|
|
|
|
content: "(caché) ";
|
|
|
|
font-size: smaller;
|
|
|
|
font-weight: lighter;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
#tableau-modules-details:not([open]) #tableau_modules {
|
|
|
|
display: none;
|
2024-07-22 16:53:50 +02:00
|
|
|
}
|