ComunicWeb/assets/css/components/posts/form.css
2018-01-05 18:46:04 +01:00

86 lines
1.3 KiB
CSS

/**
* Posts creation form
*
* @author Pierre HUBERT
*/
/**
* Message text form
*/
.post-form .new-message {
width: 100%;
min-height: 100px;
font-size: 14px;
line-height: 18px;
border: 1px solid #dddddd;
padding: 10px;
margin-bottom: 10px;
}
/**
* Message type chooser
*/
.post-form .post-types {
text-align: center;
}
.post-form .post-types label {
margin: 5px;
}
.post-form .post-form-choice input {
display: none;
}
.post-form .post-form-choice input:checked ~ span {
color: #72afd2;
font-size: 110%;
}
/**
* Post-types specific
*/
.post-form .post-image,
.post-form .post-youtube,
.post-form .post-movie,
.post-form .post-weblink,
.post-form .post-pdf,
.post-form .post-countdown,
.post-form .post-survey {
display: none;
}
.post-form .post-movie button {
margin-right: 5px;
}
.post-form .post-survey .select2-dropdown {
/* Hide select2 suggestions*/
display: none;
}
/**
* Visibility choice
*/
.post-form .post-visiblity-contener {
display: inline-block;
margin-right: 10px;
}
.post-form .post-visiblity-contener label {
margin-left: 5px;
}
.post-form .post-visiblity-contener input {
display: none;
}
.post-form .post-visiblity-contener span {
color: #b5bbc8;
}
.post-form .post-visiblity-contener input:checked ~ span {
color: #111111;
}