summaryrefslogtreecommitdiffstats
path: root/core/css/apps.css
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-08-27 13:22:58 +0200
committerVincent Petry <pvince81@owncloud.com>2015-08-28 17:27:48 +0200
commit59273a8863ecc0aa570f56e024cb1a22d424111a (patch)
treede68a1c0978ec00e3dd81a9862a7cc51e9408b5c /core/css/apps.css
parentefeef958a3e707c06f25dc6e473d1b49edf88b07 (diff)
downloadnextcloud-server-59273a8863ecc0aa570f56e024cb1a22d424111a.tar.gz
nextcloud-server-59273a8863ecc0aa570f56e024cb1a22d424111a.zip
Combine upload action into the "New" menu
Refactored the new menu to be encapsulated in the NewFileMenu JS class
Diffstat (limited to 'core/css/apps.css')
-rw-r--r--core/css/apps.css73
1 files changed, 73 insertions, 0 deletions
diff --git a/core/css/apps.css b/core/css/apps.css
index 846eba8e4bf..c11bfb3cadf 100644
--- a/core/css/apps.css
+++ b/core/css/apps.css
@@ -624,3 +624,76 @@ 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 {
+ -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: 5px;
+}
+
+.popovermenu .menuitem {
+ opacity: 0.5;
+}
+
+.popovermenu li:hover .menuitem {
+ opacity: 1;
+}
+