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

528 Zeilen
7 KiB
SCSS

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;
float: none;
display: flex;
2019-08-27 08:05:24 +02:00
&.editor {
flex-flow: wrap;
.d-editor {
margin-bottom: 5px;
}
}
.custom-input .remove {
margin-left: 10px;
margin-top: 0;
}
2017-11-02 03:22:13 +01:00
}
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;
}
2019-06-03 09:09:24 +02:00
.api-body {
width: 100%;
.setting-label {
max-width: 70px;
}
.setting-value {
width: calc(100% - 180px);
}
textarea {
width: 100%;
min-height: 150px;
}
}
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;
align-items: center;
margin-bottom: 10px;
2017-10-30 07:24:51 +01:00
2018-05-24 07:34:58 +02:00
.d-icon {
margin: 0 auto;
text-align: center;
}
input {
margin: 0;
}
2018-05-24 07:34:58 +02:00
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
}
.connector {
margin: 0 10px;
}
2017-10-06 04:59:02 +02:00
}
2019-07-27 09:01:29 +02:00
.required-data .setting-value {
flex-flow: wrap;
2019-07-27 09:01:29 +02:00
.custom-inputs {
margin-bottom: 20px;
}
2019-07-27 09:14:07 +02:00
.required-data-message .label {
margin-bottom: 5px;
}
2019-07-27 09:01:29 +02:00
}
2017-10-30 07:24:51 +01:00
.setting .add-custom-input {
margin-top: 5px;
}
.admin-contents .wizard-submissions {
width: 100%;
2017-10-06 04:59:02 +02:00
display: inline-block;
2019-08-13 07:51:37 +02:00
2017-10-30 07:24:51 +01:00
table {
margin-top: 0;
2019-08-13 07:51:37 +02:00
position: absolute;
2017-10-30 07:24:51 +01:00
}
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;
}
}
2019-05-31 09:54:11 +02:00
.wizard-step-contents {
height: unset !important;
}
.admin-wizards-api {
margin-bottom: 40px;
.content-list {
margin-right: 20px;
}
.new-api {
margin-top: 20px;
}
.metadata .title input {
width: 400px;
}
.buttons {
text-align: right;
vertical-align: middle;
> .d-icon, > .spinner {
margin-right: 7px;
}
.error {
margin-top: 10px;
color: $danger;
}
}
2019-05-31 09:54:11 +02:00
}
.wizard-api-header {
&.page {
margin-bottom: 20px;
}
.buttons {
float: right;
}
.wizard-header {
overflow: hidden;
}
2019-05-31 09:54:11 +02:00
}
.wizard-api-authentication {
display: flex;
background-color: $primary-very-low;
padding: 20px;
margin-bottom: 20px;
.settings {
width: 50%;
max-width: 50%;
}
.redirect-uri .controls {
word-break: break-all;
}
.auth-type .select-kit {
min-width: 210px;
width: 210px;
margin-bottom: 10px;
}
.status {
2019-06-03 01:40:54 +02:00
border-left: 1px solid $primary;
margin-left: 20px;
padding-left: 20px;
width: 50%;
max-width: 50%;
.wizard-header {
overflow: hidden;
}
.authorization {
float: right;
}
.control-group {
margin-bottom: 15px;
}
2019-05-31 09:54:11 +02:00
}
}
.wizard-api-endpoints {
background-color: $primary-very-low;
padding: 20px;
margin-bottom: 20px;
2019-05-31 09:54:11 +02:00
.endpoint-list {
margin-top: 20px;
ul {
margin: 0;
list-style: none;
}
}
.endpoint {
2019-06-03 01:40:54 +02:00
margin-top: 20px;
.top, .bottom {
display: flex;
}
.top {
margin-bottom: 15px;
}
2019-05-31 09:54:11 +02:00
.combo-box {
margin-right: 10px;
width: 210px;
2019-05-31 09:54:11 +02:00
}
input {
2019-05-31 09:54:11 +02:00
margin: 0;
margin-right: 10px;
}
.endpoint-url {
flex: 1 1 auto;
2019-05-31 09:54:11 +02:00
}
.remove-endpoint {
margin-left: auto;
}
}
}
.wizard-api-log {
background-color: #f8f8f8;
padding: 20px;
margin-bottom: 20px;
}
.wizard-step-contents{
height: unset !important;
}
// Tansfer tab
2019-08-07 10:18:46 +02:00
.admin-wizards-transfer .admin-container .container {
padding-top: 20px;
}
#file-url {
display: block;
margin-bottom: 10px;
}
.wizard-list-select {
list-style-type: none;
}
2019-08-07 10:18:46 +02:00
.wizard-action-buttons {
flex-direction: column;
}
2019-08-07 12:16:05 +02:00
.import-message {
margin: 10px 0;
}
2019-08-07 10:18:46 +02:00
.import-logs {
margin-top: 20px;
.title {
font-weight: 800;
margin-bottom: 10px;
}
ul {
list-style: none;
}
}