[Pkg-owncloud-commits] [owncloud] 50/61: fix yellow notification style
David Prévot
taffit at moszumanska.debian.org
Thu Jul 31 03:51:48 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 32cec6cae43ff0d72632657749c789d4c4d36279
Author: Jan-Christoph Borchardt <hey at jancborchardt.net>
Date: Wed Jul 30 18:02:53 2014 +0200
fix yellow notification style
---
core/css/styles.css | 13 ++++++++++---
core/js/js.js | 4 ++--
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/core/css/styles.css b/core/css/styles.css
index 4ac43f4..066126b 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -685,20 +685,27 @@ label.infield {
top: 0;
width: 100%;
text-align: center;
- line-height: 1.2;
}
#notification, #update-notification {
+ margin: 0 auto;
z-index: 101;
background-color: #fc4;
border: 0;
- padding: 0 .7em .3em;
+ padding: 1px 8px;
display: none;
position: relative;
top: 0;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
+ -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
+ filter:alpha(opacity=90);
+ opacity: .9;
+}
+#notification span, #update-notification span {
+ cursor: pointer;
+ font-weight: bold;
+ margin-left: 1em;
}
-#notification span, #update-notification span { cursor:pointer; font-weight:bold; margin-left:1em; }
tr .action:not(.permanent), .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; }
tr:hover .action, tr .action.permanent, .selectedActions a { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter:alpha(opacity=50); opacity:.5; }
diff --git a/core/js/js.js b/core/js/js.js
index 5c9d7bf..60f9cc1 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -696,7 +696,7 @@ OC.Notification={
var notification = $('#notification');
if((notification.filter('span.undo').length == 1) || OC.Notification.isHidden()){
notification.html(html);
- notification.fadeIn().css("display","inline");
+ notification.fadeIn().css('display','inline-block');
}else{
OC.Notification.queuedNotifications.push(html);
}
@@ -710,7 +710,7 @@ OC.Notification={
var notification = $('#notification');
if((notification.filter('span.undo').length == 1) || OC.Notification.isHidden()){
notification.text(text);
- notification.fadeIn().css("display","inline");
+ notification.fadeIn().css('display','inline-block');
}else{
OC.Notification.queuedNotifications.push($('<div/>').text(text).html());
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list