Commit 02cb9a6b authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs] Update officejs css file

/reviewed-on !386
parent c5268193
......@@ -1045,13 +1045,15 @@ div[data-gadget-scope='header'] .ui-header ul {
padding-left: 24pt;
}
}
.gadget-content .ui-field-contain > label {
color: #777777;
}
@media only screen and (min-width: 45em) and (max-width: 2713em), not screen and (max-width: 2713em) {
.gadget-content .ui-field-contain {
display: flex;
}
.gadget-content .ui-field-contain > label {
flex: 1;
color: #777777;
/* Disclaimer: It is here only for backward-compatibility! Don't rely on
this class because it will be removed.
It was used to hide the label of a FormBox. */
......@@ -1289,12 +1291,13 @@ div[data-gadget-scope='erp5_searchfield'] button {
display: block;
overflow: hidden;
width: 100%;
height: 4em;
position: relative;
height: 4em;
line-height: 2em;
}
.document_table table tbody tr td,
.document_table table tbody tr th {
display: inline-block;
.document_table table tbody tr td *,
.document_table table tbody tr th * {
display: inline;
}
.document_table table tbody tr td:first-child,
.document_table table tbody tr th:first-child {
......@@ -1310,6 +1313,7 @@ div[data-gadget-scope='erp5_searchfield'] button {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding-top: 6pt;
}
.document_table table tbody tr td:first-child a:after,
.document_table table tbody tr th:first-child a:after {
......@@ -1331,12 +1335,15 @@ div[data-gadget-scope='erp5_searchfield'] button {
.document_table table tbody tr td:first-child ~ td,
.document_table table tbody tr th:first-child ~ td {
font-size: 0.8em;
display: inline;
word-break: break-word;
}
.document_table table tbody tr td:first-child ~ th a,
.document_table table tbody tr th:first-child ~ th a,
.document_table table tbody tr td:first-child ~ td a,
.document_table table tbody tr th:first-child ~ td a {
pointer-events: none;
color: #777777;
}
.document_table table tbody tr td:first-child ~ th:not(:last-child) a:not(:empty):after,
.document_table table tbody tr th:first-child ~ th:not(:last-child) a:not(:empty):after,
......@@ -1407,10 +1414,15 @@ div[data-gadget-scope='notification'] button {
text-align: left;
width: 180pt;
padding: 12pt;
background-color: #FF6600;
color: #f8fff3;
border-radius: 0.325em;
}
div[data-gadget-scope='notification'] button.success {
background-color: #37A419;
}
div[data-gadget-scope='notification'] button.error {
background-color: #FF6600;
}
/**********************************************
* JQM
**********************************************/
......@@ -1470,19 +1482,19 @@ div[data-gadget-scope='notification'] button {
@media only screen and (min-width: 45em) and (max-width: 2713em) {
.content-iframe-maximize {
left: 0;
top: 30pt;
top: 73pt;
}
.content-iframe-maximize iframe {
height: calc(100vh - 30pt );
height: calc(100vh - 73pt );
}
}
@media not screen and (min-width: 45em) {
.content-iframe-maximize {
left: 0;
top: 30pt;
top: 67pt;
}
.content-iframe-maximize iframe {
height: calc(100vh - 30pt );
height: calc(100vh - 67pt );
}
}
/**********************************************
......@@ -2901,3 +2913,34 @@ hmtl .ui-icon-carat-u::before {
.ui-icon-bomb::before {
content: "\f1e2";
}
.content-iframe-maximize {
position: fixed;
}
@media not screen and (max-width: 2713em) {
.content-iframe-maximize {
left: 180pt;
top: 60pt;
}
.content-iframe-maximize iframe {
width: calc(100vw - 180pt );
height: calc(100vh - 60pt );
}
}
@media only screen and (min-width: 45em) and (max-width: 2713em) {
.content-iframe-maximize {
left: 0;
top: 30pt;
}
.content-iframe-maximize iframe {
height: calc(100vh - 30pt );
}
}
@media not screen and (min-width: 45em) {
.content-iframe-maximize {
left: 0;
top: 30pt;
}
.content-iframe-maximize iframe {
height: calc(100vh - 30pt );
}
}
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>961.56680.37314.15803</string> </value>
<value> <string>961.59292.36287.51694</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>1504530088.63</float>
<float>1505117024.15</float>
<string>UTC</string>
</tuple>
</state>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__name__</string> </key>
<value> <string>ojscss.less</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/plain</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment