mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
154 lines
3.0 KiB
SCSS
154 lines
3.0 KiB
SCSS
/*
|
|
* NOTE 2021.04
|
|
* scss/chill.scss is the main sass file for the new chill.2
|
|
* scratch will be replaced by bootstrap, please avoid to edit in modules/scratch/_custom.scss
|
|
*
|
|
* when possible, try to use bootstrap class naming
|
|
*/
|
|
|
|
/*
|
|
* Header custom for Accompanying Course
|
|
*/
|
|
|
|
div#header-accompanying_course-name {
|
|
background: none repeat scroll 0 0 #718596;
|
|
color: #FFF;
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
|
|
span {
|
|
a {
|
|
color: white;
|
|
}
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
div#header-accompanying_course-details {
|
|
background: none repeat scroll 0 0 #718596ab;
|
|
color: #FFF;
|
|
padding-top: 1em;
|
|
padding-bottom: 1em;
|
|
}
|
|
|
|
/* /!\ Contourne le positionnement problématique du div#content_conainter suivant,
|
|
* car sa position: relative le place au-dessus du bandeau et les liens sont incliquables */
|
|
div.subheader {
|
|
height: 130px;
|
|
}
|
|
|
|
//// VUEJS ////
|
|
|
|
div.vue-component {
|
|
padding: 1.5em;
|
|
margin: 2em 0;
|
|
border: 2px dashed grey;
|
|
position: relative;
|
|
&:before {
|
|
content: "vuejs component";
|
|
position: absolute;
|
|
left: 1.5em;
|
|
top: -0.9em;
|
|
background-color: white;
|
|
color: grey;
|
|
padding: 0 0.3em;
|
|
}
|
|
dd { margin-left: 1em; }
|
|
}
|
|
|
|
//// MODAL ////
|
|
.modal-mask {
|
|
position: fixed;
|
|
z-index: 9998;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.75);
|
|
display: table;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
.modal-header .close { // bootstrap classes, override sc-button 0 radius
|
|
border-top-right-radius: 0.3rem;
|
|
}
|
|
|
|
/*
|
|
* The following styles are auto-applied to elements with
|
|
* transition="modal" when their visibility is toggled
|
|
* by Vue.js.
|
|
*
|
|
* You can easily play with the modal transition by editing
|
|
* these styles.
|
|
*/
|
|
.modal-enter {
|
|
opacity: 0;
|
|
}
|
|
.modal-leave-active {
|
|
opacity: 0;
|
|
}
|
|
.modal-enter .modal-container,
|
|
.modal-leave-active .modal-container {
|
|
-webkit-transform: scale(1.1);
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
//// AddPersons modal
|
|
div.modal-body.up {
|
|
margin: auto 4em;
|
|
div.search {
|
|
position: relative;
|
|
input {
|
|
padding: 1.2em 1.5em 1.2em 2.5em;
|
|
margin: 1em 0;
|
|
}
|
|
i {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0.5em;
|
|
padding: 0.65em 0;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
}
|
|
}
|
|
div.results {
|
|
div.count {
|
|
margin: -0.5em 0 0.7em;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
div.list-item {
|
|
line-height: 26pt;
|
|
padding: 0.3em 0.8em;
|
|
display: flex;
|
|
flex-direction: row;
|
|
&.checked {
|
|
background-color: #ececec;
|
|
border-bottom: 1px dotted #8b8b8b;
|
|
}
|
|
div.container {
|
|
& > input {
|
|
margin-right: 0.8em;
|
|
}
|
|
}
|
|
div.right_actions {
|
|
margin: 0 0 0 auto;
|
|
& > * {
|
|
margin-left: 0.5em;
|
|
}
|
|
a.sc-button {
|
|
border: 1px solid lightgrey;
|
|
font-size: 70%;
|
|
padding: 4px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.discret {
|
|
color: grey;
|
|
margin-right: 1em;
|
|
}
|