ComunicWeb/assets/css/components/posts/form.css

84 lines
1.3 KiB
CSS
Raw Permalink Normal View History

2018-01-04 17:51:49 +00:00
/**
* Posts creation form
*
* @author Pierre HUBERT
*/
2018-01-05 10:23:07 +00:00
/**
* Message text form
*/
2018-01-04 17:51:49 +00:00
.post-form .new-message {
width: 100%;
min-height: 100px;
font-size: 14px;
line-height: 18px;
border: 1px solid #dddddd;
padding: 10px;
margin-bottom: 10px;
2018-01-04 18:39:22 +00:00
}
2018-12-27 18:07:39 +00:00
.post-form .new-message-content-container {
margin-bottom: 15px;
}
2018-01-05 10:23:07 +00:00
/**
* Message type chooser
*/
2018-01-05 08:11:41 +00:00
.post-form .post-types {
text-align: center;
}
.post-form .post-types label {
margin: 5px;
}
.post-form .post-form-choice input {
display: none;
}
2018-01-05 08:41:27 +00:00
.post-form .post-form-choice input:checked ~ span {
2018-01-05 08:11:41 +00:00
color: #72afd2;
font-size: 110%;
2018-01-05 08:41:27 +00:00
}
2018-01-05 10:23:07 +00:00
/**
* Post-types specific
*/
.post-form .post-image,
.post-form .post-youtube,
.post-form .post-weblink,
.post-form .post-pdf,
.post-form .post-countdown,
.post-form .post-survey {
2018-01-05 10:23:07 +00:00
display: none;
}
.post-form .post-survey .select2-dropdown {
/* Hide select2 suggestions*/
display: none;
}
2018-01-05 10:23:07 +00:00
/**
* Visibility choice
*/
2018-03-25 07:43:39 +00:00
.post-form .post-visiblity-container {
2018-01-05 08:41:27 +00:00
display: inline-block;
margin-right: 10px;
}
2018-03-25 07:43:39 +00:00
.post-form .post-visiblity-container label {
2018-01-05 08:41:27 +00:00
margin-left: 5px;
}
2018-03-25 07:43:39 +00:00
.post-form .post-visiblity-container input {
2018-01-05 08:41:27 +00:00
display: none;
}
2018-03-25 07:43:39 +00:00
.post-form .post-visiblity-container span {
2018-01-05 08:41:27 +00:00
color: #b5bbc8;
}
2018-03-25 07:43:39 +00:00
.post-form .post-visiblity-container input:checked ~ span {
2018-01-05 08:41:27 +00:00
color: #111111;
2018-01-04 17:51:49 +00:00
}