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 { ...@@ -1045,13 +1045,15 @@ div[data-gadget-scope='header'] .ui-header ul {
padding-left: 24pt; 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) { @media only screen and (min-width: 45em) and (max-width: 2713em), not screen and (max-width: 2713em) {
.gadget-content .ui-field-contain { .gadget-content .ui-field-contain {
display: flex; display: flex;
} }
.gadget-content .ui-field-contain > label { .gadget-content .ui-field-contain > label {
flex: 1; flex: 1;
color: #777777;
/* Disclaimer: It is here only for backward-compatibility! Don't rely on /* Disclaimer: It is here only for backward-compatibility! Don't rely on
this class because it will be removed. this class because it will be removed.
It was used to hide the label of a FormBox. */ It was used to hide the label of a FormBox. */
...@@ -1289,12 +1291,13 @@ div[data-gadget-scope='erp5_searchfield'] button { ...@@ -1289,12 +1291,13 @@ div[data-gadget-scope='erp5_searchfield'] button {
display: block; display: block;
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
height: 4em;
position: relative; position: relative;
height: 4em;
line-height: 2em;
} }
.document_table table tbody tr td, .document_table table tbody tr td *,
.document_table table tbody tr th { .document_table table tbody tr th * {
display: inline-block; display: inline;
} }
.document_table table tbody tr td:first-child, .document_table table tbody tr td:first-child,
.document_table table tbody tr th:first-child { .document_table table tbody tr th:first-child {
...@@ -1310,6 +1313,7 @@ div[data-gadget-scope='erp5_searchfield'] button { ...@@ -1310,6 +1313,7 @@ div[data-gadget-scope='erp5_searchfield'] button {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
padding-top: 6pt;
} }
.document_table table tbody tr td:first-child a:after, .document_table table tbody tr td:first-child a:after,
.document_table table tbody tr th: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 { ...@@ -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 td:first-child ~ td,
.document_table table tbody tr th:first-child ~ td { .document_table table tbody tr th:first-child ~ td {
font-size: 0.8em; 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 td:first-child ~ th a,
.document_table table tbody tr th: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 td:first-child ~ td a,
.document_table table tbody tr th:first-child ~ td a { .document_table table tbody tr th:first-child ~ td a {
pointer-events: none; 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 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, .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 { ...@@ -1407,10 +1414,15 @@ div[data-gadget-scope='notification'] button {
text-align: left; text-align: left;
width: 180pt; width: 180pt;
padding: 12pt; padding: 12pt;
background-color: #FF6600;
color: #f8fff3; color: #f8fff3;
border-radius: 0.325em; 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 * JQM
**********************************************/ **********************************************/
...@@ -1470,19 +1482,19 @@ div[data-gadget-scope='notification'] button { ...@@ -1470,19 +1482,19 @@ div[data-gadget-scope='notification'] button {
@media only screen and (min-width: 45em) and (max-width: 2713em) { @media only screen and (min-width: 45em) and (max-width: 2713em) {
.content-iframe-maximize { .content-iframe-maximize {
left: 0; left: 0;
top: 30pt; top: 73pt;
} }
.content-iframe-maximize iframe { .content-iframe-maximize iframe {
height: calc(100vh - 30pt ); height: calc(100vh - 73pt );
} }
} }
@media not screen and (min-width: 45em) { @media not screen and (min-width: 45em) {
.content-iframe-maximize { .content-iframe-maximize {
left: 0; left: 0;
top: 30pt; top: 67pt;
} }
.content-iframe-maximize iframe { .content-iframe-maximize iframe {
height: calc(100vh - 30pt ); height: calc(100vh - 67pt );
} }
} }
/********************************************** /**********************************************
...@@ -2901,3 +2913,34 @@ hmtl .ui-icon-carat-u::before { ...@@ -2901,3 +2913,34 @@ hmtl .ui-icon-carat-u::before {
.ui-icon-bomb::before { .ui-icon-bomb::before {
content: "\f1e2"; 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 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.56680.37314.15803</string> </value> <value> <string>961.59292.36287.51694</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -260,7 +260,7 @@ ...@@ -260,7 +260,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1504530088.63</float> <float>1505117024.15</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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