Improved: Improve rainbowstone theme (OFBIZ-12237)

Remove quicksand binary files, and add import from fonts.googleapis.com
to solve licencing issue.
Remove licence notice from the LICENCE FILE.
Fix theme link into README.
Fix some comments in javascript.css files.

Thanks Jacques for your guidance !
This commit is contained in:
Gil Portenseigne
2021-06-28 17:45:51 +02:00
parent 1cc05b0044
commit 180b24c64e
7 changed files with 19 additions and 31 deletions
-6
View File
@@ -208,12 +208,6 @@ For details, see framework/resources/fonts/NotoSans/.
=========================================================================
This product bundles the "Quicksand" fonts as a binary, which is available
under the "SIL OFL License 1.1" license.
For details, see themes/rainbowstone/webapp/rainbowstone/fonts/quicksand
=========================================================================
This product bundles "timezones" files, which are available in the "Public Domain".
For details, see themes/common/webapp/common/js/plugins/date/timezones.
@@ -17,9 +17,9 @@
* under the License.
*/
/* ------------------------------------------------------------------------ */
/* This CSS file is used for the Helveticus visual theme JavaScript styles. */
/* ------------------------------------------------------------------------ */
/* ----------------------------------------------------------------------- */
/* This CSS file is used for the Flat Grey visual theme JavaScript styles. */
/* ----------------------------------------------------------------------- */
#wait-spinner {
z-index: 50000;
+1 -1
View File
@@ -11,4 +11,4 @@ The Rainbowstone theme uses the Quicksand font which is licensed under the [SIL
## more information
For more information about this component visit the product page in the OFBiz WIKI,
which can be found at https://cwiki.apache.org/confluence/display/OFBIZ/Rainbowstone
which can be found at https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+Gallery
@@ -17,9 +17,9 @@
* under the License.
*/
/* ----------------------------------------------------------------------- */
/* This CSS file is used for the Flat Grey visual theme JavaScript styles. */
/* ----------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
/* This CSS file is used for the Rainbowstone visual theme JavaScript styles. */
/* -------------------------------------------------------------------------- */
#wait-spinner {
z-index: 50000;
@@ -39,13 +39,7 @@
@box-border-color: #d7d7d7;
@font-face {
font-family: 'quicksandregular';
src: url('fonts/quicksand/quicksand-regular.woff2') format('woff2'),
url('fonts/quicksand/quicksand-regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400&display=swap');
/* ---------------------------------- */
/* Begin special checkbox type switch */
@@ -110,7 +104,7 @@
padding-left: 35px;
position: relative;
cursor: pointer;
font-family: "quicksandregular", Arial, "Lucida Grande", sans-serif;
font-family: "Quicksand", Arial, "Lucida Grande", sans-serif;
font-size: 12px;
}
@@ -497,7 +491,7 @@ li.line-odd {
flex-direction: row;
align-items: center;
justify-content: space-between;
font-family: quicksandregular,sans-serif;
font-family: Quicksand,sans-serif;
background-color: @dark-color-theme;
z-index: 5;
height: @app-bar-height;
@@ -799,7 +793,7 @@ a.user-pref-btn {
min-width: 75px;
padding-left: 6px;
padding-right: 6px;
font-family: "quicksandregular", Arial, "Lucida Grande", sans-serif;
font-family: "Quicksand", Arial, "Lucida Grande", sans-serif;
border-bottom: solid 1px @black;
font-size: 12px;
@media screen and (max-width: 1500px) {
@@ -999,7 +993,7 @@ a.user-pref-btn {
padding: 5px 10px 5px 10px;
border-bottom: solid 1px @black;
span {
font-family: "quicksandregular", Arial, "Lucida Grande", sans-serif !important;
font-family: "Quicksand", Arial, "Lucida Grande", sans-serif !important;
font-size: 15px;
font-weight: bold;
width: 110px;
@@ -1445,7 +1439,7 @@ form .basic-table,
.info-message-title {
min-width:150px;
margin: 5px;
font-family: "quicksandregular", Arial, "Lucida Grande", sans-serif;
font-family: "Quicksand", Arial, "Lucida Grande", sans-serif;
font-size: 16px;
font-weight: bold;
}
@@ -1488,7 +1482,7 @@ form .basic-table,
table.msg-list {
width: 100%;
font-size: 16px;
font-family: "quicksandregular", Arial, "Lucida Grande", sans-serif;
font-family: "Quicksand", Arial, "Lucida Grande", sans-serif;
padding: 0;
thead {
height: 100%;
@@ -1559,7 +1553,7 @@ table.msg-list {
display: flex;
justify-content: center;
align-items: center;
font-family: "quicksandregular", Arial, "Lucida Grande", sans-serif;
font-family: "Quicksand", Arial, "Lucida Grande", sans-serif;
color: @dark-color-theme;
height: 100%;
width: 100%;
@@ -1603,14 +1597,14 @@ select.paginate-select {
}
.paginate-select-label {
font-family: "quicksandregular", Arial, "Lucida Grande", sans-serif;
font-family: "Quicksand", Arial, "Lucida Grande", sans-serif;
font-size: 16px;
padding-left: 15px;
padding-right: 15px;
}
.paginate-information {
font-family: "quicksandregular", Arial, "Lucida Grande", sans-serif;
font-family: "Quicksand", Arial, "Lucida Grande", sans-serif;
font-size: 16px;
padding-left: 15px;
padding-right: 15px;
@@ -1634,7 +1628,7 @@ ul.paginate-pg-list li:hover{
.nav-pager {
background-color: @greydark;
color: @white;
font-family: "quicksandregular", Arial, "Lucida Grande", sans-serif;
font-family: "Quicksand", Arial, "Lucida Grande", sans-serif;
font-size: 9px;
font-weight: bold;
line-height: 3.5em;
@@ -1843,7 +1837,7 @@ input[type="button"] {
flex-direction: row;
align-items: center;
justify-content: space-between;
font-family: "quicksandregular", Arial, "Lucida Grande", sans-serif !important;
font-family: "Quicksand", Arial, "Lucida Grande", sans-serif !important;
z-index: 10;
span {