summaryrefslogtreecommitdiffstats
path: root/core/css/apps.css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2015-09-07 14:03:57 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2015-09-07 14:03:57 +0200
commit004de1425e23649ca011a8d57d09ec2280583b8a (patch)
tree99e8043118dd73922f152b65da0d1ebc688bd4a9 /core/css/apps.css
parenta35bc974bbeb3f037af3dbc0a6acbd56599fa847 (diff)
parent4ba233350746b4287556d96bb9adbae039f93882 (diff)
downloadnextcloud-server-004de1425e23649ca011a8d57d09ec2280583b8a.tar.gz
nextcloud-server-004de1425e23649ca011a8d57d09ec2280583b8a.zip
Merge pull request #18630 from owncloud/files-combineuploadbutton
Combine upload action into the "New" menu
Diffstat (limited to 'core/css/apps.css')
-rw-r--r--core/css/apps.css65
1 files changed, 65 insertions, 0 deletions
diff --git a/core/css/apps.css b/core/css/apps.css
index 4118e6ea668..0371f2bbde7 100644
--- a/core/css/apps.css
+++ b/core/css/apps.css
@@ -629,3 +629,68 @@ em {
.tabsContainer .tab {
padding: 15px;
}
+
+/* popover menu styles (use together with "bubble" class) */
+.popovermenu .menuitem,
+.popovermenu .menuitem>span {
+ cursor: pointer;
+}
+
+.popovermenu .menuitem {
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
+ filter: alpha(opacity=50);
+ opacity: .5;
+}
+
+.popovermenu .menuitem:hover,
+.popovermenu .menuitem:focus {
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
+ filter: alpha(opacity=100);
+ opacity: 1;
+}
+
+.popovermenu {
+ padding: 4px 12px;
+}
+
+.popovermenu li {
+ padding: 5px 0;
+}
+
+.popovermenu .menuitem img {
+ padding: initial;
+}
+
+.popovermenu a.menuitem,
+.popovermenu label.menuitem,
+.popovermenu .menuitem {
+ padding: 10px;
+ margin: -10px;
+}
+
+.popovermenu.hidden {
+ display: none;
+}
+
+.popovermenu .menuitem {
+ display: block;
+ line-height: 30px;
+ padding-left: 5px;
+ color: #000;
+ padding: 0;
+}
+
+.popovermenu .menuitem .icon,
+.popovermenu .menuitem .no-icon {
+ display: inline-block;
+ width: 16px;
+ margin-right: 10px;
+}
+
+.popovermenu .menuitem {
+ opacity: 0.5;
+}
+
+.popovermenu li:hover .menuitem {
+ opacity: 1;
+}