AI 149839: make the home page's announcement block expandable...
primarily, this is to handle various lengths of text due to translations, but also allows us to be more flexible WRT the content for the top section. Automated import of CL 149839
This commit is contained in:
committed by
The Android Open Source Project
parent
88ee3f4e03
commit
5eb5832751
@@ -723,14 +723,16 @@ td.gsc-search-button {
|
||||
float: left;
|
||||
width: 584px;
|
||||
height: 580px;
|
||||
background:url(images/home/bg_home_middle.png) no-repeat 0 0;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
#topAnnouncement {
|
||||
background:url(images/home/bg_home_announcement.png) no-repeat 0 0;
|
||||
}
|
||||
|
||||
#homeTitle {
|
||||
margin:15px 15px 0;
|
||||
height:30px;
|
||||
background:url(images/hr_gray_side.jpg) no-repeat 0 29px;
|
||||
padding:15px 15px 0;
|
||||
height:30px;
|
||||
}
|
||||
|
||||
#homeTitle h2 {
|
||||
@@ -738,8 +740,14 @@ td.gsc-search-button {
|
||||
}
|
||||
|
||||
#announcement-block {
|
||||
margin:15px 15px 0;
|
||||
height:125px;
|
||||
padding:0 15px 0;
|
||||
overflow:hidden;
|
||||
background: url(images/hr_gray_side.jpg) no-repeat 15px 0;
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
#announcement-block>* {
|
||||
padding:15px 0 0;
|
||||
}
|
||||
|
||||
#announcement-block img {
|
||||
@@ -752,6 +760,29 @@ td.gsc-search-button {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
#carousel {
|
||||
background:url(images/home/bg_home_carousel.png) no-repeat 0 0;
|
||||
position:relative;
|
||||
height:400px;
|
||||
}
|
||||
|
||||
#carouselMain {
|
||||
padding: 25px 21px 0;
|
||||
height:185px;
|
||||
background-position:top;
|
||||
overflow:hidden;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
#carouselMain img {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
#homeMiddle p {
|
||||
margin:0;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
|
||||
.clearer { clear:both; }
|
||||
|
||||
#arrow-left, #arrow-right {
|
||||
@@ -830,6 +861,12 @@ div#app-list {
|
||||
text-decoration:none;
|
||||
text-align:center;
|
||||
font-size:11px;
|
||||
line-height:11px;
|
||||
}
|
||||
|
||||
#app-list a span {
|
||||
position:relative;
|
||||
top:-4px;
|
||||
}
|
||||
|
||||
#app-list img {
|
||||
@@ -863,18 +900,6 @@ div#app-list {
|
||||
padding-bottom:.25em;
|
||||
}
|
||||
|
||||
#carouselMain {
|
||||
margin: 25px 21px 0;
|
||||
height:185px;
|
||||
background-position:top;
|
||||
background-repeat:no-repeat;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
#carouselMain img {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
/*carousel bulletin layouts*/
|
||||
/*460px width*/
|
||||
/*185px height*/
|
||||
@@ -883,24 +908,24 @@ div#app-list {
|
||||
width:230px;
|
||||
height:165px;
|
||||
overflow:hidden;
|
||||
margin:8px 0 8px 8px;
|
||||
padding:8px 0 8px 8px;
|
||||
}
|
||||
.desc-right {
|
||||
float:left;
|
||||
width:270px;
|
||||
margin:10px;
|
||||
padding:10px;
|
||||
}
|
||||
.img-right {
|
||||
float:right;
|
||||
width:220px;
|
||||
height:165px;
|
||||
overflow:hidden;
|
||||
margin:8px 8px 8px 0;
|
||||
padding:8px 8px 8px 0;
|
||||
}
|
||||
.desc-left {
|
||||
float:right;
|
||||
width:280px;
|
||||
margin:10px;
|
||||
padding:10px;
|
||||
text-align:right;
|
||||
}
|
||||
.img-top {
|
||||
|
BIN
tools/droiddoc/templates/assets/images/home/bg_home_announcement.png
Executable file
BIN
tools/droiddoc/templates/assets/images/home/bg_home_announcement.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
BIN
tools/droiddoc/templates/assets/images/home/bg_home_carousel.png
Executable file
BIN
tools/droiddoc/templates/assets/images/home/bg_home_carousel.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.5 KiB |
Reference in New Issue
Block a user