silverstripe-userforms/css/UserForm.css

58 lines
1021 B
CSS
Raw Normal View History

2015-08-06 04:19:05 +02:00
/**
* Lightweight base styles for the front-end form.
*/
2015-08-12 02:50:14 +02:00
.userform-progress .progress {
position: relative;
height: 1em;
background: #eee;
}
2015-08-14 00:45:25 +02:00
.userform-progress .progress-bar {
2015-08-12 02:50:14 +02:00
position: absolute;
height: 1em;
background: #666;
2015-08-06 04:19:05 +02:00
}
2015-08-10 03:28:06 +02:00
.userform-progress .step-buttons {
2015-08-12 02:50:14 +02:00
margin-left: 0;
position: relative;
2015-08-10 03:28:06 +02:00
}
2015-08-14 00:45:25 +02:00
.userform-progress .step-button-wrapper {
2015-08-12 02:50:14 +02:00
display: inline-block;
list-style-type: none;
2015-08-10 03:28:06 +02:00
}
2015-08-17 01:06:56 +02:00
.userform-progress .step-button-wrapper.viewed .step-button-jump {
opacity: 1;
2015-08-14 00:45:25 +02:00
}
2015-08-12 02:50:14 +02:00
.userform-progress .step-button-jump {
position: absolute;
top: 0;
2015-08-17 01:06:56 +02:00
opacity: .7;
2015-08-06 04:19:05 +02:00
}
2015-08-12 02:50:14 +02:00
.step-navigation .step-buttons {
margin-left: 0;
2015-08-06 04:19:05 +02:00
}
2015-08-14 00:45:25 +02:00
.step-navigation .step-button-wrapper {
2015-08-12 02:50:14 +02:00
display: inline-block;
list-style-type: none;
2015-08-06 04:19:05 +02:00
}
.userform {
2015-08-12 02:50:14 +02:00
clear: both;
2015-08-14 00:45:25 +02:00
width: 100%;
max-width: 100%;
2015-08-06 04:19:05 +02:00
}
2015-08-17 01:06:56 +02:00
.userformsgroup {
border: 1px solid #ccc;
border-radius: 4px;
padding: 8px;
margin-top: 12px;
margin-bottom: 12px;
}
.userformsgroup legend {
padding-left: 4px;
padding-right: 4px;
border: 0;
width: auto;
}