IDEMPIERE-4161 Application Home Refinements. Fix cut-off text. Clean up css. Switch to flex layout and center the grids.

This commit is contained in:
hengsin 2020-02-03 11:57:35 +08:00
parent f79941d3d0
commit aee058d12d
20 changed files with 44 additions and 136 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@ -73,24 +73,39 @@ div.body{
top:262px;
}
.main-content{
position: relative;
height: 550px;
}
#main-docuBtns {
display: flex;
justify-content: center;
}
#main-docuBtns ul {
margin:0;
padding:28px;
overflow:hidden;
list-style:none;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: center;
align-items: flex-start;
justify-content: flex-start;
height: 450px;
width: 700px;
}
#main-docuBtns ul li {
display: inline-block;
display: inline-flex;
flex-direction: column;
height:120px;
width:120px;
padding:18px 0;
width:130px;
padding: 9px 0;
text-align:center;
background-color: #111;
margin: 2px;
margin: 5px;
}
#main-docuBtns ul li > a {
width: 100%;
height: 95%;
flex-grow: 1;
display: inline-block;
}
#main-docuBtns ul li > a > img {
@ -102,6 +117,7 @@ div.body{
padding-top:2px;
padding-bottom:2px;
color: #fff;
flex-grow: 0;
}
#main-requestBtns-btnLogin{
overflow: hidden;
@ -237,23 +253,7 @@ div.body{
filter:alpha(opacity=100);
opacity: 1;
}
.btnDocu-content{
position: relative;
}
.btnResoc-content{
position: relative;
}
.main-content{
position: relative;
height: 550px;
}
#main-rssContent{
position: absolute;
right: 50px;
top: 50px;
}
#credits{
font-size: 70%;
}
@ -288,52 +288,3 @@ div.body{
filter:alpha(opacity=100);
opacity: 1;
}
/** RSS FEED **/
.labelfield{
color:gray;
font-size: 50%; }
.datefield{
color:gray;
font-size: 80%;}
#rssfeeds a{
color: #336699;
text-decoration: none;
font-weight: bold;
font-size: 90%;
}
#rssfeeds p{
margin-bottom: 2px;
text-decoration: none;
font-size: 90%;
}
code{
color: red;
}
#blogoolafeed, #blogoolafeed a {
color:white;
}
#blogoolafeed a:hover{
color:#8E7BD3;
}
#blogoolafeed ul {
margin-left:-15px
}
#rssfeed-wrap:hover {
opacity: 0.9;
filter:alpha(opacity=90);
}
#rssfeed-wrap {
font-size: 80%;
background-color: #CCCCCC;
border-radius: 15px;
color: #000000;
height: 340px;
opacity: 0.3;
overflow: scroll;
padding: 10px;
text-align: left;
width: 300px;
filter:alpha(opacity=30);
-moz-border-radius: 15px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 845 B

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

View File

@ -67,31 +67,35 @@ div.body{
position: relative;
height: 550px;
}
.btnDocu-content{
position: relative;
#main-docuBtns {
display: flex;
justify-content: center;
}
.btnResoc-content{
position: relative;
}
#main-docuBtns ul {
margin:0;
margin: 0px auto;
padding:28px;
overflow:hidden;
list-style:none;
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: center;
align-items: flex-start;
justify-content: flex-start;
height: 450px;
width: 700px;
}
#main-docuBtns ul li {
display: inline-block;
height:110px;
width:120px;
padding:18px 0;
display: inline-flex;
flex-direction: column;
height:120px;
width:130px;
padding: 9px 0;
text-align:center;
background-color: #fff;
margin: 2px;
margin: 5px;
}
#main-docuBtns ul li > a {
width: 100%;
height: 95%;
flex-grow: 1;
display: inline-block;
}
#main-docuBtns ul li > a > img {
@ -103,6 +107,7 @@ div.body{
padding-top:2px;
padding-bottom:2px;
color: #333;
flex-grow: 0;
}
#main-requestBtns-btnLogin{
overflow: hidden;
@ -239,11 +244,6 @@ div.body{
opacity: 1;
}
#main-rssContent{
height: 320px;
padding-left: 25px;
padding-top: 25px;
}
#credits{
font-size: 70%;
}
@ -262,52 +262,9 @@ div.body{
#socialBar img{
filter:alpha(opacity=80);
opacity: 0.8;
filter: invert(40%);
}
#socialBar img:hover{
filter:alpha(opacity=100);
opacity: 1;
}
/** RSS FEED **/
.labelfield{
color:gray;
font-size: 50%; }
.datefield{
color:gray;
font-size: 80%;}
#rssfeeds a{
color: #336699;
text-decoration: none;
font-weight: bold;
font-size: 90%;
}
#rssfeeds p{
margin-bottom: 2px;
text-decoration: none;
font-size: 90%;
}
code{
color: red;
}
#blogoolafeed, #blogoolafeed a {
color:white;
}
#blogoolafeed a:hover{
color:#8E7BD3;
}
#blogoolafeed ul {
margin-left:-15px
}
#rssfeed-wrap {
font-size: 80%;
height: 300px;
overflow: scroll;
text-align: left;
width: 280px;
background-color:white;
filter:alpha(opacity=90);
opacity:.9;
-moz-border-radius: 15px;
border-radius: 15px;
padding: 10px;
}