0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-23 01:40:29 +01:00
discourse-custom-wizard/assets/stylesheets/wizard_custom_admin.scss

300 Zeilen
4 KiB
SCSS

2017-09-23 04:34:07 +02:00
.wizards-nav-button {
@extend .nav-pills;
2017-10-06 04:59:02 +02:00
float: left;
}
2017-10-07 04:27:38 +02:00
.wizard-list {
float: left;
width: 250px;
}
2017-10-06 04:59:02 +02:00
.new-wizard {
margin-top: 15px;
}
.wizard-header {
2017-10-13 15:02:34 +02:00
font-size: 1.4em;
2017-10-06 04:59:02 +02:00
margin-bottom: 15px;
&.medium {
2017-10-13 15:02:34 +02:00
font-size: 1.2em;
2017-10-06 04:59:02 +02:00
}
&.small {
2017-10-13 15:02:34 +02:00
font-size: 1em;
margin-bottom: 5px;
2017-10-06 04:59:02 +02:00
}
2017-10-30 07:24:51 +01:00
&.underline {
text-decoration: underline;
}
2017-10-06 04:59:02 +02:00
}
.content-list + .content {
overflow: hidden;
}
.admin-wizard.settings {
margin-left: 30px;
margin-right: 30px;
.setting {
display: inline-block;
vertical-align: top;
2017-10-13 15:02:34 +02:00
width: 49%;
2017-10-06 04:59:02 +02:00
.setting-label {
2018-05-24 07:34:58 +02:00
width: 20%;
2017-10-07 04:27:38 +02:00
}
2017-10-22 05:37:58 +02:00
.setting-value {
label {
font-size: 0.85em;
}
span {
font-size: 0.929em;
}
2017-11-01 05:21:14 +01:00
button {
margin-top: 5px;
display: block;
}
2017-11-02 03:22:13 +01:00
.d-editor {
width: 100%;
.d-editor-input {
height: 100px;
}
button {
margin: 0;
}
}
2017-10-06 04:59:02 +02:00
}
&.full {
width: 100%;
2017-11-02 03:22:13 +01:00
2018-05-24 07:34:58 +02:00
.setting-label {
width: 10%;
}
2017-11-02 03:22:13 +01:00
.setting-value {
width: initial;
overflow: hidden;
float: none;
}
2017-10-06 04:59:02 +02:00
}
2017-10-13 15:02:34 +02:00
label {
margin: 5px 0;
}
.setting-gutter {
margin-top: 5px;
}
2017-10-13 15:02:34 +02:00
}
2017-10-30 07:24:51 +01:00
.select-box-kit-header {
height: initial;
}
2017-10-13 15:02:34 +02:00
.buttons .error {
color: $danger;
.fa {
margin-right: 5px;
}
}
.buttons .remove {
float: right;
2017-10-06 04:59:02 +02:00
}
.custom-category {
margin-top: 5px;
padding: 5px;
}
2017-10-06 04:59:02 +02:00
}
.wizard-links {
margin-bottom: 20px;
2017-10-17 09:18:53 +02:00
ul {
margin: 0;
padding: 0;
list-style: none;
display: inline-block;
li {
display: inline-block;
margin-bottom: 7px;
margin-right: 7px;
}
}
.sortable-placeholder {
height: 30px;
width: 100px;
display: inline-block;
vertical-align: top;
background-color: $primary-low;
2017-10-06 04:59:02 +02:00
margin-right: 10px;
2017-10-17 09:18:53 +02:00
margin-left: 3px;
2017-10-06 04:59:02 +02:00
}
}
2017-10-13 15:02:34 +02:00
.wizard-column-contents {
position: relative;
}
2017-10-06 04:59:02 +02:00
.wizard-custom-step {
display: inline-block;
margin-bottom: 20px;
padding: 15px;
background-color: dark-light-diff($primary, $secondary, 96%, -65%);
}
.wizard-dropdown-choices {
2017-10-30 07:24:51 +01:00
padding: 15px;
2017-10-13 15:02:34 +02:00
margin-bottom: 20px;
background-color: $secondary;
2017-10-30 07:24:51 +01:00
.wizard-header:not(.underline) {
margin-top: 15px;
}
2017-10-06 04:59:02 +02:00
}
2017-10-30 07:24:51 +01:00
.custom-input {
2018-05-24 07:34:58 +02:00
display: flex;
2017-10-30 07:24:51 +01:00
margin: 5px 0;
2018-05-24 07:34:58 +02:00
.d-icon {
margin: 0 auto;
text-align: center;
}
input[disabled] {
background-color: $primary-low;
border-color: #ddd;
2017-10-30 07:24:51 +01:00
}
2018-05-24 07:34:58 +02:00
.select-kit {
width: 232px !important;
}
.remove {
margin: 0 auto;
align-self: flex-start;
2017-10-30 07:24:51 +01:00
}
2017-10-06 04:59:02 +02:00
}
2017-10-30 07:24:51 +01:00
.setting .add-custom-input {
margin-top: 5px;
}
.admin-contents .wizard-submissions {
2017-10-06 04:59:02 +02:00
padding: 0 20px;
display: inline-block;
overflow: scroll;
2017-10-30 07:24:51 +01:00
table {
margin-top: 0;
}
2017-09-23 04:34:07 +02:00
}
2017-10-09 07:52:09 +02:00
.wizard-field-composer textarea {
width: 100%;
min-height: 150px;
}
2017-11-01 05:21:14 +01:00
.next-session-time-modal {
text-align: center;
.date-time-card {
width: 270px;
padding: 10px 20px;
text-align: left;
}
.modal-date-time-set{
padding-top: 3px;
padding-bottom: 4px;
display: flex;
flex-direction: row;
.modal-date-area{
order: 1;
}
.modal-time-area{
order: 2;
margin-left: 10px;
.modal-time{
width: 127px;
}
}
}
.ui-timepicker-input {
width: 119px;
text-align: center;
}
.date-picker{
width: 121px;
}
.pika-single {
position: relative !important;
.pika-lendar {
border: 1px solid #eee;
padding: 14px;
margin: 0;
float: none;
width: auto;
}
}
}
2017-11-24 05:32:15 +01:00
.post-builder-editor {
min-height: 220px;
}
2018-05-24 07:34:58 +02:00
.text-divider {
display: block;
text-align: center;
overflow: hidden;
white-space: nowrap;
margin: 5px 0;
> span {
position: relative;
display: inline-block;
}
> span:before,
> span:after {
content: "";
position: absolute;
top: 50%;
width: 9999px;
height: 1px;
background: $tertiary;
}
> span:before {
right: 100%;
margin-right: 15px;
}
> span:after {
left: 100%;
margin-left: 15px;
}
}