summaryrefslogtreecommitdiffstats
path: root/core/css/mobile.css
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2014-02-28 19:28:29 +0100
committerkondou <kondou@ts.unde.re>2014-02-28 19:28:29 +0100
commit3c11dc0006d5a3722b37bed274d8d19be219b6b2 (patch)
tree15d163dbd8ce5c1b3ad0a554906d07481f259fbf /core/css/mobile.css
parent88882e3fa73cc21b96c2877a3d527bea56b6be11 (diff)
parent88c9ae129e7dcc0e10aee682c8d4fa31b93b614c (diff)
downloadnextcloud-server-3c11dc0006d5a3722b37bed274d8d19be219b6b2.tar.gz
nextcloud-server-3c11dc0006d5a3722b37bed274d8d19be219b6b2.zip
Merge branch 'master' into hide_remove_image_avatar
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;
+}
+
+
+}