seitime-frappe/frappe/public/css/form_grid.css
2016-07-08 14:33:29 +05:30

185 lines
3.6 KiB
CSS

.form-grid {
border: 1px solid #d1d8dd;
border-radius: 3px;
}
.grid-heading-row {
border-bottom: 1px solid #d1d8dd;
background-color: #F7FAFC;
font-weight: bold;
}
.grid-row {
border-bottom: 1px solid #d1d8dd;
-webkit-transition: 0.2s;
-o-transition: 0.2s;
transition: 0.2s;
}
.grid-row:last-child {
border: none;
}
.rows .grid-row .data-row,
.rows .grid-row .grid-footer-toolbar,
.grid-form-heading {
cursor: pointer;
}
.data-row.row {
margin: 0px;
}
.data-row textarea {
height: 40px;
}
.grid-body {
background-color: #fff;
}
.form-grid .data-row {
padding: 10px 15px;
}
.form-grid .data-row.highlight {
background-color: #fffdf4;
}
.form-grid .data-row.sortable-handle {
cursor: move;
}
.grid-body .data-row {
font-size: 12px;
}
.grid-empty,
.list-loading {
padding: 10px 15px;
color: #d1d8dd;
}
.grid-static-col {
max-height: 200px;
overflow: hidden;
}
.row-index {
text-align: right;
width: 30px;
margin-left: -15px;
margin-top: 1px;
float: left;
}
.grid-row > .row {
margin-right: 15px !important;
}
.grid-row > .row .col {
padding-left: 10px;
padding-right: 0px;
}
.grid-body .btn-open-row {
margin-top: -3px;
}
.grid-body .editable-row {
padding: 0px 10px;
margin-bottom: -1px;
}
.grid-body .editable-row .row-index {
margin-top: 7px;
}
.grid-body .editable-row .btn-open-row {
margin: -10px -4px;
padding: 15px 6px;
margin-right: -20px;
}
.grid-body .editable-row .checkbox {
margin: 0px;
margin-right: -7px;
text-align: center;
}
.grid-body .editable-row textarea {
height: none;
}
.grid-body .editable-row .field-area {
margin-right: -11px;
margin-top: -1px;
}
.grid-body .editable-row .form-control {
border-radius: 0px;
padding-top: 9px;
padding-bottom: 9px;
height: 38px;
}
.grid-body .editable-row .form-control:focus {
border-color: #8D99A6;
z-index: 2;
}
.grid-body .editable-row .has-error .form-control {
z-index: 1;
}
.grid-body .editable-row .has-error .form-control:focus {
border-color: #ff5858;
}
.grid-body .editable-row .form-control[disabled],
.grid-body .editable-row .form-control[readonly],
.grid-body .editable-row fieldset[disabled] .form-control {
background-color: #fafbfc;
}
.grid-body .editable-row input[data-fieldtype="Int"],
.grid-body .editable-row input[data-fieldtype="Float"],
.grid-body .editable-row input[data-fieldtype="Currency"] {
text-align: right;
}
.row-data > .row {
margin-left: 15px;
}
.grid-row td {
vertical-align: top;
}
.grid-row p {
margin-bottom: 5px;
}
.grid-row .frappe-control {
margin-bottom: 0px;
}
.grid-row .col-sm-6 .editor-toolbar-text-group,
.grid-row .col-sm-6 .editor-toolbar-align-group {
display: none;
}
.grid-row .col-sm-6 .text-editor {
height: 200px;
}
.grid-row .col-sm-6 .markdown-text-editor {
height: 251px;
}
.form-in-grid {
background-color: white;
z-index: 1021;
position: relative;
overflow: hidden;
height: 0;
opacity: 0;
-webkit-transition: opacity 0.2s ease;
-o-transition: opacity 0.2s ease;
transition: opacity 0.2s ease;
}
.grid-row-open .form-in-grid {
opacity: 1;
height: auto;
overflow: visible;
}
.grid-form-heading {
padding: 10px 15px;
font-size: 120%;
border-bottom: 1px solid #d1d8dd;
}
.grid-footer {
background-color: #fff;
}
.grid-footer-toolbar {
padding: 10px 15px;
border-top: 1px solid #d1d8dd;
}
.grid-overflow-no-ellipsis {
word-wrap: break-word;
overflow: hidden;
padding-right: 0px;
}
.grid-overflow-ellipsis {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding-right: 0px;
}
.grid-label {
margin-right: 8px;
margin-bottom: 4px;
}