silverstripe-userforms/client/src/styles/userforms.scss

90 lines
1.2 KiB
SCSS
Raw Normal View History

// Lightweight base styles for the front-end form.
2015-08-12 02:50:14 +02:00
.userform-progress {
.progress {
position: relative;
height: 1em;
background: $gray-200;
}
2015-08-12 02:50:14 +02:00
.progress-bar {
position: absolute;
height: 1em;
background: $gray-600;
}
2015-08-12 02:50:14 +02:00
.step-buttons {
margin-left: 0;
position: relative;
}
2015-08-14 00:45:25 +02:00
.step-button-wrapper {
display: inline-block;
list-style-type: none;
2015-08-12 02:50:14 +02:00
&.viewed .step-button-jump {
opacity: 1;
}
}
2015-08-12 02:50:14 +02:00
.step-button-jump {
position: absolute;
top: 0;
opacity: .7;
}
2015-08-12 02:50:14 +02:00
}
.step-navigation {
.step-buttons {
margin-left: 0;
}
2015-08-12 02:50:14 +02:00
.step-button-wrapper {
display: inline-block;
list-style-type: none;
}
2015-08-12 02:50:14 +02:00
}
.userform {
clear: both;
width: 100%;
max-width: 100%;
2015-08-20 23:29:20 +02:00
.hide {
display: none;
}
.field label.right {
color: $gray-800;
}
2015-08-12 02:50:14 +02:00
}
2015-08-17 01:06:56 +02:00
.userformsgroup {
border: 1px solid $gray-300;
border-radius: 4px;
padding: 8px;
margin-top: 12px;
margin-bottom: 12px;
2015-08-17 01:06:56 +02:00
> legend {
padding-left: 4px;
padding-right: 4px;
border: 0;
width: auto;
}
2015-08-17 01:06:56 +02:00
}
.right-title {
clear: both;
display: block;
}
.checkbox .right-title {
display: inline;
}
.userform .left {
margin-bottom: 5px;
font-weight: bold;
}