// Compilation command : // sass -I shared/static/src/ --watch bds/static/src/sass/bds.scss bds/static/bds/css/bds.css @import "bulma/bulma.sass"; $primary_color: #3e2263; $background_color: #ddcecc; html, body { background: $background_color; font-size: 18px; } a { text-decoration: none; color: #a82305; } /* header */ #search-bar { background-color: $primary_color; padding: 0 1em; // Workaround : `justify-content : ` pas encore supporté // Voir https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content & :first-child, & :last-child { justify-content: space-between; } & :last-child { flex-direction: row-reverse; } } /* Autocomplétion du BDS */ .highlight { text-decoration: underline; font-weight: bold; } .yourlabs-autocomplete { ul { list-style: none; padding: 0; margin: 0; li { height: 2em; line-height: 2em; padding: 0; } li.hilight { background: #e8554e; } } } .yourlabs-autocomplete ul li a { color: inherit; } .autocomplete-item { display: block; width: 480px; height: 100%; padding: 2px 10px; margin: 0; } .autocomplete-header { background: #b497e1; } .autocomplete-value, .autocomplete-new, .autocomplete-more { background: white; } /* --- Forms --- */ $button_color: lighten($primary_color, 10); input[type="submit"] { background-color: $button_color; color: findColorInvert($button_color); &:hover { background-color: $primary_color; color: findColorInvert($primary_color); } } /* --- Message styling --- */ .error { background: red; color: white; width: 100%; padding: 0.5em 0; margin: 0; font-size: 1.2em; text-align: center; } .success { background: green; color: white; width: 100%; padding: 0.5em 0; margin: 0; font-size: 1.2em; text-align: center; }