@charset "UTF-8"; .input:hover, input:hover, select:hover, .textarea:hover, .select select:hover, .is-hovered.input, input.is-hovered, select.is-hovered, .is-hovered.textarea, .select select.is-hovered { border-color: $border-color !important; } app-step-one, app-step-two, app-step-three, app-step-four { padding: 2em 2.5em; display: block; } app-step-five { app-stepper { padding: 2em 2.5em; display: block; } .container { padding: 2em; } } input, select, textarea { display: inline-block; padding: 1rem; border: 1px solid $secondary_color; border-bottom: 3px solid $primary_color; width: calc(100% - 45px); margin-right: 2px; margin-bottom: 1em; + button, + .mat-icon-button { margin-bottom: 1em; } } input, select, textarea { @extend .clickable; margin-bottom: 0.25rem; border-bottom: 2px solid $primary_color; padding: 0.5rem; &:active, &:focus, &:hover { color: $primary_color; } &.ng-invalid { border: $warning 3px solid !important; } &[required] { &:after { content: '*'; color: red; } } } li { list-style-type: none; } .next { max-width: 200px; margin-bottom: 50px; } .btn-block { display: block; width: 100%; } button[type='submit'] { margin-top: 2em; } .hint { margin-top: 0; margin-bottom: 1em; padding: 1em; background: $warning; color: $white; } select, option { -webkit-appearance: none; -moz-appearance: none; border-radius: 0; background-color: transparent; //background-image: url('assets/img/fleche_bas.svg') !important; padding-right: 2.5rem; background-repeat: no-repeat; background-size: 9px 8px; background-position: right 1rem center; background-clip: border-box; min-width: 10rem; margin-bottom: 0.25rem; border-bottom: 2px solid $primary_color !important; } select { @extend .select, .input; } #multi_hours select { min-width: 300px !important; } input { @extend .input, .text-ellipsis; } textarea { width: 100%; max-width: 100%; min-height: 213px; padding: 0.5em 1em; margin-bottom: 1em; border-left: 3px solid $primary_color; } .comment { border-left: 6px solid $primary_color; margin-top: 25px; margin-bottom: 25px; flex-wrap: wrap; padding-left: 17px; } .deletable-field-hint { margin-right: 2.8em; margin-top: -0.7em; -moz-border-radius-bottomright: 1em; } .mat-error { display: block; background: $warning; padding: 1em; } mat-checkbox { display: block; } .cdk-drag { cursor: pointer; &:hover { background: #fefefe; } } .admin-form { max-width: 800px; margin: 0 auto; } .fa { margin-right: 1ch; &.fa-times, &.fa-trash { margin-right: 0; } } .example-list { width: 500px; max-width: 100%; border: solid 1px #ccc; min-height: 60px; display: block; background: white; border-radius: 4px; overflow: hidden; } .example-box { padding: 20px 10px; border-bottom: solid 1px #ccc; color: rgba(0, 0, 0, 0.87); display: flex; flex-direction: row; align-items: center; justify-content: space-between; box-sizing: border-box; cursor: move; background: white; font-size: 14px; } .cdk-drag-preview { box-sizing: border-box; border-radius: 4px; box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12); padding: 0.5em; height: 4em; background: white; } .cdk-drag-placeholder { opacity: 1; padding: 1em; height: 4em; width: 100%; background: $primary; } .cdk-drag-animating { padding: 1em; transition: transform 250ms cubic-bezier(0, 0, 0.2, 1); } .example-box:last-child { border: none; } .example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) { transition: transform 250ms cubic-bezier(0, 0, 0.2, 1); } .ng-pristine, .ng-dirty { //border-left: #ccc 3px solid; //padding-left: 1em; } .ng-touched.ng-invalid { //border-left: $danger 3px solid; //padding-left: 1em; } .theme-dark-crystal { .ng-touched.ng-valid { //border-left: $success 3px solid; //padding-left: 1em; } } .bar-nav-admin { //position:fixed; //bottom: 0; background: #ccc; display: block; width: 100%; padding: 1em; } // calendar primeng .p-datepicker { border: solix 1px $logo_color; margin: 1em auto; .pi-chevron-left:after { content: '<'; } .pi-chevron-right:after { content: '>'; } .p-datepicker-month { margin-right: 1em; } .p-datepicker-weeknumber span { border-right: 1px solid $legend_color; } .p-datepicker-today span { font-weight: bold; border: solid 1px $legend_color; } .p-datepicker-calendar td span { padding: 1em; width: 3.5em; transition: all ease 0.5s; &:hover { background: mix($white, $legend_color); color: $white; transition: all ease 0.2s; } } .p-highlight { background: $legend_color; color: $white; border-radius: 100%; } } .advanced-config { .box { background: $light; border: 3px solid $primary-color; } .work-in-progress { padding: 1em 2em; background: $border-color; color: $light; } }