demarches-normaliennes/app/assets/stylesheets/description.scss
Xavier J cd7b7e4055 - Fix display private form
- Refacto code private form
2016-12-22 11:39:44 +01:00

143 lines
No EOL
2 KiB
SCSS

@import "bootstrap";
@import "bootstrap-datepicker3";
#description_page #liste_champs {
.default_data_block {
.show-block {
width: 90%;
.body{
padding-left: 35px;
padding-right: 35px;
padding-bottom: 35px;
}
}
}
h4 {
padding-top: 35px;
margin: 0;
}
}
.page-header{
border-bottom: 1px solid #CCCCCC !important;
}
.input-error {
color: darkred !important;
border-color: darkred !important
}
.type_champ-text {
@extend .col-md-6;
@extend .col-lg-6;
input[type='text'] {
width: 100%;
}
}
.type_champ-header_section {
@extend .col-md-12;
@extend .col-lg-12;
}
.type_champ-address {
@extend .col-md-6;
@extend .col-lg-6;
.twitter-typeahead {
width: 100%;
input {
width: 100%;
display: block !important;
}
}
.tt-menu {
width: 100%;
}
}
.type_champ-email {
@extend .col-md-4;
@extend .col-lg-4;
input[type='email'] {
width: 100%;
}
}
.type_champ-drop_down_list, .type_champ-regions, .type_champ-departements, .type_champ-pays {
@extend .col-md-4;
@extend .col-lg-4;
}
.type_champ-civilite {
@extend .col-md-3;
@extend .col-lg-3;
}
.type_champ-yes_no {
@extend .col-md-3;
@extend .col-lg-3;
}
.type_champ-phone {
@extend .col-md-2;
@extend .col-lg-2;
input[type='phone'] {
width: 100%;
}
}
.datepicker-switch {
color: #0086b3;
text-decoration: underline;
}
.type_champ-textarea {
@extend .col-md-8;
@extend .col-lg-8;
textarea.form-control {
width: 100%;
height: 133px;
}
}
.type_champ-number {
@extend .col-md-3;
@extend .col-lg-3;
input[type='number'] {
width: 100%;
}
}
.type_champ-date {
@extend .col-md-2;
@extend .col-lg-2;
input[type='date'] {
width: 160px;
}
}
.type_champ-datetime {
@extend .col-md-5;
@extend .col-lg-5;
input[type='datetime'] {
width: 160px;
}
}
.description_div {
margin-top: 5px;
margin-left: 5px;
color: dimgrey;
display: none;
}