2015-02-06 00:32:51 +01:00
|
|
|
.tab-form {
|
2015-02-20 19:10:18 +01:00
|
|
|
& .toolbar {
|
|
|
|
margin-bottom: 1px;
|
|
|
|
& ul.nav > li > a {
|
|
|
|
padding-right: 0px;
|
|
|
|
}
|
2014-10-14 18:12:52 +02:00
|
|
|
}
|
2013-10-14 11:02:47 +02:00
|
|
|
}
|
|
|
|
|
2015-02-27 15:44:43 +01:00
|
|
|
.nav-tabs > li .close {
|
|
|
|
margin: -2px 0 0 10px;
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
|
2013-09-17 17:40:59 +02:00
|
|
|
.treeview {
|
2013-10-08 16:51:55 +02:00
|
|
|
& > table.tree {
|
2013-09-17 17:40:59 +02:00
|
|
|
width: 100%;
|
2013-10-08 16:51:55 +02:00
|
|
|
table-layout: fixed;
|
|
|
|
|
|
|
|
& > tbody > tr > td {
|
2013-09-17 17:40:59 +02:00
|
|
|
cursor: pointer;
|
|
|
|
& > * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& img.column-affix {
|
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
|
|
|
}
|
|
|
|
}
|
2014-10-24 18:51:48 +02:00
|
|
|
& .editabletree-char, .editabletree-date, .editabletree-datetime,
|
|
|
|
.editabletree-integer, .editabletree-float, .editabletree-selection,
|
|
|
|
.editabletree-float_time, .editabletree-boolean, .editabletree-many2one,
|
|
|
|
.editabletree-one2many {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2013-10-08 16:51:55 +02:00
|
|
|
& td {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2013-09-17 17:40:59 +02:00
|
|
|
& .expander {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
& .treefooter {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
2013-10-07 12:38:35 +02:00
|
|
|
|
|
|
|
.form {
|
2013-10-14 19:49:12 +02:00
|
|
|
width: 100%;
|
|
|
|
& > .form-container {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
& td.form-label {
|
2015-02-06 00:32:51 +01:00
|
|
|
white-space: pre;
|
2013-10-14 19:49:12 +02:00
|
|
|
}
|
2014-10-14 23:20:16 +02:00
|
|
|
& td.form-one2many, td.form-many2many {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2013-10-07 14:01:18 +02:00
|
|
|
& .form-one2many-menu, .form-many2many-menu {
|
|
|
|
overflow: auto;
|
2015-02-06 00:32:51 +01:00
|
|
|
margin-bottom: 1px;
|
2013-10-07 14:01:18 +02:00
|
|
|
& .form-one2many-string, .form-many2many-string {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
& .form-one2many-toolbar, .form-many2many-toolbar {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
& .form-one2many-string, .form-one2many-label,
|
|
|
|
.form-many2many-string, .form-many2many-label {
|
2014-10-14 18:12:52 +02:00
|
|
|
margin: 8px;
|
2013-10-07 14:01:18 +02:00
|
|
|
}
|
|
|
|
}
|
2015-02-06 00:32:51 +01:00
|
|
|
& .form-separator {
|
|
|
|
& label {
|
|
|
|
margin-top: 10px;
|
2014-03-16 21:19:05 +01:00
|
|
|
}
|
2015-02-06 00:32:51 +01:00
|
|
|
& hr {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 5px;
|
2014-03-16 21:19:05 +01:00
|
|
|
}
|
|
|
|
}
|
2015-02-06 00:32:51 +01:00
|
|
|
& label {
|
|
|
|
font-weight: normal;
|
2014-10-24 18:51:48 +02:00
|
|
|
}
|
2015-02-06 00:32:51 +01:00
|
|
|
.panel-heading {
|
|
|
|
padding: 1px 1px;
|
2014-10-24 18:51:48 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-binary, .editabletree-binary {
|
|
|
|
min-width: calc(5 * 2.4em);
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-integer, .form-float, .form-float-time,
|
|
|
|
.column-integer, .column-float, .column-float_time,
|
|
|
|
.editabletree-integer, .editabletree-float, .editabletree-float_time {
|
2015-02-06 00:32:51 +01:00
|
|
|
& input {
|
|
|
|
text-align: right;
|
2013-10-14 11:02:47 +02:00
|
|
|
}
|
|
|
|
}
|
2015-02-20 11:30:11 +01:00
|
|
|
|
2015-02-20 15:50:17 +01:00
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
table.responsive,
|
|
|
|
table.responsive > thead,
|
|
|
|
table.responsive > thead > tr,
|
|
|
|
table.responsive > thead > tr > th,
|
|
|
|
table.responsive > tbody,
|
|
|
|
table.responsive > tbody > tr,
|
|
|
|
table.responsive > tbody > tr > td {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
table.responsive {
|
|
|
|
/* Hide table headers (but not display: none; for accessiblity) */
|
|
|
|
& > thead > tr {
|
|
|
|
position: absolute;
|
|
|
|
top: -9999px;
|
|
|
|
left: -9999px;
|
|
|
|
}
|
|
|
|
& > thead > tr,
|
|
|
|
& > tbody > tr > td {
|
|
|
|
text-align: left !important;
|
|
|
|
}
|
|
|
|
/* Force height to empty content */
|
|
|
|
& td > div:empty {
|
|
|
|
min-height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
table.responsive-noheader {
|
|
|
|
& > tbody > tr > td {
|
|
|
|
width: 100% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
table.responsive-header {
|
|
|
|
> tbody > tr {
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
& > tbody > tr > td {
|
|
|
|
/* Behave like a "row" */
|
|
|
|
border: none;
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
position: relative;
|
|
|
|
padding-left: 30%;
|
|
|
|
}
|
|
|
|
& > tbody > tr > td:before {
|
|
|
|
/* Now like a table header */
|
|
|
|
position: absolute;
|
|
|
|
/* Top/left values mimic padding */
|
|
|
|
top: 6px;
|
|
|
|
left: 6px;
|
|
|
|
width: 30%;
|
|
|
|
padding-right: 10px;
|
|
|
|
text-align: left;
|
|
|
|
font-weight: bold;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
/* Label */
|
|
|
|
content: attr(data-title);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-20 11:30:11 +01:00
|
|
|
#processing {
|
|
|
|
position: fixed;
|
|
|
|
top: 0px;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1000;
|
|
|
|
}
|