From dec416ced9a7cb2181c8125aee66c316c6f162de Mon Sep 17 00:00:00 2001 From: Stanislav Ievlev Date: Tue, 29 Sep 2009 15:58:37 +0400 Subject: [PATCH] - add svg images and style for page navigation buttons --- components.mk | 5 + .../ahttpd/images/first-page-button.svg | 121 +++++++++++++++ components/ahttpd/images/last-page-button.svg | 143 ++++++++++++++++++ components/ahttpd/images/next-page-button.svg | 128 ++++++++++++++++ components/ahttpd/images/prev-page-button.svg | 121 +++++++++++++++ components/ahttpd/styles/alterator.css.in | 23 +++ 6 files changed, 541 insertions(+) create mode 100644 components/ahttpd/images/first-page-button.svg create mode 100644 components/ahttpd/images/last-page-button.svg create mode 100644 components/ahttpd/images/next-page-button.svg create mode 100644 components/ahttpd/images/prev-page-button.svg diff --git a/components.mk b/components.mk index d5949ef..c801982 100644 --- a/components.mk +++ b/components.mk @@ -12,11 +12,16 @@ browser-qt:components/browser-qt/design/bg.png # ahttpd ahttpd: + for i in components/ahttpd/images/*.svg; do \ + image=$${i%.svg}; \ + convert -background none $$image.svg $$image.png ; \ + done install -d $(datadir)/alterator/design/styles cp -a components/ahttpd/images $(datadir)/alterator/design install -Dpm644 images/product-logo.png $(datadir)/alterator/design/images/product-logo.png cp -a components/ahttpd/styles/*.css $(datadir)/alterator/design/styles + # bootloader and bootsplash boot: cp -a /usr/src/design-bootloader-source ./ diff --git a/components/ahttpd/images/first-page-button.svg b/components/ahttpd/images/first-page-button.svg new file mode 100644 index 0000000..5e1d715 --- /dev/null +++ b/components/ahttpd/images/first-page-button.svg @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/components/ahttpd/images/last-page-button.svg b/components/ahttpd/images/last-page-button.svg new file mode 100644 index 0000000..2811650 --- /dev/null +++ b/components/ahttpd/images/last-page-button.svg @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/components/ahttpd/images/next-page-button.svg b/components/ahttpd/images/next-page-button.svg new file mode 100644 index 0000000..d21655b --- /dev/null +++ b/components/ahttpd/images/next-page-button.svg @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/components/ahttpd/images/prev-page-button.svg b/components/ahttpd/images/prev-page-button.svg new file mode 100644 index 0000000..d3d7b92 --- /dev/null +++ b/components/ahttpd/images/prev-page-button.svg @@ -0,0 +1,121 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/components/ahttpd/styles/alterator.css.in b/components/ahttpd/styles/alterator.css.in index 90adf2f..ca80618 100644 --- a/components/ahttpd/styles/alterator.css.in +++ b/components/ahttpd/styles/alterator.css.in @@ -88,6 +88,29 @@ textarea, select, input.text { height: 20px; } +.next-page-button,.prev-page-button,.first-page-button,.last-page-button { + width: 25px; + height: 20px; + vertical-align:middle; + cursor: pointer; +} + +.next-page-button { + background: url(/design/images/next-page-button.png) no-repeat; +} + +.prev-page-button { + background: url(/design/images/prev-page-button.png) no-repeat; +} + +.first-page-button { + background: url(/design/images/first-page-button.png) no-repeat; +} + +.last-page-button { + background: url(/design/images/last-page-button.png) no-repeat; +} + /* messages */ .alterator-information-message {