[Libreoffice-commits] .: bug/bug
Loic Dachary
loic at kemper.freedesktop.org
Tue Sep 20 08:52:07 PDT 2011
bug/bug/bug.css | 32 ++++++++++++++++----------------
bug/bug/images/select-bottom-left.png |binary
bug/bug/images/select-bottom-right.png |binary
bug/bug/images/select-bottom.png |binary
bug/bug/images/select-left.png |binary
bug/bug/images/select-right.png |binary
bug/bug/images/select-top-left.png |binary
bug/bug/images/select-top-right.png |binary
bug/bug/images/select-top.png |binary
bug/bug/select.css | 1 +
bug/bug/select.js | 2 +-
dev/null |binary
12 files changed, 18 insertions(+), 17 deletions(-)
New commits:
commit ef5bac7866a733e7c5b09eaca8a22fe2ca49d0dc
Author: Loic Dachary <loic at dachary.org>
Date: Tue Sep 20 17:51:59 2011 +0200
integrate menus
diff --git a/bug/bug/bug.css b/bug/bug/bug.css
index 2b77811..c716e33 100644
--- a/bug/bug/bug.css
+++ b/bug/bug/bug.css
@@ -522,45 +522,45 @@ body {
}
.select .choices .select-top {
- padding-top: 10px;
- background: url('images/select-horizontal.png') repeat-x top left;
+ padding-top: 6px;
+ background: url('images/select-top.png') repeat-x top left;
}
.select .choices .select-bottom {
- padding-bottom: 10px;
- background: url('images/select-horizontal.png') repeat-x bottom left;
+ padding-bottom: 22px;
+ background: url('images/select-bottom.png') repeat-x bottom left;
}
.select .choices .top-left {
background: url('images/select-top-left.png') no-repeat;
- height: 10px;
- width: 10px;
+ width: 12px;
+ height: 6px;
}
.select .choices .top-right {
background: url('images/select-top-right.png') no-repeat;
- height: 10px;
- width: 10px;
+ width: 12px;
+ height: 6px;
}
.select .choices .bottom-left {
background: url('images/select-bottom-left.png') no-repeat;
- height: 10px;
- width: 10px;
+ width: 12px;
+ height: 22px;
}
.select .choices .bottom-right {
background: url('images/select-bottom-right.png') no-repeat;
- height: 10px;
- width: 10px;
+ width: 12px;
+ height: 22px;
}
.select .choices .select-left {
- background: url('images/select-vertical.png') repeat-y top left;
- padding-left: 10px;
+ background: url('images/select-left.png') repeat-y top left;
+ padding-left: 12px;
}
.select .choices .select-right {
- background: url('images/select-vertical.png') repeat-y top right;
- padding-right: 10px;
+ background: url('images/select-right.png') repeat-y top right;
+ padding-right: 12px;
}
diff --git a/bug/bug/images/select-bottom-left.png b/bug/bug/images/select-bottom-left.png
index 1298339..4f9f3ac 100644
Binary files a/bug/bug/images/select-bottom-left.png and b/bug/bug/images/select-bottom-left.png differ
diff --git a/bug/bug/images/select-bottom-right.png b/bug/bug/images/select-bottom-right.png
index d739ef7..c4d483e 100644
Binary files a/bug/bug/images/select-bottom-right.png and b/bug/bug/images/select-bottom-right.png differ
diff --git a/bug/bug/images/select-bottom.png b/bug/bug/images/select-bottom.png
new file mode 100644
index 0000000..59d3da4
Binary files /dev/null and b/bug/bug/images/select-bottom.png differ
diff --git a/bug/bug/images/select-horizontal.png b/bug/bug/images/select-horizontal.png
deleted file mode 100644
index bc8bbe2..0000000
Binary files a/bug/bug/images/select-horizontal.png and /dev/null differ
diff --git a/bug/bug/images/select-left.png b/bug/bug/images/select-left.png
new file mode 100644
index 0000000..df94fdc
Binary files /dev/null and b/bug/bug/images/select-left.png differ
diff --git a/bug/bug/images/select-right.png b/bug/bug/images/select-right.png
new file mode 100644
index 0000000..215d4f8
Binary files /dev/null and b/bug/bug/images/select-right.png differ
diff --git a/bug/bug/images/select-top-left.png b/bug/bug/images/select-top-left.png
index 1cee77d..5f83e24 100644
Binary files a/bug/bug/images/select-top-left.png and b/bug/bug/images/select-top-left.png differ
diff --git a/bug/bug/images/select-top-right.png b/bug/bug/images/select-top-right.png
index 3ee6019..4ba8c83 100644
Binary files a/bug/bug/images/select-top-right.png and b/bug/bug/images/select-top-right.png differ
diff --git a/bug/bug/images/select-top.png b/bug/bug/images/select-top.png
new file mode 100644
index 0000000..c209c6d
Binary files /dev/null and b/bug/bug/images/select-top.png differ
diff --git a/bug/bug/images/select-vertical.png b/bug/bug/images/select-vertical.png
deleted file mode 100644
index a76a3cb..0000000
Binary files a/bug/bug/images/select-vertical.png and /dev/null differ
diff --git a/bug/bug/select.css b/bug/bug/select.css
index 72ba585..2e51eb0 100644
--- a/bug/bug/select.css
+++ b/bug/bug/select.css
@@ -10,6 +10,7 @@
margin: 0;
padding: 0;
height: 180px;
+ width: 130px;
overflow: auto;
}
diff --git a/bug/bug/select.js b/bug/bug/select.js
index b1d99f4..74432c7 100644
--- a/bug/bug/select.js
+++ b/bug/bug/select.js
@@ -24,7 +24,7 @@
$('.choices', element).hide();
$('.choices', element).css({
position: 'absolute',
- top: position.y,
+ top: '37px', // position.y
left: position.x
});
$('.chosen', this).mouseenter(function() {
More information about the Libreoffice-commits
mailing list