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

190 lines
4.3 KiB
CSS
Raw Normal View History

2015-07-04 04:57:06 +00:00
/* Styles for form submission view (/forms/:formID) */
form .row.field {
padding: 1em 0 3em 0;
}
form .row.field > .field-title {
margin-top:0.5em;
font-size:1.5em;
}
form.submission-form .row.field.statement > .field-title {
font-size:1.7em;
}
form.submission-form .row.field.statement > .field-input {
font-size:1.2em;
color:#ddd;
}
form.submission-form .row.field > .field-input input {
width:500px;
}
form.submission-form .row.field .field-input > input:focus {
font-size:1em;
}
form .row.field.textfield > .field-input > input{
padding:0.45em 0.9em;
width:600px;
}
2015-07-06 04:29:05 +00:00
div.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);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
width: 90%;
}
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;
/*padding-left: 1em;*/
}
2015-07-06 04:29:05 +00:00
div.config-form .row > .field-input {
2015-07-04 04:57:06 +00:00
padding-top:1.2em;
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: 0px;
margin-bottom: 40px;
}
.admin-form > .page-header h1 {
margin-bottom: 0px
}
.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;
}
.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-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;
}
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-07-02 02:49:35 +00:00
.status-light {
padding-left:0.6em;
}
.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) */
section > section.ng-scope {
padding: 0 60px 20px 60px;
}
2015-06-30 08:54:00 +00:00
.form-item.row {
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;
width: 180px;
height: 215px;
2015-07-02 02:49:35 +00:00
margin-bottom: 45px;
2015-06-29 22:51:29 +00:00
}
2015-06-30 08:54:00 +00:00
.form-item.row.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-06-30 08:54:00 +00:00
.form-item.row:hover, .form-item.row.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-06-30 08:54:00 +00:00
.form-item.row.create-new:hover {
2015-06-30 10:00:23 +00:00
/*color: #eee;*/
background-color: rgb(81,81,81);
2015-06-29 22:51:29 +00:00
}
2015-06-30 08:54:00 +00:00
.form-item.row > .title-row{
position: relative;
top: 15px;
padding-top:3em;
padding-bottom:3.65em;
2015-06-29 22:51:29 +00:00
}
2015-06-30 08:54:00 +00:00
.form-item.row > .title-row h4 {
font-size: 1.3em;
}
2015-06-29 22:51:29 +00:00
2015-06-30 08:54:00 +00:00
.form-item.row.create-new > .title-row{
padding: 0;
/*margin-top:1em; */
2015-06-29 22:51:29 +00:00
}
2015-06-30 08:54:00 +00:00
.form-item.row.create-new > .title-row h4 {
font-size: 7em;
}
2015-06-29 22:51:29 +00:00
2015-06-30 08:54:00 +00:00
.form-item.row > .details-row{
margin-top: 3.2em;
2015-06-29 22:51:29 +00:00
}
2015-06-30 08:54:00 +00:00
.form-item.row > .details-row small {
font-size: 0.65em;
}
.form-item.row.create-new > .details-row small {
font-size: 0.95em;
}