tellform/public/modules/forms/css/form.css

483 lines
10 KiB
CSS
Raw Normal View History

2015-08-18 21:44:36 +00:00
.panel-default.startPage {
border-style: dashed;
2015-08-20 18:47:25 +00:00
border-color: #a9a9a9;
2015-08-18 21:44:36 +00:00
border-width:3px;
}
2015-11-11 21:13:23 +00:00
.busy-updating-wrapper {
text-align: center;
font-size: 20px;
position: fixed;
bottom: 0;
right: 55px;
z-index: 1;
}
.busy-submitting-wrapper {
position: fixed;
top: 50%;
left: 0;
right: 0;
bottom: 0;
2015-11-11 21:13:23 +00:00
}
2016-04-12 02:14:38 +00:00
`
2015-10-30 21:40:22 +00:00
section.public-form {
margin-top: -70px;
}
section.content p.breakwords {
2015-08-18 21:44:36 +00:00
word-break: break-all;
}
.btn {
2015-08-20 18:47:25 +00:00
border: 1px solid #c6c6c6;
}
2015-07-28 22:29:07 +00:00
.btn[type='submit'] {
font-size: 1.5em;
padding: 0.35em 1.2em 0.35em 1.2em;
}
/*
** Modal CSS Styles
*/
.modal-header {
padding: 15px;
border-bottom: 1px solid #e5e5e5;
font-size: 18px;
font-weight: normal;
}
.input-block {
display: block;
width: 100%;
}
.modal-footer input[type='text'] {
min-height: 34px;
padding: 7px 8px;
font-size: 13px;
color: #333;
vertical-align: middle;
background-color: #fff;
background-repeat: no-repeat;
background-position: right 8px center;
border: 1px solid #ccc;
border-radius: 3px;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
}
.modal-footer input[type='text']:focus {
outline: none;
}
.modal-body > .modal-body-alert {
color: #796620;
background-color: #f8eec7;
border-color: #f2e09a;
margin: -16px -15px 15px;
padding: 10px 15px;
border-style: solid;
border-width: 1px 0;
}
2016-04-12 02:14:38 +00:00
div.form-fields {
position: relative;
margin-top: 25vh;
}
div.form-submitted > .field.row {
padding-bottom: 10%;
padding-top: 2%;
}
div.form-submitted > .field.row > div {
font-size: 1.7em;
}
/* Styles for accordion */
form .accordion-edit {
width: inherit;
}
2015-08-06 05:52:59 +00:00
/*Styles for ui-datepicker*/
.ui-datepicker.ui-widget {
z-index: 99!important;
}
2015-07-04 04:57:06 +00:00
/* Styles for form submission view (/forms/:formID) */
form .row.field {
2016-04-12 02:14:38 +00:00
padding: 1em 0 0em 0;
2015-11-01 02:37:24 +00:00
width: inherit;
2015-07-04 04:57:06 +00:00
}
form .row.field > .field-title {
margin-top:0.5em;
font-size:1.2em;
padding-bottom: 1.8em;
2015-11-01 02:37:24 +00:00
width: inherit;
}
form .row.field > .field-input {
font-size: 1.4em;
color: #777;
2015-07-04 04:57:06 +00:00
}
form.submission-form .row.field.statement > .field-title {
font-size:1.7em;
}
form.submission-form .row.field.statement > .field-input {
font-size:1em;
2015-07-04 04:57:06 +00:00
color:#ddd;
}
2015-07-27 18:11:43 +00:00
form.submission-form .select.radio > .field-input input, form.submission-form .select > .field-input input {
2015-07-27 18:11:43 +00:00
width:20%;
}
2015-08-06 05:52:59 +00:00
form.submission-form .field.row.radio .btn.activeBtn {
background-color: rgb(0,0,0)!important;
2015-08-06 05:52:59 +00:00
background-color: rgba(0,0,0,0.7)!important;
color: white;
}
form.submission-form .field.row.radio .btn {
margin-right:1.2em;
}
2015-07-27 18:11:43 +00:00
form.submission-form .select > .field-input .btn {
text-align: left;
margin-bottom:0.7em;
}
form.submission-form .select > .field-input .btn > span {
font-size: 1.10em;
}
2015-08-06 05:52:59 +00:00
/*form.submission-form .field-input > input:focus {
2015-07-27 18:11:43 +00:00
font-size:1em;
}*/
2015-08-06 05:52:59 +00:00
form .field-input > textarea{
padding: 0.45em 0.9em;
width: 100%;
line-height: 160%;
2015-10-30 21:40:22 +00:00
border: 3px dashed #ddd;
2015-07-27 18:11:43 +00:00
}
form .field-input > input.hasDatepicker{
padding: 0.45em 0.9em;
width: 50%;
line-height: 160%;
2015-10-30 21:40:22 +00:00
border: 3px dashed #ddd;
}
2015-08-06 05:52:59 +00:00
form .field-input > input.text-field-input{
padding: 0.45em 0.9em;
width: 100%;
line-height: 160%;
2015-11-06 01:22:16 +00:00
border: 2px dashed #ddd!important;
}
2015-08-06 05:52:59 +00:00
form .field-input > input.text-field-input:focus{
border: 0;
}
form .required-error{
color: #ddd;
font-size:0.8em;
}
form .row.field.dropdown > .field-input {
height: 34px;
overflow: hidden;
}
form .row.field.dropdown > .field-input > select{
padding:0.45em 0.9em;
width:100%;
background: transparent;
font-size: 16px;
border: 1px solid #ccc;
height: 34px;
2015-07-04 04:57:06 +00:00
}
2015-08-06 05:52:59 +00:00
.config-form {
max-width: 100%;
}
2015-07-04 04:57:06 +00:00
2015-08-06 05:52:59 +00:00
.config-form > .row {
2015-07-04 04:57:06 +00:00
padding: 19px;
margin-bottom: 20px;
background-color: #f5f5f5;
border: 1px solid #e3e3e3;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
2015-07-04 04:57:06 +00:00
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}
2015-08-07 21:02:44 +00:00
div.config-form .row.field {
padding-top:1.5em;
}
2015-07-06 04:29:05 +00:00
div.config-form > .row > .container:nth-of-type(odd){
2015-07-04 04:57:06 +00:00
border-right: 1px #ddd solid;
2015-11-11 21:20:30 +00:00
}
div.config-form.design > .row > .container:nth-of-type(odd){
border-right: none;
2015-07-04 04:57:06 +00:00
}
2015-07-06 04:29:05 +00:00
div.config-form .row > .field-input {
2015-07-04 04:57:06 +00:00
padding-left:0.1em;
}
2015-07-06 04:29:05 +00:00
div.config-form .row > .field-input label {
2015-07-04 04:57:06 +00:00
padding-left:1.3em;
display: block;
}
2015-07-02 02:49:35 +00:00
/* Styles for form admin view (/forms/:formID/admin) */
.admin-form > .page-header {
padding-bottom: 0;
2015-07-02 02:49:35 +00:00
margin-bottom: 40px;
}
.admin-form > .page-header h1 {
margin-bottom: 0;
margin-top: 0;
2015-07-02 02:49:35 +00:00
}
.admin-form > .page-header > .col-xs-3 {
padding-top: 1.4em;
}
.admin-form .form-controls .row {
padding: 5px;
}
2015-07-03 23:47:14 +00:00
.admin-form .page-header {
border: none;
}
/*Styles for admin view tabs */
.admin-form .tab-content {
padding-top: 3em;
}
2015-07-02 02:49:35 +00:00
2015-07-04 03:25:25 +00:00
.admin-form .panel-heading {
background-color: #f1f1f1;
}
.admin-form .panel-heading:hover {
background-color: #fff;
cursor: pointer;
}
.admin-form .panel-heading a:hover {
text-decoration: none;
}
2015-08-06 05:52:59 +00:00
.current-fields .panel-body .row.question input[type='text'], .current-fields .panel-body .row.description textarea{
width: 100%;
}
.current-fields .panel-body .row.options input[type='text'] {
width: 80%;
}
.current-fields .tool-panel > .panel-default:hover {
border-color: #9d9d9d;
cursor: pointer;
}
.current-fields .tool-panel > .panel-default .panel-heading {
background-color: #fff;
color: #9d9d9d!important;
}
.current-fields .tool-panel > .panel-default .panel-heading:hover {
background-color: #eee;
color: #000!important;
cursor: pointer;
}
.current-fields .tool-panel > .panel-default .panel-heading a {
color: inherit;
}
.current-fields .tool-panel > .panel-default .panel-heading a:hover{
text-decoration: none;
}
2015-08-06 05:52:59 +00:00
/*Styles for submission table*/
.submissions-table .table-outer.row {
margin-top: 1.5em;
margin-bottom: 2em;
margin-left: 0!important;
margin-right: 0!important;
2015-08-06 05:52:59 +00:00
}
.submissions-table .table-outer .col-xs-12 {
padding-left: 0!important;
2015-08-06 05:52:59 +00:00
border:1px solid #ddd;
overflow-x: scroll;
border-radius:3px;
}
.submissions-table .table > thead > tr > th {
min-width:8em;
}
.submissions-table .table > tbody > tr.selected {
background-color:#efefef;
}
2015-07-04 04:57:06 +00:00
/*Styles for add fields tab*/
.admin-form .add-field {
2015-07-03 23:47:14 +00:00
background-color: #ddd;
padding: 0 2% 0 2%;
border-radius: 3px;
2015-07-03 23:47:14 +00:00
}
2015-07-04 04:57:06 +00:00
.admin-form .add-field .col-xs-6 {
padding: 0.25em 0.4em;
}
.admin-form .add-field .col-xs-6 .panel-heading {
border-width: 1px;
border-style: solid;
border-color: #bbb;
border-radius: 4px;
}
2015-06-29 22:51:29 +00:00
2015-10-30 18:40:02 +00:00
.admin-form .oscar-field-select {
margin: 10px 0 10px;
}
2015-08-06 05:52:59 +00:00
.view-form-btn.span {
padding-right:0.6em;
2015-07-02 02:49:35 +00:00
}
.status-light.status-light-off {
2015-07-06 04:29:05 +00:00
color: #BE0000;
2015-07-02 02:49:35 +00:00
}
.status-light.status-light-on {
2015-07-06 04:29:05 +00:00
color: #33CC00;
2015-07-02 02:49:35 +00:00
}
/* Styles for form list view (/forms) */
2015-07-27 18:11:43 +00:00
section > section.public-form {
2015-11-13 01:46:44 +00:00
padding: 0 10% 10%;
2015-07-27 18:11:43 +00:00
2015-07-02 02:49:35 +00:00
}
2015-08-06 05:52:59 +00:00
.form-item {
2015-06-30 08:54:00 +00:00
text-align: center;
2015-07-02 02:49:35 +00:00
border-bottom: 6px inset #ccc;
2015-06-30 08:54:00 +00:00
background-color: #eee;
2015-08-07 21:02:44 +00:00
width: 180px;
2015-08-06 05:52:59 +00:00
/*width:100%;*/
position: relative;
2015-08-07 21:02:44 +00:00
height: 215px;
/*padding-bottom: 25%;*/
2015-07-02 02:49:35 +00:00
margin-bottom: 45px;
2015-06-29 22:51:29 +00:00
}
2015-08-06 05:52:59 +00:00
.form-item.create-new input[type='text']{
2015-08-20 18:47:25 +00:00
width: inherit;
color:black;
border:none;
2015-08-06 05:52:59 +00:00
}
2015-06-29 22:51:29 +00:00
2015-08-06 05:52:59 +00:00
.form-item.create-new {
2015-07-01 23:14:39 +00:00
background-color: rgb(131,131,131);
2015-06-30 08:54:00 +00:00
color: white;
2015-06-29 22:51:29 +00:00
}
2015-08-20 18:47:25 +00:00
/*CREATE-NEW FORM MODAL*/
2015-08-06 05:52:59 +00:00
.form-item.create-new.new-form {
2015-07-07 01:21:43 +00:00
background-color: rgb(300,131,131);
z-index: 11;
}
2015-08-06 05:52:59 +00:00
.form-item.create-new.new-form:hover {
2015-07-07 01:21:43 +00:00
background-color: rgb(300,100,100);
}
2015-08-20 18:47:25 +00:00
.form-item.new-form input[type='text'] {
margin-top:0.2em;
width: inherit;
color:black;
border:none;
padding: 0.3em 0.6em 0.3em 0.6em;
}
.form-item.new-form .custom-select {
margin-top: 0.2em
}
.form-item.new-form .custom-select select {
background-color: white;
}
.form-item.new-form .details-row {
margin-top: 1em;
}
.form-item.new-form .details-row.submit {
margin-top: 1.7em;
}
.form-item.new-form .details-row.submit .btn {
font-size: 0.95em;
}
2015-07-07 01:21:43 +00:00
2015-08-20 18:47:25 +00:00
.form-item.new-form .title-row {
margin-top: 1em;
top:0;
2015-07-07 01:21:43 +00:00
}
2015-07-28 22:29:07 +00:00
/*Modal overlay (for lightbox effect)*/
.overlay {
2015-08-06 05:52:59 +00:00
position: fixed;
2015-07-28 22:29:07 +00:00
top: 0;
left: 0;
2015-08-06 05:52:59 +00:00
height: 100%;
2015-07-28 22:29:07 +00:00
width: 100%;
background-color: rgb(0,0,0);
2015-07-28 22:29:07 +00:00
background-color: rgba(0,0,0,0.5);
z-index: 10;
}
.overlay.submitform {
background-color: rgb(256,256,256);
background-color: rgba(256,256,256,0.8);
}
2015-08-06 05:52:59 +00:00
.field-directive {
z-index: 9;
padding: 10% 10% 10% 0;
2015-08-06 05:52:59 +00:00
border: 25px transparent solid;
position: relative;
}
.activeField {
z-index: 11;
position: relative;
background-color: transparent;
2016-04-12 02:14:38 +00:00
}
.activeField.field-directive {
display: inline-block;
2015-08-06 05:52:59 +00:00
border-radius: 7px;
2015-11-23 19:19:02 +00:00
width: 100%;
border: 25px transparent solid;
2015-08-06 05:52:59 +00:00
}
2015-11-23 19:19:02 +00:00
.activeField input {
background-color: transparent;
}
2015-07-07 01:21:43 +00:00
2015-08-06 05:52:59 +00:00
.form-item:hover, .form-item.create-new:hover {
2015-07-02 02:49:35 +00:00
border-bottom: 8px inset #ccc;
2015-06-30 10:00:23 +00:00
background-color: #d9d9d9;
2015-06-29 22:51:29 +00:00
}
2015-08-06 05:52:59 +00:00
.form-item.create-new:hover {
2015-06-30 10:00:23 +00:00
background-color: rgb(81,81,81);
2015-06-29 22:51:29 +00:00
}
2015-08-07 21:02:44 +00:00
.form-item > .row.footer {
position: absolute;
bottom: 0;
left: 30%;
}
.form-item .title-row{
2015-06-30 08:54:00 +00:00
position: relative;
top: 15px;
padding-top:3em;
padding-bottom:3.65em;
2015-06-29 22:51:29 +00:00
}
2015-08-07 21:02:44 +00:00
.form-item .title-row h4 {
2015-06-30 08:54:00 +00:00
font-size: 1.3em;
}
2015-06-29 22:51:29 +00:00
2015-08-07 21:02:44 +00:00
.form-item.create-new .title-row{
2015-06-30 08:54:00 +00:00
padding: 0;
2015-06-29 22:51:29 +00:00
}
2015-08-07 21:02:44 +00:00
.form-item.create-new .title-row h4 {
2015-06-30 08:54:00 +00:00
font-size: 7em;
}
2015-06-29 22:51:29 +00:00
2015-08-07 21:02:44 +00:00
.form-item .details-row{
2015-06-30 08:54:00 +00:00
margin-top: 3.2em;
2015-06-29 22:51:29 +00:00
}
2015-08-07 21:02:44 +00:00
.form-item .details-row small {
2015-07-07 01:21:43 +00:00
font-size: 0.6em;
2015-06-30 08:54:00 +00:00
}
2015-08-07 21:02:44 +00:00
.form-item.create-new .details-row small {
2015-06-30 08:54:00 +00:00
font-size: 0.95em;
2016-04-12 02:14:38 +00:00
}