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;
|
|
|
|
|
2015-03-20 18:29:41 +01:00
|
|
|
& > thead > tr > th.selection {
|
|
|
|
width: 30px;
|
|
|
|
}
|
2015-03-21 02:22:27 +01:00
|
|
|
& > thead > tr > th {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2013-10-08 16:51:55 +02:00
|
|
|
& > tbody > tr > td {
|
2013-09-17 17:40:59 +02:00
|
|
|
cursor: pointer;
|
|
|
|
& > * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& img.column-affix {
|
|
|
|
width: 2em;
|
|
|
|
height: 2em;
|
|
|
|
}
|
2015-04-03 14:41:39 +02:00
|
|
|
& a.column-affix > img {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
2013-09-17 17:40:59 +02:00
|
|
|
}
|
2014-10-24 18:51:48 +02:00
|
|
|
& .editabletree-char, .editabletree-date, .editabletree-datetime,
|
|
|
|
.editabletree-integer, .editabletree-float, .editabletree-selection,
|
2015-03-20 18:48:49 +01:00
|
|
|
.editabletree-timedelta, .editabletree-boolean, .editabletree-many2one,
|
2014-10-24 18:51:48 +02:00
|
|
|
.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;
|
|
|
|
}
|
2015-07-16 22:36:11 +02:00
|
|
|
& label {
|
|
|
|
font-weight: normal;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
& label.required {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2013-09-17 17:40:59 +02:00
|
|
|
}
|
2013-10-07 12:38:35 +02:00
|
|
|
|
|
|
|
.form {
|
2013-10-14 19:49:12 +02:00
|
|
|
width: 100%;
|
|
|
|
& > .form-container {
|
|
|
|
width: 100%;
|
2015-08-14 17:37:27 +02:00
|
|
|
& td {
|
|
|
|
padding: 1px;
|
|
|
|
}
|
2013-10-14 19:49:12 +02:00
|
|
|
}
|
|
|
|
& td.form-label {
|
2015-02-06 00:32:51 +01:00
|
|
|
white-space: pre;
|
2013-10-14 19:49:12 +02:00
|
|
|
}
|
2015-03-20 19:14:04 +01:00
|
|
|
& .form-char, .form-password, .form-integer, .form-float {
|
|
|
|
& input {
|
|
|
|
min-width: 8em;
|
|
|
|
}
|
|
|
|
}
|
2015-08-14 17:46:22 +02:00
|
|
|
& .form-url, .form-email, .form-callto, .form-sip {
|
|
|
|
& a > img {
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
}
|
|
|
|
}
|
2014-10-14 23:20:16 +02:00
|
|
|
& td.form-one2many, td.form-many2many {
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2015-03-07 09:18:29 +01:00
|
|
|
& .form-one2many-menu::after, .form-many2many-menu::after {
|
|
|
|
content: "";
|
|
|
|
display: table;
|
|
|
|
clear: both;
|
|
|
|
}
|
2013-10-07 14:01:18 +02:00
|
|
|
& .form-one2many-menu, .form-many2many-menu {
|
|
|
|
& .form-one2many-string, .form-many2many-string {
|
2015-03-07 09:18:29 +01:00
|
|
|
display: inline-table;
|
2013-10-07 14:01:18 +02:00
|
|
|
float: left;
|
2015-03-07 09:18:29 +01:00
|
|
|
margin: 5px;
|
2013-10-07 14:01:18 +02:00
|
|
|
}
|
|
|
|
& .form-one2many-toolbar, .form-many2many-toolbar {
|
2015-03-07 09:18:29 +01:00
|
|
|
display: inline-table;
|
2013-10-07 14:01:18 +02:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
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;
|
2015-04-30 17:03:17 +02:00
|
|
|
display: inline;
|
2014-10-24 18:51:48 +02:00
|
|
|
}
|
2015-07-16 22:36:11 +02:00
|
|
|
& label.required {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
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,
|
2015-03-20 18:48:49 +01:00
|
|
|
.editabletree-integer, .editabletree-float, .editabletree-timedelta {
|
2015-02-06 00:32:51 +01:00
|
|
|
& input {
|
|
|
|
text-align: right;
|
2013-10-14 11:02:47 +02:00
|
|
|
}
|
|
|
|
}
|
2015-03-20 18:48:49 +01:00
|
|
|
.column-integer, .column-float, .column-timedelta {
|
2015-03-20 18:45:29 +01:00
|
|
|
text-align: right;
|
|
|
|
}
|
2015-02-20 11:30:11 +01:00
|
|
|
|
2015-08-28 15:56:30 +02:00
|
|
|
.form-boolean, .editabletree-boolean {
|
2015-03-13 16:36:58 +01:00
|
|
|
& input[type=checkbox] {
|
|
|
|
width: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|