From: Joris van Zundert Date: Mon, 3 Sep 2012 12:22:10 +0000 (+0200) Subject: Styled buttons and pager X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b15c59d54e7a5040ce5ec0315dc02ed8cea511fb;p=scpubgit%2Fstemmatology.git Styled buttons and pager --- diff --git a/stemmaweb/root/css/style.css b/stemmaweb/root/css/style.css index a90f064..15b3ffb 100644 --- a/stemmaweb/root/css/style.css +++ b/stemmaweb/root/css/style.css @@ -53,7 +53,25 @@ div.button:hover { div.button:hover span { background-position: bottom left; } - +#stemma_pager_buttons { + height: 28px; +} +div.pager_left_button { + width: 28px; + height: 28px; + float: left; + background: transparent url('../images/button_left_28.png') no-repeat; +} +div.pager_left_button:hover, div.pager_right_button:hover { + opacity: 0.8; +} +div.pager_right_button { + width: 28px; + height: 28px; + float: left; + margin-left: 10px; + background: transparent url('../images/button_right_28.png') no-repeat; +} #topbanner { width: 100%; } @@ -137,19 +155,24 @@ div.button:hover span { #stemma_graph img { margin-top: expression(( 450 - this.height ) / 2); } -#stexaminer_button { - bottom: 0; - margin-top: 13px; -} -#relater_button { -} #textinfo_container_buttons { float: right; + left: -18px; + position: relative; + top: 15px; } -#run_stexaminer, #run_relater, #open_stemma_add, #open_stemma_edit, #stemma_pager, #open_textinfo_edit { +#run_stexaminer, #run_relater, #open_stemma_add, #open_stemma_edit { + height: 18px; +} +#stemma_pager { + height: 38px; +} +#open_textinfo_edit { + float: right; height: 30px; - left: -10px; position: relative; + top: -34px; + left: -8px; } #upload-collation-dialog { overflow: hidden; diff --git a/stemmaweb/root/images/button_left_28.png b/stemmaweb/root/images/button_left_28.png new file mode 100644 index 0000000..3e08b8c Binary files /dev/null and b/stemmaweb/root/images/button_left_28.png differ diff --git a/stemmaweb/root/images/button_right_28.png b/stemmaweb/root/images/button_right_28.png new file mode 100644 index 0000000..1289bac Binary files /dev/null and b/stemmaweb/root/images/button_right_28.png differ diff --git a/stemmaweb/root/src/index.tt b/stemmaweb/root/src/index.tt index c0f3d57..cc0f725 100644 --- a/stemmaweb/root/src/index.tt +++ b/stemmaweb/root/src/index.tt @@ -250,6 +250,12 @@ $(document).ready( function() {

Text

+
+
+ Modify information about this tradition +
+
-
-
-
- Modify information about this tradition -
-
-
- Left & right go here +
+
+