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

425 lines
8.9 KiB
CSS
Raw Normal View History

.public-form.preview {
border: none;
box-shadow: 0px 0px 10px 0px grey;
overflow-y: scroll;
overflow-x: hidden;
height: 400px;
width: 90%;
position: absolute;
}
2016-04-21 23:48:59 +00:00
.public-form input, .public-form textarea {
2016-05-10 17:13:20 +00:00
background-color: #000000;
2016-04-21 22:27:54 +00:00
background-color: rgba(0,0,0,0);
2016-04-21 23:48:59 +00:00
border: 2px dashed #ddd!important;
}
.public-form input:focus, .public-form textarea:focus {
border: 2px dashed #ddd!important;
2017-06-27 17:30:15 +00:00
outline: 0;
2016-04-21 23:48:59 +00:00
}
2016-04-29 03:45:00 +00:00
/*.public-form input.no-border.ng-invalid, .public-form textarea.no-border {
border-color: none;
}*/
.public-form input.ng-valid, .public-form textarea.ng-valid {
border-color: #20FF20!important;
border-style: solid!important;
border-width: 3px!important;
2016-04-21 22:27:54 +00:00
}
2016-04-29 03:45:00 +00:00
.public-form input.ng-invalid.ng-dirty, .public-form textarea.ng-invalid.ng-dirty {
border-color: #FA787E!important;
border-style: solid!important;
border-width: 3px!important;
}
section.content p.breakwords {
2015-08-18 21:44:36 +00:00
word-break: break-all;
}
2016-08-25 23:33:10 +00:00
.public-form .btn {
2015-08-20 18:47:25 +00:00
border: 1px solid #c6c6c6;
}
2016-04-21 23:57:13 +00:00
2016-08-25 23:33:10 +00:00
.public-form .btn[type='submit'] {
2015-07-28 22:29:07 +00:00
font-size: 1.5em;
padding: 0.35em 1.2em 0.35em 1.2em;
}
2016-04-22 00:14:26 +00:00
section.content > section > section.container {
margin-top: 70px;
2016-04-21 23:57:13 +00:00
}
/*
** Modal CSS Styles
*/
.modal-header {
padding: 15px;
border-bottom: 1px solid #e5e5e5;
font-size: 18px;
font-weight: normal;
}
2016-08-25 23:33:10 +00:00
.public-form .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-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;
padding-top: 10%;
2016-04-12 02:14:38 +00:00
}
2016-08-25 23:33:10 +00:00
.public-form .letter {
2016-04-12 13:41:22 +00:00
position: relative;
display: -moz-inline-stack;
display: inline-block;
vertical-align: top;
zoom: 1;
width: 16px;
padding: 0;
height: 17px;
font-size: 12px;
line-height: 19px;
border: 1px solid #000;
border: 1px solid rgba(0,0,0,.2);
margin-right: 7px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
2016-04-17 02:45:17 +00:00
border-radius: 3px;
text-align: center;
2016-04-12 13:41:22 +00:00
font-weight: 700;
}
2016-04-12 02:14:38 +00:00
div.form-submitted > .field.row {
2016-04-21 17:01:40 +00:00
padding-bottom: 2%;
margin-top: 10%;
}
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;
}
2016-05-13 18:31:12 +00:00
form .row.field .field-number {
margin-right: 0.5em;
}
2015-07-04 04:57:06 +00:00
/* Styles for form submission view (/forms/:formID) */
form .row.field {
2016-04-17 02:45:17 +00:00
padding: 1em 0 0 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 {
2017-06-27 17:30:15 +00:00
background-color: #000!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-07-27 18:11:43 +00:00
}
form .field-input > input.hasDatepicker{
padding: 0.45em 0.9em;
width: 50%;
line-height: 160%;
}
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%;
}
form .required-error{
color: #ddd;
font-size:0.8em;
}
2016-04-20 06:28:03 +00:00
form .row.field.dropdown > .field-input input {
2017-03-07 00:38:37 +00:00
min-height: 34px;
2016-04-20 06:28:03 +00:00
border-width: 0 0 2px 0;
border-radius: 5px;
}
2016-04-20 17:09:06 +00:00
form .row.field.dropdown > .field-input input:focus {
border: none;
}
form .dropdown > .field-input .ui-select-choices-row-inner {
2016-04-20 06:28:03 +00:00
border-radius: 3px;
margin: 5px;
padding: 10px;
2016-05-10 17:13:20 +00:00
background-color: #000000;
2016-04-20 06:28:03 +00:00
background-color: rgba(0,0,0,0.05);
}
form .dropdown > .field-input .ui-select-choices-row-inner.active, form .dropdown > .field-input .ui-select-choices-row-inner.active:focus {
2016-05-10 17:13:20 +00:00
background-color: #000000;
background-color: rgba(0,0,0,0.1);
2015-07-04 04:57:06 +00:00
}
2015-07-04 03:25:25 +00:00
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%;
}
2016-05-20 19:41:18 +00:00
/*Override Select2 UI*/
.ui-select-choices.ui-select-dropdown {
top:2.5em!important;
}
.ui-select-toggle {
box-shadow:none!important;
border:none!important;
2016-05-20 04:38:05 +00:00
}
2015-08-06 05:52:59 +00:00
2015-07-02 02:49:35 +00:00
/* Styles for form list view (/forms) */
2016-04-21 23:48:59 +00:00
section.public-form {
padding: 0 10% 0 10%;
2016-04-21 23:48:59 +00:00
}
section.public-form .form-submitted {
height: 100%;
2016-04-21 23:48:59 +00:00
}
2015-07-27 18:11:43 +00:00
2016-04-21 23:48:59 +00:00
section.public-form .btn {
border: 1px solid;
2015-07-02 02:49:35 +00:00
}
2016-11-02 18:30:04 +00:00
2015-08-06 05:52:59 +00:00
.form-item {
2016-11-02 18:30:04 +00:00
border-radius: 5px;
2015-06-30 08:54:00 +00:00
text-align: center;
background-color: #eee;
2015-08-07 21:02:44 +00:00
width: 180px;
2015-08-06 05:52:59 +00:00
position: relative;
2015-08-07 21:02:44 +00:00
height: 215px;
2015-07-02 02:49:35 +00:00
margin-bottom: 45px;
2015-06-29 22:51:29 +00:00
}
2016-11-02 18:30:04 +00:00
.form-item.paused {
background-color: red;
color: white;
}
.form-item.paused:hover {
background-color: darkred;
color: white;
}
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 {
2016-11-02 18:30:04 +00:00
background-color: #3FA2F7;
2015-06-30 08:54:00 +00:00
color: white;
2015-06-29 22:51:29 +00:00
}
2016-11-02 18:30:04 +00:00
.form-item.create-new:hover {
background-color: #276496;
}
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 {
2017-06-27 17:30:15 +00:00
background-color: #832383;
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 {
2016-11-02 18:30:04 +00:00
background-color: #3079b5;
2015-07-07 01:21:43 +00:00
}
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%;
2017-06-27 17:30:15 +00:00
background-color: #000;
2015-07-28 22:29:07 +00:00
background-color: rgba(0,0,0,0.5);
z-index: 10;
}
.overlay.submitform {
2017-06-27 17:30:15 +00:00
background-color: #fff;
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;
}
2016-11-02 18:30:04 +00:00
h3.forms-list-title {
color: #3FA2F7;
2017-06-27 17:30:15 +00:00
font-weight: 600;
2016-11-02 18:30:04 +00:00
margin-bottom: 3em;
}
.form-item {
color: #71AADD;
background-color: #E4F1FD;
}
.form-item:hover {
background-color: #3FA2F7;
color: #23527C;
}
2015-07-07 01:21:43 +00:00
2016-11-02 18:30:04 +00:00
.form-item.create-new:hover {
2015-06-30 10:00:23 +00:00
background-color: #d9d9d9;
2016-11-02 18:30:04 +00:00
color: white;
2015-06-29 22:51:29 +00:00
}
2015-08-06 05:52:59 +00:00
.form-item.create-new:hover {
2017-06-27 17:30:15 +00:00
background-color: #515151;
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%;
}
2016-11-02 18:30:04 +00:00
.form-item .title-row {
2015-06-30 08:54:00 +00:00
position: relative;
top: 15px;
padding-top:3em;
2016-11-02 18:30:04 +00:00
padding-bottom:1em;
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
}