Files
fuelux/assets/css/formbuilder.css
Christopher McCulloh aca130dbb2 fixes drag-helper
2015-12-02 16:07:35 -05:00

134 lines
2.1 KiB
CSS

body {
position: relative;
}
@media (max-width: 979px) {
body {
padding-top: 0px;
}
}
#components {
min-height: 500px;
}
#target fieldset {
border: 1px solid #ccc;
min-height: 200px;
padding: 5px;
padding-bottom: 30px;
}
.component {
cursor: pointer;
}
input {
cursor: pointer;
}
textarea {
resize: vertical;
}
.popover .control-group {
cursor: default;
}
.popover input {
cursor: text;
}
.popover-content label{
display: block;
}
.drag-helper-component{
width: 100%;
height: 100%;
background: transparent;
position: absolute;
z-index: 999999;
top: 0;
overflow-x: hidden;
left: 0;
}
.drag-helper-component form {
padding: 8px 4px;
border: 1px dotted #ccc;
position: absolute;
background: white;
box-shadow: 0px 0px 30px #999;
-webkit-transition: -webkit-transform 0.1s ease-out;
overflow: hidden;
}
/* TODO: remove .control-group target once all have been replaced with form-group */
.drag-helper-component form .control-group,
.drag-helper-component form .form-group {
width: 400px;
}
#render{
min-height: 500px;
font-family: monospace;
}
form.form-horizontal .form-group{
margin-left: 0;
margin-right: 0;
}
/* Popovers now are appended to their parent rather
than to the body/main document as they once were.
We need to over-ride some inherited stuff.. */
form .popover .controls {
margin-left: 0;
}
form .popover .control-label {
text-align: left;
}
form .popover form {
width: 224px;
}
.popover-content form .btn{
margin-right: 10px
}
.target:after{
float:left;
content: " ";
height: 77px;
margin-top: 3px;
background: #f0f0f0;
width: 100%;
border: 1px dashed #ccc;
}
#target, #input, #radioscheckboxes, #select, #buttons {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#target fieldset{
width: 100%;
overflow: hidden;
}
#formtabs li:last-child a{
background-color: #FEC;
color: #436078;
}
#formtabs li:last-child a:hover {
text-decoration: none;
background-color: #EEE;
}