discourse/app/assets/stylesheets/wizard.scss

366 lines
5.6 KiB
SCSS
Raw Normal View History

@import "vendor/normalize";
@import "vendor/font_awesome/font-awesome";
@import "vendor/select2";
body.wizard {
2016-08-25 13:14:56 -04:00
background-color: #fff;
background-image: url('/images/wizard/bubbles.png');
background-repeat: repeat;
background-position: left top;
2016-08-25 13:14:56 -04:00
color: #444;
line-height: 1.4em;
}
.select {
width: 400px;
}
2016-09-02 11:42:14 -04:00
.select2-results .select2-highlighted {
background: #ff9;
}
.wizard-canvas {
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
.wizard-column {
position: relative;
z-index: 11;
background-color: white;
box-shadow: 0 5px 10px rgba(0,0,0,0.2);
box-sizing: border-box;
2016-08-25 13:14:56 -04:00
margin: 1.5em auto;
padding: 0;
max-width: 700px;
min-width: 280px;
width: 100%;
border: 1px solid #ccc;
.wizard-step-contents {
min-height: 460px;
}
.wizard-column-contents {
2016-08-25 13:14:56 -04:00
padding: 1.2em;
h1 {
2016-08-25 13:14:56 -04:00
margin: 0 0 1em 0;
}
}
.wizard-step-description {
margin-bottom: 2em;
}
.wizard-footer {
border-top: 1px solid #ccc;
background-color: #eee;
padding: 0.5em;
img.logo {
height: 30px;
}
}
.wizard-progress {
.text {
font-size: 0.8em;
}
2016-08-25 13:14:56 -04:00
.bar-container {
border: 1px solid #ff6600;
border-radius: 3px;
height: 0.5em;
width: 15em;
.bar-contents {
background-color: #ff6600;
width: 0;
height: 0.5em;
transition: width .3s;
}
}
}
.action-link {
margin-right: 1em;
text-decoration: none;
color: #6699ff;
}
2016-09-08 16:58:07 -04:00
.wizard-btn {
border-radius: 2px;
font-size: 1.0em;
border: 0px;
padding: 0.5em;
outline: 0;
transition: background-color .3s;
margin-right: 0.5em;
background-color: #fff;
color: #333;
box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
2016-09-13 15:14:17 -04:00
&.small {
padding: 0.25em 0.5em;
font-size: 0.9em;
}
2016-09-08 16:58:07 -04:00
&:hover {
background-color: #eee;
}
&:active {
background-color: #ddd;
}
&:disabled {
background-color: #ccc;
}
&.disabled {
background-color: #ccc;
}
i.fa-chevron-right {
margin-left: 0.25em;
font-size: 0.8em;
}
i.fa-chevron-left {
margin-right: 0.25em;
font-size: 0.8em;
}
}
2016-09-13 15:14:17 -04:00
.wizard-btn.primary {
background-color: #6699ff;
color: white;
box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
&:hover {
background-color: #80B3FF;
}
&:active {
background-color: #4D80E6;
}
&:disabled {
background-color: #000167;
}
}
.wizard-btn.danger {
background-color: #E60000;
color: white;
&:hover {
background-color: #CC0000;
}
&:active {
background-color: #B30000;
}
&:disabled {
background-color: #990000;
}
}
2016-09-08 16:58:07 -04:00
.wizard-btn-upload {
clear: both;
display: inline-block;
.fa {
margin-left: 0.5em;
}
}
2016-08-25 13:14:56 -04:00
.wizard-step-footer {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
2016-09-08 16:58:07 -04:00
.wizard-btn.next {
2016-08-25 13:14:56 -04:00
min-width: 70px;
i.fa-chevron-right {
margin-left: 0.25em;
font-size: 0.8em;
}
}
2016-09-08 16:58:07 -04:00
.wizard-btn.back {
2016-08-25 13:14:56 -04:00
background-color: #fff;
color: #333;
box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
&:hover {
background-color: #eee;
}
&:active {
background-color: #ddd;
}
&:disabled {
background-color: #ccc;
}
}
button.wizard-btn:last-child {
margin-right: 0;
}
button.wizard-btn.done {
2016-09-08 16:58:07 -04:00
color: #fff;
background-color: #33B333;
&:hover {
background-color: #4DCD4D;
}
&:active {
background-color: #66E666;
}
&:disabled {
background-color: #006700;
}
}
2016-08-25 13:14:56 -04:00
}
2016-09-08 16:58:07 -04:00
.wizard-image-row {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.wizard-image-preview {
img.field-logo-url {
max-height: 40px;
}
img.field-logo-small-url {
max-height: 40px;
max-width: 80px;
}
img.field-favicon-url {
max-height: 16px;
max-width: 16px;
}
img.field-apple-touch-icon-url {
max-height: 40px;
max-width: 40px;
}
padding: 0.1em;
border: 1px dotted #bbb;
}
2016-08-25 13:14:56 -04:00
.wizard-field {
label .label-value {
font-weight: bold;
}
.input-area {
margin-top: 0.5em;
}
.field-error-description {
color: red;
font-weight: bold;
}
.field-description {
color: #999;
margin-top: 0.5em;
2016-09-08 16:58:07 -04:00
a {
color: #7B68EE;
}
}
2016-09-13 15:14:17 -04:00
margin-bottom: 2em;
}
}
2016-08-25 13:14:56 -04:00
2016-09-13 15:14:17 -04:00
.text-field {
input {
width: 100%;
font-size: 1.2em;
padding: 6px;
border: 1px solid #ccc;
transition: border-color .5s;
outline: none;
}
2016-08-25 13:14:56 -04:00
2016-09-13 15:14:17 -04:00
&.invalid {
input {
padding: 3px;
border: 4px solid red;
border-radius: 3px;
}
}
}
2016-09-09 15:57:44 -04:00
.radio-field-choice {
margin-bottom: 1.5em;
input {
outline: 0;
}
.radio-label {
font-weight: bold;
margin-left: 0.5em;
}
.radio-description {
margin-top: 0.25em;
margin-left: 1.75em;
color: #777;
}
}
2016-09-13 15:14:17 -04:00
.invite-list {
.users-list {
margin-bottom: 1em;
.invite-list-user {
display: flex;
flex-direction: row;
justify-content: space-between;
margin-bottom: 1em;
.email {
width: 330px;
}
.role {
width: 200px;
}
}
}
.new-user {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-bottom: 1em;
.invite-email {
width: 350px;
}
}
button.add-user {
.fa {
margin-right: 0.5em;
}
}
}