+
+ {{prof.hoursToDo}}
+ heures à faire
+
+
+ {{ prof.VHCours + prof.VHTd + prof.VHTp }}
+ heures prévues
+
-
+
+ Systèmes d'Information
+ Introduction aux systèmes numériques
+ Graphes
+ Introduction à la méthode B
-
{{ prof.equiTD }}h équivalents TD
-
-
diff --git a/webpack/scss/container.scss b/webpack/scss/container.scss
index d67642c..fd48b3c 100644
--- a/webpack/scss/container.scss
+++ b/webpack/scss/container.scss
@@ -7,14 +7,14 @@
position: absolute;
top: $header-height;
left: $menu-width;
- min-height: calc( 100% - #{$header-height} );
+ height: calc( 100% - #{$header-height} );
width: calc( 100% - #{$menu-width} );
- height: auto;
background-color: $bg-color;
overflow: hidden;
+ overflow-y: auto;
z-index: 100;
@@ -24,7 +24,7 @@
/* [1] List style
---------------------------------*/
-#CONTAINER.list{
+#CONTAINER > div.list{
display: flex;
// flex properties
@@ -77,11 +77,45 @@
-/* [2] Card style
+
+
+
+
+/* [2] Card style -> instant-search
---------------------------------*/
-#CONTAINER.card{
+#CONTAINER > input.card.instant-search{
+
+ display: block;
+ position: absolute;
+ top: .5em;
+ left: .5em;
+ // 100% - filtr - padding - border
+ width: calc( 100% - 20em - 1em - 6*1em );
+ height: calc( 3em - 2*.5em - 2*1px);
+
+ margin: 0;
+ padding: .5em 1em;
+
+ border-radius: 3px / 3px;
+ background-color: #fff;
+
+ box-shadow: 0 2px 2px darken(#fff, 10%);
+
+}
+
+
+
+
+/* [3] Card style -> container
+---------------------------------*/
+#CONTAINER > div.card.container{
display: flex;
+ position: absolute;
+ top: 3em;
+ left: 0;
+ width: calc( 100% - 20em );
+ min-height: calc( 100% - 3em );
// flex properties
flex-direction: row;
@@ -89,6 +123,9 @@
align-items: flex-start;
flex-wrap: wrap;
+ z-index: 101;
+ overflow: hidden;
+
/* (1) Card container */
& > section{
@@ -96,6 +133,7 @@
// flex-grow: 1;
flex-basis: 15em;
flex-shrink: 1;
+ flex-grow: 1;
display: block;
position: relative;
@@ -317,4 +355,105 @@
}
+}
+
+
+
+
+/* [4] Card style -> filter
+---------------------------------*/
+#CONTAINER > div.card.filter{
+
+ display: flex;
+ position: fixed;
+ top: #{$header-height + 1em};
+ left: calc( 100% - 20em + 1em );
+ // deflt - marg - scrollBarOffset
+ width: calc( 20em - 2*1em - 1em );
+ height: calc( 100% - 2*1em - #{$header-height} );
+
+ border-radius: 3px / 3px;
+ background-color: #fff;
+
+ box-shadow: 0 2px 2px darken(#fff, 10%);
+
+ // flex
+ flex-direction: column;
+ justify-content: flex-start;
+ align-items: flex-start;
+ flex-wrap: nowrap;
+
+
+ /* (1) Filter Group */
+ & > div[title]{
+
+ display: block;
+ position: relative;
+
+ margin: 1em;
+
+ /* (1.1) Title content */
+ &:before{
+ content: attr(title);
+
+ display: block;
+ position: relative;
+
+ margin-bottom: 1em;
+
+ font-size: .8em;
+ color: darken($secondary-color, 10%);
+ text-transform: uppercase;
+ letter-spacing: .05em;
+
+ }
+
+ /* (1.2) Filter element */
+ & > span{
+
+ display: block;
+ position: relative;
+
+ text-indent: 1.5em;
+ margin-bottom: 1em;
+
+ cursor: default;
+
+ &:hover{ text-decoration: underline; }
+
+ /* (1.3) Pseudo-checkbox */
+ &:before{
+ content: '';
+
+ display: block;
+ position: absolute;
+ width: calc( 1em - 2*2px );
+ height: calc( 1em - 2*2px );
+
+ border-radius: 3px / 3px;
+ border: 2px solid $secondary-color;
+
+ background: #fff center center no-repeat;
+ background-size: auto 80%;
+
+ transition: background .2s ease-in-out,
+ border-color .2s ease-in-out;
+
+ cursor: pointer;
+ }
+
+ /* (1.4) Active pseudo-checkbox */
+ &.active:before{
+
+ background-image: url('/asset/svg/checkbox.svg@ffffff');
+ background-color: $form-valid-color;
+ border-color: $form-valid-color;
+
+ }
+
+ }
+
+ }
+
+
}
\ No newline at end of file
diff --git a/webpack/scss/global.scss b/webpack/scss/global.scss
index c043dce..c954e12 100644
--- a/webpack/scss/global.scss
+++ b/webpack/scss/global.scss
@@ -15,11 +15,11 @@ select.neutral{
padding: .5em 1em;
border-radius: 3px;
- border: 1px dashed $form-neutral-color;
+ border: 1px solid $form-neutral-color;
background-color: #fff;
- color: $form-neutral-color;
+ color: lighten($primary-color, 15%);
transition: border .2s ease-in-out,
color .2s ease-in-out;