1
0
Fork 0

ran prettier on stylesheets and global wizard javascripts (#95)

Dieser Commit ist enthalten in:
Faizaan Gagan 2021-04-12 12:05:15 +05:30 committet von GitHub
Ursprung 0205d8ccb5
Commit 2788e8026e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
17 geänderte Dateien mit 449 neuen und 416 gelöschten Zeilen

Datei anzeigen

@ -3,4 +3,4 @@ window.Discourse = {};
window.Wizard = {}; window.Wizard = {};
Wizard.SiteSettings = {}; Wizard.SiteSettings = {};
Discourse.__widget_helpers = {}; Discourse.__widget_helpers = {};
Discourse.SiteSettings = Wizard.SiteSettings; Discourse.SiteSettings = Wizard.SiteSettings;

Datei anzeigen

@ -1,4 +1,4 @@
(function () { (function () {
document.cookie = 'destination_url=' + window.location.href + ';path=/'; document.cookie = "destination_url=" + window.location.href + ";path=/";
window.location.href = '/login'; window.location.href = "/login";
})(); })();

Datei anzeigen

@ -1,4 +1,4 @@
(function() { (function () {
let wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create(); let wizard = require("discourse/plugins/discourse-custom-wizard/wizard/custom-wizard").default.create();
wizard.start(); wizard.start();
})(); })();

Datei anzeigen

@ -1,15 +1,15 @@
@import 'wizard-mapper'; @import "wizard-mapper";
@import 'wizard-manager'; @import "wizard-manager";
@import 'wizard-api'; @import "wizard-api";
@import 'common/components/buttons'; @import "common/components/buttons";
.admin-wizard-controls { .admin-wizard-controls {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-bottom: 20px; margin-bottom: 20px;
&+ .wizard-message + div { & + .wizard-message + div {
margin-top: 20px; margin-top: 20px;
} }
} }
@ -22,54 +22,52 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: flex-start; align-items: flex-start;
.message-block { .message-block {
.d-icon { .d-icon {
margin-right: 4px; margin-right: 4px;
} }
.d-icon-check-circle { .d-icon-check-circle {
color: var(--success); color: var(--success);
} }
.d-icon-times-circle { .d-icon-times-circle {
color: var(--danger); color: var(--danger);
} }
a + a { a + a {
border-left: 1px solid $primary-medium; border-left: 1px solid $primary-medium;
padding-left: 5px; padding-left: 5px;
margin-left: 5px; margin-left: 5px;
} }
.message { .message {
white-space: nowrap; white-space: nowrap;
} }
.list-colon { .list-colon {
margin-right: 5px; margin-right: 5px;
} }
ul { ul {
list-style: none; list-style: none;
margin: 0; margin: 0;
span.action { span.action {
margin-left: 5px; margin-left: 5px;
} }
} }
} }
& + div { & + div {
margin-top: 30px; margin-top: 30px;
} }
} }
.wizard-submissions { .wizard-submissions {
overflow: scroll; overflow: scroll;
table td { table td {
min-width: 150px; min-width: 150px;
} }
@ -81,7 +79,7 @@
margin: 0 7px; margin: 0 7px;
} }
} }
.wizard-logs { .wizard-logs {
.date { .date {
width: 100px; width: 100px;
@ -125,11 +123,11 @@
.wizard-custom-action { .wizard-custom-action {
position: relative; position: relative;
display: none; display: none;
&.visible { &.visible {
display: flex; display: flex;
} }
.undo-changes { .undo-changes {
position: absolute; position: absolute;
top: 0; top: 0;
@ -139,11 +137,11 @@
.admin-wizard-container.settings .wizard-basic-details { .admin-wizard-container.settings .wizard-basic-details {
justify-content: initial; justify-content: initial;
.setting { .setting {
width: auto; width: auto;
margin-right: 20px; margin-right: 20px;
.setting-label { .setting-label {
width: initial; width: initial;
min-width: initial; min-width: initial;
@ -153,7 +151,7 @@
.wizard-header { .wizard-header {
margin-bottom: 20px; margin-bottom: 20px;
&.large { &.large {
font-size: 1.5em; font-size: 1.5em;
min-height: 31px; min-height: 31px;
@ -161,32 +159,32 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: flex-start; align-items: flex-start;
input { input {
margin-bottom: 0; margin-bottom: 0;
width: 400px; width: 400px;
} }
label { label {
margin-bottom: 0; margin-bottom: 0;
} }
.download-link { .download-link {
font-size: 1rem; font-size: 1rem;
line-height: 20px; line-height: 20px;
} }
.wizard-url { .wizard-url {
display: inline-flex; display: inline-flex;
margin-left: 20px; margin-left: 20px;
max-width: 50%; max-width: 50%;
a { a {
padding: 6px 12px; padding: 6px 12px;
font-size: 1rem; font-size: 1rem;
background-color: $primary-low; background-color: $primary-low;
} }
button { button {
font-size: 1rem; font-size: 1rem;
} }
@ -210,22 +208,21 @@
.admin-wizard-buttons { .admin-wizard-buttons {
margin-top: 20px; margin-top: 20px;
display: flex; display: flex;
.btn { .btn {
margin-right: 1em; margin-right: 1em;
} }
} }
.admin-wizard-container.settings { .admin-wizard-container.settings {
[class~="setting"] {
[class~='setting'] {
display: inline-flex; display: inline-flex;
align-items: flex-start; align-items: flex-start;
width: 48%; width: 48%;
margin-bottom: 30px; margin-bottom: 30px;
padding-bottom: 0; padding-bottom: 0;
position: relative; position: relative;
&:last-of-type { &:last-of-type {
margin-bottom: 0; margin-bottom: 0;
} }
@ -241,7 +238,7 @@
float: initial; float: initial;
width: initial; width: initial;
padding: 0; padding: 0;
label { label {
font-size: 0.85em; font-size: 0.85em;
} }
@ -253,97 +250,100 @@
button { button {
display: block; display: block;
} }
input[type="text"], textarea { input[type="text"],
textarea {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
margin-bottom: 0; margin-bottom: 0;
} }
input[type="number"] { input[type="number"] {
margin-bottom: 0; margin-bottom: 0;
} }
input[disabled] { input[disabled] {
background-color: $primary-low; background-color: $primary-low;
cursor: not-allowed; cursor: not-allowed;
} }
input.medium { input.medium {
width: 200px; width: 200px;
} }
input.small { input.small {
width: 100px; width: 100px;
} }
.uploaded-image-preview { .uploaded-image-preview {
width: 100%; width: 100%;
max-height: 100px; max-height: 100px;
margin-bottom: 0; margin-bottom: 0;
} }
.image-upload-controls { .image-upload-controls {
label { label {
font-size: 1em; font-size: 1em;
margin: 0 5px 0 0; margin: 0 5px 0 0;
} }
} }
> textarea { > textarea {
min-height: 100px; min-height: 100px;
resize: vertical; resize: vertical;
} }
input[type="checkbox"] { input[type="checkbox"] {
float: left; float: left;
margin: 5px 7px 0 0; margin: 5px 7px 0 0;
} }
.input .select-kit, > .select-kit { .input .select-kit,
> .select-kit {
max-width: 250px !important; max-width: 250px !important;
min-width: 250px !important; min-width: 250px !important;
} }
} }
&.full, &.full-inline { &.full,
&.full-inline {
width: 100%; width: 100%;
.setting-value { .setting-value {
width: initial; width: initial;
float: none; float: none;
&.editor { &.editor {
.d-editor { .d-editor {
margin-bottom: 5px; margin-bottom: 5px;
} }
} }
.uploaded-image-preview { .uploaded-image-preview {
max-height: 200px; max-height: 200px;
} }
} }
} }
&.full-inline { &.full-inline {
.setting-value { .setting-value {
display: flex; display: flex;
align-items: center; align-items: center;
input { input {
margin: 0 7px 0 0; margin: 0 7px 0 0;
} }
button { button {
margin: 0 0 0 20px; margin: 0 0 0 20px;
} }
} }
} }
&.field-mapper-setting { &.field-mapper-setting {
.setting-value { .setting-value {
max-width: calc(100% - 80px); max-width: calc(100% - 80px);
.mapper-input { .mapper-input {
max-width: 100%; max-width: 100%;
box-sizing: border-box; box-sizing: border-box;
@ -359,17 +359,17 @@
margin-top: 5px; margin-top: 5px;
} }
} }
.advanced-settings { .advanced-settings {
width: 100%; width: 100%;
margin-top: 30px; margin-top: 30px;
[class~='setting']:first-of-type { [class~="setting"]:first-of-type {
border-top: none; border-top: none;
} }
} }
.wizard-custom-action > [class~='setting']:first-of-type { .wizard-custom-action > [class~="setting"]:first-of-type {
margin-bottom: 0; margin-bottom: 0;
} }
@ -406,20 +406,20 @@
.d-editor-input { .d-editor-input {
min-height: 150px; min-height: 150px;
} }
.d-editor-container { .d-editor-container {
display: block; display: block;
} }
.d-editor-textarea-wrapper { .d-editor-textarea-wrapper {
display: grid; display: grid;
margin-bottom: 10px; margin-bottom: 10px;
textarea { textarea {
resize: vertical; resize: vertical;
} }
} }
.d-editor-preview-wrapper { .d-editor-preview-wrapper {
display: none; display: none;
margin: 0 0 10px 0; margin: 0 0 10px 0;
@ -427,7 +427,7 @@
background-color: $secondary; background-color: $secondary;
border: 1px solid $primary-medium; border: 1px solid $primary-medium;
max-width: 100%; max-width: 100%;
&.force-preview { &.force-preview {
display: block; display: block;
} }
@ -437,25 +437,25 @@
margin: 0; margin: 0;
} }
} }
.wizard-editor-gutter { .wizard-editor-gutter {
position: relative; position: relative;
display: flex; display: flex;
.btn { .btn {
margin-right: 10px; margin-right: 10px;
color: $primary; color: $primary;
&:hover { &:hover {
color: $secondary; color: $secondary;
} }
} }
.wizard-editor-gutter-popover { .wizard-editor-gutter-popover {
position: absolute; position: absolute;
padding: 10px; padding: 10px;
background-color: $secondary; background-color: $secondary;
box-shadow: shadow('card'); box-shadow: shadow("card");
z-index: 200; z-index: 200;
top: 40px; top: 40px;
} }
@ -481,7 +481,7 @@
margin-bottom: 10px; margin-bottom: 10px;
margin-right: 10px; margin-right: 10px;
} }
.btn { .btn {
height: 32px; height: 32px;
} }
@ -505,11 +505,11 @@
.required-data-message { .required-data-message {
display: inline-block; display: inline-block;
margin-top: 20px; margin-top: 20px;
.label { .label {
margin-bottom: 5px; margin-bottom: 5px;
} }
input { input {
margin-bottom: 0; margin-bottom: 0;
} }
@ -522,7 +522,7 @@
.modal .modal-body.next-session-time-modal { .modal .modal-body.next-session-time-modal {
overflow: visible; overflow: visible;
.picker-container { .picker-container {
position: absolute; position: absolute;
top: 30px; top: 30px;
@ -574,7 +574,9 @@
width: 100%; width: 100%;
} }
.add-mapper-input .btn, .btn-after-time, .wizard-editor-gutter .btn { .add-mapper-input .btn,
.btn-after-time,
.wizard-editor-gutter .btn {
background-color: $secondary; background-color: $secondary;
border: 1px solid $primary-medium; border: 1px solid $primary-medium;
} }
@ -584,47 +586,47 @@
.buttons { .buttons {
display: flex; display: flex;
align-items: center; align-items: center;
button.btn { button.btn {
margin-left: 10px; margin-left: 10px;
} }
} }
} }
.btn.save:enabled { .btn.save:enabled {
@extend .btn-primary; @extend .btn-primary;
} }
.btn.destroy { .btn.destroy {
@extend .btn-danger; @extend .btn-danger;
} }
h3 { h3 {
margin-bottom: 0; margin-bottom: 0;
} }
.select-kit { .select-kit {
width: 150px; width: 150px;
} }
.select-kit.multi-select { .select-kit.multi-select {
width: 300px; width: 300px;
.choices .choice, .choices .choice,
.select-kit-filter .filter-input { .select-kit-filter .filter-input {
height: 25px; height: 25px;
min-height: 25px; min-height: 25px;
} }
} }
input[type="text"] { input[type="text"] {
margin: 0; margin: 0;
} }
table { table {
td { td {
vertical-align: top; vertical-align: top;
label { label {
margin: 0; margin: 0;
line-height: 30px; line-height: 30px;
@ -632,25 +634,25 @@
margin-right: 10px; margin-right: 10px;
} }
} }
td { td {
min-width: 170px; min-width: 170px;
width: 170px; width: 170px;
} }
td.multi-select { td.multi-select {
min-width: 300px; min-width: 300px;
} }
td.input { td.input {
min-width: 210px; min-width: 210px;
width: 210px; width: 210px;
} }
td.actions { td.actions {
min-width: 100px; min-width: 100px;
text-align: right; text-align: right;
button.btn { button.btn {
margin-left: 5px !important; margin-left: 5px !important;
} }
@ -666,7 +668,7 @@
background-color: var(--primary-low); background-color: var(--primary-low);
padding: 1em; padding: 1em;
margin: 0 0 1em 0; margin: 0 0 1em 0;
input { input {
margin-bottom: 0; margin-bottom: 0;
} }
@ -676,7 +678,7 @@
.validation-container { .validation-container {
display: flex; display: flex;
padding: 1em 0; padding: 1em 0;
.validation-section { .validation-section {
width: 250px; width: 250px;
} }

Datei anzeigen

@ -17,7 +17,8 @@
text-align: right; text-align: right;
vertical-align: middle; vertical-align: middle;
> .d-icon, > .spinner { > .d-icon,
> .spinner {
margin-right: 7px; margin-right: 7px;
} }
@ -30,7 +31,7 @@
.wizard-api-header { .wizard-api-header {
margin-top: 20px; margin-top: 20px;
&.page { &.page {
margin-bottom: 20px; margin-bottom: 20px;
} }
@ -103,15 +104,16 @@
.endpoint { .endpoint {
margin-top: 20px; margin-top: 20px;
.top, .bottom { .top,
.bottom {
display: flex; display: flex;
} }
.top { .top {
margin-bottom: 15px; margin-bottom: 15px;
} }
.combo-box { .combo-box {
margin-right: 10px; margin-right: 10px;
width: 210px; width: 210px;
@ -138,6 +140,6 @@
margin-bottom: 20px; margin-bottom: 20px;
} }
.wizard-step-contents{ .wizard-step-contents {
height: unset !important; height: unset !important;
} }

Datei anzeigen

@ -1,42 +1,42 @@
.admin-wizards-manager .admin-wizard-controls { .admin-wizards-manager .admin-wizard-controls {
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
h3 { h3 {
margin-bottom: 0; margin-bottom: 0;
} }
.buttons { .buttons {
display: flex; display: flex;
margin-left: auto; margin-left: auto;
> * { > * {
margin-left: 10px; margin-left: 10px;
} }
#import-button:enabled, #import-button:enabled,
#export-button:enabled { #export-button:enabled {
background-color: $tertiary; background-color: $tertiary;
color: $secondary; color: $secondary;
} }
#destroy-button:enabled { #destroy-button:enabled {
background-color: $danger; background-color: $danger;
color: $secondary; color: $secondary;
} }
} }
#file-upload { #file-upload {
display: none; display: none;
} }
.filename { .filename {
padding: 0 10px; padding: 0 10px;
border: 1px solid $primary; border: 1px solid $primary;
display: inline-flex; display: inline-flex;
height: 28px; height: 28px;
line-height: 28px; line-height: 28px;
a { a {
color: $primary; color: $primary;
margin-right: 5px; margin-right: 5px;

Datei anzeigen

@ -1,23 +1,23 @@
.wizard-mapper { .wizard-mapper {
width: 100%; width: 100%;
.select-kit { .select-kit {
min-width: initial; min-width: initial;
width: initial; width: initial;
.select-kit-header { .select-kit-header {
min-height: 30px; min-height: 30px;
} }
.choices .choice { .choices .choice {
height: 24px; height: 24px;
} }
} }
div.mapper-block:not(:last-of-type) { div.mapper-block:not(:last-of-type) {
margin-right: 10px; margin-right: 10px;
} }
> .mapper-connector.single { > .mapper-connector.single {
width: min-content; width: min-content;
margin-bottom: 10px; margin-bottom: 10px;
@ -26,7 +26,7 @@
} }
} }
[class~='mapper-input'] { [class~="mapper-input"] {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
width: min-content; width: min-content;
@ -48,7 +48,7 @@
background-color: $primary-low; background-color: $primary-low;
border-color: #ddd; border-color: #ddd;
} }
.output { .output {
position: relative; position: relative;
} }
@ -67,8 +67,9 @@
font-size: 0.8em; font-size: 0.8em;
border: 2px solid $primary-low; border: 2px solid $primary-low;
} }
&.association, &.validation { &.association,
&.validation {
padding-right: 27px; padding-right: 27px;
} }
} }
@ -80,12 +81,12 @@
.mapper-connector { .mapper-connector {
width: auto; width: auto;
min-width: 40px; min-width: 40px;
.select-kit .select-kit-header { .select-kit .select-kit-header {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
&.single { &.single {
height: 28px; height: 28px;
background: $secondary; background: $secondary;
@ -94,7 +95,7 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.connector-single { .connector-single {
padding: 0 5px; padding: 0 5px;
} }
@ -105,16 +106,19 @@
max-width: 250px; max-width: 250px;
min-width: 250px; min-width: 250px;
position: relative; position: relative;
> input, .select-kit, .ac-wrap, .autocomplete.ac-user { > input,
.select-kit,
.ac-wrap,
.autocomplete.ac-user {
width: 250px !important; width: 250px !important;
} }
.input { .input {
width: 100%; width: 100%;
transition: all 0.1s; transition: all 0.1s;
} }
.type-selector { .type-selector {
position: absolute; position: absolute;
top: -22px; top: -22px;
@ -126,24 +130,24 @@
margin-right: 4px; margin-right: 4px;
display: flex; display: flex;
align-items: center; align-items: center;
&.active { &.active {
color: var(--tertiary); color: var(--tertiary);
text-decoration: underline; text-decoration: underline;
} }
&:last-of-type { &:last-of-type {
margin-right: 0; margin-right: 0;
} }
.type-selector-icon { .type-selector-icon {
margin-left: 2px; margin-left: 2px;
font-size: 0.7em; font-size: 0.7em;
} }
} }
.selector-types { .selector-types {
box-shadow: shadow('dropdown'); box-shadow: shadow("dropdown");
position: absolute; position: absolute;
display: flex; display: flex;
background: $secondary; background: $secondary;
@ -152,19 +156,19 @@
flex-direction: column; flex-direction: column;
border: 1px solid $primary-low; border: 1px solid $primary-low;
} }
.value-list .remove-value-btn { .value-list .remove-value-btn {
background: none; background: none;
border: none; border: none;
.d-icon { .d-icon {
color: $primary; color: $primary;
} }
} }
.select-kit-header .selected-name { .select-kit-header .selected-name {
max-width: 85%; max-width: 85%;
.name { .name {
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
@ -178,30 +182,30 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
position: relative; position: relative;
.add-pair, .add-pair,
.remove-pair, .remove-pair,
.join-pair { .join-pair {
font-size: 0.9em; font-size: 0.9em;
} }
.add-pair { .add-pair {
margin-top: 5px; margin-top: 5px;
} }
.remove-pair { .remove-pair {
position: absolute; position: absolute;
top: 5px; top: 5px;
right: -20px; right: -20px;
} }
.join-pair { .join-pair {
position: absolute; position: absolute;
bottom: -25px; bottom: -25px;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
} }
.mapper-connector { .mapper-connector {
min-width: 50px; min-width: 50px;
} }
@ -211,8 +215,8 @@
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
position: relative; position: relative;
&:not(:first-of-type) { &:not(:first-of-type) {
margin-top: 30px; margin-top: 30px;
} }
} }

Datei anzeigen

@ -29,7 +29,7 @@ div.ac-wrap {
input[type="text"] { input[type="text"] {
border: 0; border: 0;
} }
.remove-link { .remove-link {
margin-left: 4px; margin-left: 4px;
font-size: $font-down-1; font-size: $font-down-1;
@ -38,7 +38,7 @@ div.ac-wrap {
border-radius: 12px; border-radius: 12px;
box-sizing: border-box; box-sizing: border-box;
border: 1px solid var(--primary-low); border: 1px solid var(--primary-low);
&:hover { &:hover {
background-color: var(--danger-low); background-color: var(--danger-low);
border: 1px solid var(--danger-medium); border: 1px solid var(--danger-medium);
@ -85,7 +85,7 @@ img.avatar {
img { img {
margin-right: 5px; margin-right: 5px;
} }
span.username { span.username {
color: var(--primary); color: var(--primary);
vertical-align: middle; vertical-align: middle;
@ -129,7 +129,8 @@ img.avatar {
top: 30px !important; top: 30px !important;
box-sizing: border-box; box-sizing: border-box;
li, .no-results { li,
.no-results {
padding: 10px; padding: 10px;
} }
@ -151,7 +152,8 @@ img.avatar {
background-color: var(--secondary); background-color: var(--secondary);
display: flex; display: flex;
&:hover, &.selected { &:hover,
&.selected {
background-color: var(--tertiary); background-color: var(--tertiary);
color: white; color: white;
@ -169,4 +171,4 @@ img.avatar {
i { i {
margin-right: 5px; margin-right: 5px;
} }
} }

Datei anzeigen

@ -9,12 +9,12 @@
.badge-category { .badge-category {
display: inline-flex; display: inline-flex;
align-items: baseline; align-items: baseline;
.category-name { .category-name {
text-overflow: ellipsis; text-overflow: ellipsis;
overflow: hidden; overflow: hidden;
} }
.d-icon { .d-icon {
margin-right: 3px; margin-right: 3px;
width: 0.74em; width: 0.74em;
@ -25,7 +25,7 @@
&.bullet { &.bullet {
margin-right: 8px; margin-right: 8px;
span.badge-category { span.badge-category {
color: var(--primary-high); color: var(--primary-high);
overflow: hidden; overflow: hidden;
@ -34,7 +34,7 @@
color: $header-primary; color: $header-primary;
} }
} }
.badge-category-parent-bg, .badge-category-parent-bg,
.badge-category-bg { .badge-category-bg {
flex: 0 0 auto; flex: 0 0 auto;
@ -43,7 +43,7 @@
margin-right: 5px; margin-right: 5px;
display: inline-block; display: inline-block;
} }
.badge-category-parent-bg { .badge-category-parent-bg {
width: 5px; width: 5px;
margin-right: 0; margin-right: 0;
@ -51,7 +51,7 @@
width: 5px; width: 5px;
} }
} }
.d-icon { .d-icon {
color: var(--primary-medium); color: var(--primary-medium);
} }
@ -61,11 +61,11 @@
margin-right: 5px; margin-right: 5px;
padding: 2px 4px 2px 4px; padding: 2px 4px 2px 4px;
display: inline-flex; display: inline-flex;
span { span {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
&.badge-category-bg, &.badge-category-bg,
&.badge-category-parent-bg { &.badge-category-parent-bg {
position: absolute; position: absolute;
@ -77,11 +77,11 @@
&.badge-category-parent-bg { &.badge-category-parent-bg {
width: calc(100% - 5px); width: calc(100% - 5px);
& + .badge-category-bg { & + .badge-category-bg {
left: 5px; left: 5px;
width: calc(100% - 5px); width: calc(100% - 5px);
& + .badge-category { & + .badge-category {
margin-left: 5px; margin-left: 5px;
} }
@ -92,7 +92,7 @@
position: relative; position: relative;
} }
} }
+ .topic-header-extra { + .topic-header-extra {
padding: 2px 4px 2px 4px; padding: 2px 4px 2px 4px;
} }
@ -127,4 +127,4 @@
color: var(--primary-high); color: var(--primary-high);
margin-right: 5px; margin-right: 5px;
} }
} }

Datei anzeigen

@ -15,7 +15,7 @@ textarea {
height: auto; height: auto;
background-color: var(--secondary); background-color: var(--secondary);
border: 1px solid var(--primary-medium); border: 1px solid var(--primary-medium);
&:focus { &:focus {
border-color: var(--tertiary); border-color: var(--tertiary);
box-shadow: shadow("focus"); box-shadow: shadow("focus");

Datei anzeigen

@ -8,12 +8,12 @@
position: absolute; position: absolute;
background-color: black; background-color: black;
opacity: 0.8; opacity: 0.8;
z-index: z("modal","overlay"); z-index: z("modal", "overlay");
} }
.d-editor-modals { .d-editor-modals {
position: absolute; position: absolute;
z-index: z("modal","content"); z-index: z("modal", "content");
} }
.d-editor { .d-editor {
@ -171,7 +171,7 @@
resize: vertical; resize: vertical;
flex: initial; flex: initial;
} }
textarea { textarea {
min-height: calc(200px - 32px); min-height: calc(200px - 32px);
} }
@ -205,11 +205,11 @@
.wizard-composer-hyperlink-contents { .wizard-composer-hyperlink-contents {
background-color: $secondary; background-color: $secondary;
padding: 20px; padding: 20px;
h3 { h3 {
margin-top: 0; margin-top: 0;
} }
.composer-link-url, .composer-link-url,
.composer-link-name { .composer-link-name {
display: block; display: block;
@ -217,7 +217,8 @@
} }
} }
.hide-hyperlink-box, .add-link { .hide-hyperlink-box,
.add-link {
display: inline; display: inline;
} }
@ -231,7 +232,7 @@
.bottom-bar { .bottom-bar {
display: flex; display: flex;
justify-content:space-between; justify-content: space-between;
margin-top: 20px; margin-top: 20px;
align-items: center; align-items: center;
} }

Datei anzeigen

@ -3,65 +3,66 @@
.event-form { .event-form {
width: 585px; width: 585px;
max-width: 80vw; max-width: 80vw;
.control { .control {
display: inline-flex; display: inline-flex;
align-items: flex-start; align-items: flex-start;
min-height: 30px; min-height: 30px;
margin-right: 20px; margin-right: 20px;
> input:first-child { > input:first-child {
margin-top: 10px !important; margin-top: 10px !important;
} }
> span:first-child { > span:first-child {
margin-top: 5px !important; margin-top: 5px !important;
} }
> input + span { > input + span {
margin-top: 5px; margin-top: 5px;
} }
&:last-of-type { &:last-of-type {
margin-right: 0; margin-right: 0;
} }
input[type="checkbox"] { input[type="checkbox"] {
margin: 0 10px 0 0; margin: 0 10px 0 0;
} }
input[type="number"] { input[type="number"] {
width: 50px; width: 50px;
margin: 0; margin: 0;
min-height: 34px; min-height: 34px;
border: 1px solid #e9e9e9; border: 1px solid #e9e9e9;
} }
&.full-width { &.full-width {
flex: 1; flex: 1;
} }
.select-kit, .ac-wrap { .select-kit,
.ac-wrap {
width: 100% !important; width: 100% !important;
max-width: 330px; max-width: 330px;
} }
.select-kit-body { .select-kit-body {
width: 100% !important; width: 100% !important;
max-width: 330px; max-width: 330px;
} }
} }
.event-controls { .event-controls {
margin-bottom: 20px; margin-bottom: 20px;
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
} }
.datetime-controls { .datetime-controls {
display: flex; display: flex;
margin-bottom: 5px; margin-bottom: 5px;
.date-time-card { .date-time-card {
width: 270px; width: 270px;
display: inline-block; display: inline-block;
@ -76,9 +77,18 @@
.end-card { .end-card {
border-left: 1px solid #eee; border-left: 1px solid #eee;
padding-left: 20px; padding-left: 20px;
&.disabled { &.disabled {
span, label, .pika-label, .pika-table th, .pika-button, .pika-prev, .pika-next, input, .pika-lendar, .is-selected .pika-button { span,
label,
.pika-label,
.pika-table th,
.pika-button,
.pika-prev,
.pika-next,
input,
.pika-lendar,
.is-selected .pika-button {
color: var(--primary-low); color: var(--primary-low);
background-image: initial; background-image: initial;
background: initial; background: initial;
@ -86,8 +96,9 @@
cursor: default; cursor: default;
pointer-events: none; pointer-events: none;
} }
input, .pika-lendar { input,
.pika-lendar {
border: 1px solid var(--primary-low) !important; border: 1px solid var(--primary-low) !important;
} }
} }
@ -122,7 +133,7 @@
width: 127px; width: 127px;
} }
} }
input { input {
padding: 4px 10px; padding: 4px 10px;
font-size: 1em; font-size: 1em;
@ -134,7 +145,7 @@
margin: 10px 0; margin: 10px 0;
} }
} }
#date-container-start, #date-container-start,
#date-container-end { #date-container-end {
height: 250px; height: 250px;
@ -161,16 +172,15 @@
} }
.rsvp-controls { .rsvp-controls {
.rsvp-container { .rsvp-container {
display: flex; display: flex;
flex-flow: wrap; flex-flow: wrap;
margin-top: 10px; margin-top: 10px;
.control span { .control span {
margin-right: 10px; margin-right: 10px;
} }
.full-width { .full-width {
align-items: flex-start; align-items: flex-start;
} }
@ -196,7 +206,7 @@ $pd-title-bg: var(--secondary) !default;
$pd-picker-bg: var(--secondary) !default; $pd-picker-bg: var(--secondary) !default;
$pd-picker-border: var(--primary-low) !default; $pd-picker-border: var(--primary-low) !default;
$pd-picker-border-bottom: var(--primary-low) !default; $pd-picker-border-bottom: var(--primary-low) !default;
$pd-picker-shadow: rgba(0,0,0,.5) !default; $pd-picker-shadow: rgba(0, 0, 0, 0.5) !default;
$pd-th-color: var(--primary) !default; $pd-th-color: var(--primary) !default;
$pd-day-color: var(--primary) !default; $pd-day-color: var(--primary) !default;
$pd-day-bg: var(--secondary) !default; $pd-day-bg: var(--secondary) !default;
@ -212,289 +222,293 @@ $pd-week-color: var(--primary) !default;
// Font // Font
$pd-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default; $pd-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
.pika-single { .pika-single {
z-index: 9999; z-index: 9999;
display: block; display: block;
position: relative; position: relative;
color: $pd-text-color; color: $pd-text-color;
background: $pd-picker-bg; background: $pd-picker-bg;
border: 1px solid $pd-picker-border; border: 1px solid $pd-picker-border;
border-bottom-color: $pd-picker-border-bottom; border-bottom-color: $pd-picker-border-bottom;
font-family: $pd-font-family; font-family: $pd-font-family;
&.is-hidden { &.is-hidden {
display: none; display: none;
} }
&.is-bound { &.is-bound {
position: absolute; position: absolute;
box-shadow: 0 5px 15px -5px $pd-picker-shadow; box-shadow: 0 5px 15px -5px $pd-picker-shadow;
} }
} }
// clear child float (pika-lendar), using the famous micro clearfix hack // clear child float (pika-lendar), using the famous micro clearfix hack
// http://nicolasgallagher.com/micro-clearfix-hack/ // http://nicolasgallagher.com/micro-clearfix-hack/
.pika-single { .pika-single {
&:before, &:before,
&:after { &:after {
content: " "; content: " ";
display: table; display: table;
} }
&:after { clear: both } &:after {
clear: both;
}
} }
.pika-lendar { .pika-lendar {
float: left; float: left;
width: 240px; width: 240px;
margin: 8px; margin: 8px;
} }
.pika-title { .pika-title {
position: relative; position: relative;
text-align: center; text-align: center;
select { select {
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
z-index: 9998; z-index: 9998;
margin: 0; margin: 0;
left: 0; left: 0;
top: 5px; top: 5px;
filter: alpha(opacity=0); filter: alpha(opacity=0);
opacity: 0; opacity: 0;
} }
} }
.pika-label { .pika-label {
display: inline-block; display: inline-block;
position: relative; position: relative;
z-index: 9999; z-index: 9999;
overflow: hidden; overflow: hidden;
margin: 0; margin: 0;
padding: 5px 3px; padding: 5px 3px;
font-size: 14px; font-size: 14px;
line-height: 20px; line-height: 20px;
font-weight: bold; font-weight: bold;
color: $pd-title-color; color: $pd-title-color;
background-color: $pd-title-bg; background-color: $pd-title-bg;
} }
.pika-prev, .pika-prev,
.pika-next { .pika-next {
display: block; display: block;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
outline: none; outline: none;
border: 0; border: 0;
padding: 0; padding: 0;
width: 20px; width: 20px;
height: 30px; height: 30px;
text-indent: 20px; // hide text using text-indent trick, using width value (it's enough) text-indent: 20px; // hide text using text-indent trick, using width value (it's enough)
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
background-color: transparent; background-color: transparent;
background-position: center center; background-position: center center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 75% 75%; background-size: 75% 75%;
opacity: .5; opacity: 0.5;
@if (lightness($secondary) < 50) { // invert the black png if the background is dark @if (lightness($secondary) < 50) {
filter: invert(1); // invert the black png if the background is dark
} filter: invert(1);
}
&:hover { &:hover {
opacity: 1; opacity: 1;
} }
&.is-disabled { &.is-disabled {
cursor: default; cursor: default;
opacity: .2; opacity: 0.2;
} }
} }
.pika-prev, .pika-prev,
.is-rtl .pika-next { .is-rtl .pika-next {
float: left; float: left;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg=='); background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==");
} }
.pika-next, .pika-next,
.is-rtl .pika-prev { .is-rtl .pika-prev {
float: right; float: right;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII='); background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=");
} }
.pika-select { .pika-select {
display: inline-block; display: inline-block;
} }
.pika-table { .pika-table {
width: 100%; width: 100%;
border-collapse: collapse; border-collapse: collapse;
border-spacing: 0; border-spacing: 0;
border: 0; border: 0;
th, th,
td { td {
width: 14.285714285714286%; width: 14.285714285714286%;
padding: 0; padding: 0;
} }
th { th {
color: $pd-th-color; color: $pd-th-color;
font-size: 12px; font-size: 12px;
line-height: 25px; line-height: 25px;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
} }
abbr { abbr {
border-bottom: none; border-bottom: none;
cursor: help; cursor: help;
} }
} }
.pika-button { .pika-button {
cursor: pointer; cursor: pointer;
display: block; display: block;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
outline: none; outline: none;
border: 0; border: 0;
margin: 0; margin: 0;
width: 100%; width: 100%;
padding: 5px; padding: 5px;
color: $pd-day-color; color: $pd-day-color;
font-size: 12px; font-size: 12px;
line-height: 15px; line-height: 15px;
text-align: right; text-align: right;
background: $pd-day-bg; background: $pd-day-bg;
.is-today & { .is-today & {
color: $pd-day-today-color; color: $pd-day-today-color;
font-weight: bold; font-weight: bold;
} }
.is-selected & { .is-selected & {
color: $pd-day-selected-color; color: $pd-day-selected-color;
font-weight: bold; font-weight: bold;
background: $pd-day-selected-bg; background: $pd-day-selected-bg;
box-shadow: inset 0 1px 3px $pd-day-selected-shadow; box-shadow: inset 0 1px 3px $pd-day-selected-shadow;
border-radius: 3px; border-radius: 3px;
} }
.is-disabled &, .is-disabled &,
.is-outside-current-month & { .is-outside-current-month & {
pointer-events: none; pointer-events: none;
cursor: default; cursor: default;
color: $pd-day-disabled-color; color: $pd-day-disabled-color;
opacity: .3; opacity: 0.3;
} }
&:hover { &:hover {
color: $pd-day-hover-color; color: $pd-day-hover-color;
background: $pd-day-hover-bg; background: $pd-day-hover-bg;
box-shadow: none; box-shadow: none;
border-radius: 3px; border-radius: 3px;
} }
} }
.pika-week { .pika-week {
font-size: 11px; font-size: 11px;
color: $pd-week-color; color: $pd-week-color;
} }
.is-inrange .pika-button { .is-inrange .pika-button {
background: #D5E9F7; background: #d5e9f7;
} }
.is-startrange .pika-button { .is-startrange .pika-button {
color: var(--secondary); color: var(--secondary);
background: #6CB31D; background: #6cb31d;
box-shadow: none; box-shadow: none;
border-radius: 3px; border-radius: 3px;
} }
.is-endrange .pika-button { .is-endrange .pika-button {
color: var(--secondary); color: var(--secondary);
background: var(--tertiary); background: var(--tertiary);
box-shadow: none; box-shadow: none;
border-radius: 3px; border-radius: 3px;
} }
// timepicker // timepicker
.ui-timepicker-wrapper { .ui-timepicker-wrapper {
overflow-y: auto; overflow-y: auto;
max-height: 150px; max-height: 150px;
width: 6.5em; width: 6.5em;
background: #fff; background: #fff;
border: 1px solid #ddd; border: 1px solid #ddd;
-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2); -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2); -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow:0 5px 10px rgba(0,0,0,0.2); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
outline: none; outline: none;
z-index: 10001; z-index: 10001;
margin: 0; margin: 0;
} }
.ui-timepicker-wrapper.ui-timepicker-with-duration { .ui-timepicker-wrapper.ui-timepicker-with-duration {
width: 13em; width: 13em;
} }
.ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-30, .ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-30,
.ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-60 { .ui-timepicker-wrapper.ui-timepicker-with-duration.ui-timepicker-step-60 {
width: 11em; width: 11em;
} }
.ui-timepicker-list { .ui-timepicker-list {
margin: 0; margin: 0;
padding: 0; padding: 0;
list-style: none; list-style: none;
} }
.ui-timepicker-duration { .ui-timepicker-duration {
margin-left: 5px; color: #888; margin-left: 5px;
color: #888;
} }
.ui-timepicker-list:hover .ui-timepicker-duration { .ui-timepicker-list:hover .ui-timepicker-duration {
color: #888; color: #888;
} }
.ui-timepicker-list li { .ui-timepicker-list li {
padding: 3px 0 3px 5px; padding: 3px 0 3px 5px;
cursor: pointer; cursor: pointer;
white-space: nowrap; white-space: nowrap;
color: #000; color: #000;
list-style: none; list-style: none;
margin: 0; margin: 0;
} }
.ui-timepicker-list:hover .ui-timepicker-selected { .ui-timepicker-list:hover .ui-timepicker-selected {
background: #fff; color: #000; background: #fff;
color: #000;
} }
li.ui-timepicker-selected, li.ui-timepicker-selected,
.ui-timepicker-list li:hover, .ui-timepicker-list li:hover,
.ui-timepicker-list .ui-timepicker-selected:hover { .ui-timepicker-list .ui-timepicker-selected:hover {
background: #1980EC; color: #fff; background: #1980ec;
color: #fff;
} }
li.ui-timepicker-selected .ui-timepicker-duration, li.ui-timepicker-selected .ui-timepicker-duration,
.ui-timepicker-list li:hover .ui-timepicker-duration { .ui-timepicker-list li:hover .ui-timepicker-duration {
color: #ccc; color: #ccc;
} }
.ui-timepicker-list li.ui-timepicker-disabled, .ui-timepicker-list li.ui-timepicker-disabled,
.ui-timepicker-list li.ui-timepicker-disabled:hover, .ui-timepicker-list li.ui-timepicker-disabled:hover,
.ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled { .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
color: #888; color: #888;
cursor: default; cursor: default;
} }
.ui-timepicker-list li.ui-timepicker-disabled:hover, .ui-timepicker-list li.ui-timepicker-disabled:hover,
.ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled { .ui-timepicker-list li.ui-timepicker-selected.ui-timepicker-disabled {
background: #f2f2f2; background: #f2f2f2;
} }

Datei anzeigen

@ -1,14 +1,14 @@
.custom-wizard { .custom-wizard {
.wizard-field { .wizard-field {
margin-bottom: 1em; margin-bottom: 1em;
.field-label { .field-label {
font-weight: 800; font-weight: 800;
} }
.field-image { .field-image {
margin-bottom: 0.5em; margin-bottom: 0.5em;
img { img {
max-width: 100%; max-width: 100%;
max-height: 150px; max-height: 150px;
@ -31,9 +31,12 @@
margin: 0 5px; margin: 0 5px;
} }
} }
&.invalid { &.invalid {
textarea, input[type=text], input[type=checkbox], .select-kit { textarea,
input[type="text"],
input[type="checkbox"],
.select-kit {
outline: 4px solid var(--danger); outline: 4px solid var(--danger);
} }
} }
@ -43,7 +46,7 @@
display: flex; display: flex;
align-items: center; align-items: center;
&> .input-area { & > .input-area {
order: 0; order: 0;
margin: 15px 20px !important; margin: 15px 20px !important;
@ -54,12 +57,12 @@
} }
} }
&> label.field-label { & > label.field-label {
order: 1; order: 1;
font-weight: 400; font-weight: 400;
} }
&> .field-description { & > .field-description {
margin-top: 0; margin-top: 0;
order: 2; order: 2;
} }
@ -83,7 +86,7 @@
} }
} }
.wizard-image-preview { .wizard-image-preview {
margin-top: 10px; margin-top: 10px;
max-width: 500px; max-width: 500px;
max-height: 500px; max-height: 500px;
@ -155,8 +158,8 @@
.select-kit.combo-box.group-dropdown { .select-kit.combo-box.group-dropdown {
min-width: 220px; min-width: 220px;
} }
.text-field input { .text-field input {
margin-bottom: 0; margin-bottom: 0;
} }
} }

Datei anzeigen

@ -49,7 +49,7 @@
border-left: 1px solid var(--primary-low); border-left: 1px solid var(--primary-low);
padding-left: 20px; padding-left: 20px;
} }
.control-group { .control-group {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
@ -72,7 +72,8 @@
} }
} }
input.input-location, div.input-location { input.input-location,
div.input-location {
max-height: 150px; max-height: 150px;
background-color: var(--secondary); background-color: var(--secondary);
box-shadow: none; box-shadow: none;
@ -111,7 +112,8 @@ input.input-location, div.input-location {
top: 30px !important; top: 30px !important;
box-sizing: border-box; box-sizing: border-box;
li, .no-results { li,
.no-results {
padding: 10px; padding: 10px;
} }
@ -128,7 +130,8 @@ input.input-location, div.input-location {
background-color: var(--secondary); background-color: var(--secondary);
display: flex; display: flex;
&:hover, &.selected { &:hover,
&.selected {
background-color: var(--tertiary); background-color: var(--tertiary);
color: white; color: white;
@ -185,4 +188,4 @@ input.input-location, div.input-location {
text-align: center; text-align: center;
color: #919191; color: #919191;
} }
} }

Datei anzeigen

@ -11,7 +11,7 @@
.wizard-step-title { .wizard-step-title {
flex: 0; flex: 0;
p { p {
margin: 0 0 0.5em 0; margin: 0 0 0.5em 0;
} }
@ -70,7 +70,7 @@
img.large { img.large {
width: 150; width: 150;
padding: 25px;; padding: 25px;
} }
img.small { img.small {
@ -110,7 +110,7 @@
max-height: initial; max-height: initial;
width: 100%; width: 100%;
} }
.wizard-progress { .wizard-progress {
.screen { .screen {
background-color: var(--tertiary); background-color: var(--tertiary);
@ -119,7 +119,7 @@
.step-message { .step-message {
text-align: center; text-align: center;
transition: all .2s; transition: all 0.2s;
z-index: 2; z-index: 2;
padding: 20px; padding: 20px;
@ -137,15 +137,15 @@
background-color: var(--danger); background-color: var(--danger);
color: var(--secondary); color: var(--secondary);
} }
.text { .text {
display: inline-block; display: inline-block;
} }
.reset-wizard { .reset-wizard {
margin-top: 20px; margin-top: 20px;
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
} }
} }
} }

Datei anzeigen

@ -1,7 +1,7 @@
.similar-topics-validator { .similar-topics-validator {
position: relative; position: relative;
display: flex; display: flex;
label { label {
min-height: 20px; min-height: 20px;
} }
@ -9,7 +9,7 @@
.wizard-similar-topics { .wizard-similar-topics {
margin-left: 3px; margin-left: 3px;
ul { ul {
background-color: var(--tertiary-low); background-color: var(--tertiary-low);
padding: 5px; padding: 5px;
@ -22,19 +22,19 @@
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
z-index: 100; z-index: 100;
.title { .title {
color: var(--primary); color: var(--primary);
} }
.blurb { .blurb {
margin-left: 0.5em; margin-left: 0.5em;
color: var(--primary-high); color: var(--primary-high);
font-size: $font-down-1; font-size: $font-down-1;
} }
} }
.show-topics { .show-topics {
cursor: pointer; cursor: pointer;
} }
} }

Datei anzeigen

@ -2,24 +2,26 @@
background-color: var(--secondary); background-color: var(--secondary);
color: var(--primary); color: var(--primary);
font-size: 1.1em; font-size: 1.1em;
.wizard-column { .wizard-column {
background-color: var(--secondary); background-color: var(--secondary);
.wizard-field .input-area { .wizard-field .input-area {
margin: 0.5em 0; margin: 0.5em 0;
} }
.wizard-column-contents h1 { .wizard-column-contents h1 {
margin: 0 margin: 0;
} }
.wizard-footer { .wizard-footer {
background-color: var(--secondary); background-color: var(--secondary);
} }
} }
.wizard-buttons > a, .wizard-buttons > button, .spinner { .wizard-buttons > a,
.wizard-buttons > button,
.spinner {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
@ -27,25 +29,25 @@
.spinner.small { .spinner.small {
margin-right: 10px; margin-right: 10px;
} }
.wizard-column .wizard-btn { .wizard-column .wizard-btn {
color: var(--primary); color: var(--primary);
background: var(--primary-low); background: var(--primary-low);
cursor: pointer; cursor: pointer;
&.primary, &.primary,
&.next { &.next {
color: var(--secondary); color: var(--secondary);
background: var(--tertiary); background: var(--tertiary);
} }
} }
.wizard-column .wizard-step-footer button.wizard-btn.done, .wizard-column .wizard-step-footer button.wizard-btn.done,
.wizard-column .wizard-step-footer button.wizard-btn.finish { .wizard-column .wizard-step-footer button.wizard-btn.finish {
color: var(--secondary); color: var(--secondary);
background-color: var(--success); background-color: var(--success);
} }
.wizard-column .action-link { .wizard-column .action-link {
color: var(--tertiary); color: var(--tertiary);
} }
@ -59,7 +61,7 @@
/* IE11 hacks */ /* IE11 hacks */
@media all and (-ms-high-contrast:none) { @media all and (-ms-high-contrast: none) {
.custom-wizard { .custom-wizard {
div.wizard-step-contents { div.wizard-step-contents {
display: block; display: block;
@ -69,4 +71,4 @@
visibility: hidden; visibility: hidden;
} }
} }
} }