diff --git a/skins/elastic/styles/colors.less b/skins/elastic/styles/colors.less
index a0dbec320..359749845 100644
--- a/skins/elastic/styles/colors.less
+++ b/skins/elastic/styles/colors.less
@@ -78,6 +78,8 @@
@color-list-recent-badge: #fff;
@color-list-recent-badge-background: @color-list-recent;
+@color-list-pagenav: #888;
+
// Drag-n-drop layer
@color-drag-layer: #fff;
diff --git a/skins/elastic/styles/layout.less b/skins/elastic/styles/layout.less
index 7dc2b08cd..b91a7cda5 100644
--- a/skins/elastic/styles/layout.less
+++ b/skins/elastic/styles/layout.less
@@ -24,6 +24,8 @@
@layout-header-height: 4.2rem;
@layout-header-font-size: 1rem;
+@layout-pagenav-height: 2rem;
+
@layout-touch-header-height: @layout-header-height;
@layout-touch-header-font-size: 1.2rem;
@layout-touch-menu-record-height: 3.6rem;
diff --git a/skins/elastic/styles/widgets/toolbar.less b/skins/elastic/styles/widgets/toolbar.less
index e192f8cf8..16d61eae4 100644
--- a/skins/elastic/styles/widgets/toolbar.less
+++ b/skins/elastic/styles/widgets/toolbar.less
@@ -162,47 +162,51 @@
width: 1.2em;
}
- &.footer {
+ &.pagenav {
+ text-align: center;
display: flex;
flex-direction: row;
- flex-wrap: nowrap;
+ border-bottom: 1px solid @color-layout-border;
+ height: @layout-pagenav-height;
+ overflow: hidden;
- div {
+ a.button {
flex-grow: 1;
- }
- }
+ font-size: 80%;
+ min-width: 1rem !important;
+ height: @layout-pagenav-height !important;
+ color: @color-list-pagenav;
- .pagenav {
- text-align: center;
- flex-grow: 3;
+ &:before {
+ line-height: 1 !important;
- span {
- display: block;
- text-align: center;
+ @media screen and (max-width: (@screen-width-small)) {
+ line-height: 2 !important;
+ }
+ }
}
.pagenav-text {
- height: (@layout-header-height * 0.3);
- line-height: (@layout-header-height * 0.3);
+ flex-grow: 4;
+ line-height: @layout-pagenav-height;
font-size: 80%;
- color: @color-pagenav-secondary;
- padding-top: .25rem;
+ color: @color-list-pagenav;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
- .pagenav-buttons {
- height: (@layout-header-height * 0.7);
- line-height: (@layout-header-height * 0.7);
-
- input {
- width: 3rem;
- line-height: 1;
- padding: .25rem;
- display: inline;
- text-align:center;
- }
+ input {
+ width: 3rem;
+ font-size: 90%;
+ line-height: 1;
+ padding: .25rem;
+ margin: .15rem;
+ display: inline;
+ text-align: center;
}
}
}
+
.header {
a.button {
color: @color-font;
diff --git a/skins/elastic/templates/addressbook.html b/skins/elastic/templates/addressbook.html
index c089697be..5b4ea134f 100644
--- a/skins/elastic/templates/addressbook.html
+++ b/skins/elastic/templates/addressbook.html
@@ -32,38 +32,12 @@
label="contactsearchform" buttontitle="findcontacts" options="search-menu" ariatag="h2" />