summaryrefslogtreecommitdiffstats
path: root/core/css/mobile.css
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-02-21 15:51:41 +0100
committerRobin Appelman <icewind@owncloud.com>2014-02-21 15:51:41 +0100
commitf1475671aba59e33442ca5f4121e49782eabe974 (patch)
tree33b049bac3cb2fcf86f7acfcc728e5fb6e2322e1 /core/css/mobile.css
parentb060a17b59f7117a670f09550215cb005dd822bc (diff)
parentaa0bcf7ba45d004b0c0226fd07696f9f224f9c1c (diff)
downloadnextcloud-server-f1475671aba59e33442ca5f4121e49782eabe974.tar.gz
nextcloud-server-f1475671aba59e33442ca5f4121e49782eabe974.zip
Merge branch 'master' into extstorage-configclass
Diffstat (limited to 'core/css/mobile.css')
-rw-r--r--core/css/mobile.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/core/css/mobile.css b/core/css/mobile.css
new file mode 100644
index 00000000000..a63aa902d34
--- /dev/null
+++ b/core/css/mobile.css
@@ -0,0 +1,22 @@
+@media only screen and (max-width: 600px) {
+
+/* compress search box on mobile, expand when focused */
+.searchbox input[type="search"] {
+ width: 15%;
+ -webkit-transition: width 100ms;
+ -moz-transition: width 100ms;
+ -o-transition: width 100ms;
+ transition: width 100ms;
+}
+.searchbox input[type="search"]:focus,
+.searchbox input[type="search"]:active {
+ width: 155px;
+}
+
+/* do not show display name on mobile when profile picture is present */
+#header .avatardiv.avatardiv-shown + #expandDisplayName {
+ display: none;
+}
+
+
+}