summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2016-12-03 09:20:39 +0100
committerGitHub <noreply@github.com>2016-12-03 09:20:39 +0100
commitcd2c17bf83b41fef60b71d1430ae6ad973f946a1 (patch)
tree34d1d4c9c87c5f5ed8a352772215814467ff0134 /settings
parent181cf9c7f3f0cc9721bed5c64c6f02bee62f0257 (diff)
parentf82a40d478a54389f286b1fbf36d5e5f40618388 (diff)
downloadnextcloud-server-cd2c17bf83b41fef60b71d1430ae6ad973f946a1.tar.gz
nextcloud-server-cd2c17bf83b41fef60b71d1430ae6ad973f946a1.zip
Merge pull request #2434 from nextcloud/app-list-grow
dont grow items in the app list
Diffstat (limited to 'settings')
-rw-r--r--settings/css/settings.css45
1 files changed, 41 insertions, 4 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 23d6cd98007..1cdfcc77515 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -231,7 +231,7 @@ table.nostyle td { padding: 0.2em 0; }
text-align: right;
}
#sessions .token-list td > a.icon,
-#apppasswords .token-list td > a.icon {
+#apppasswords .token-list td > a.icon {
opacity: 0;
transition: opacity 0.5s;
}
@@ -538,13 +538,50 @@ span.version {
}
#apps-list .section {
position: relative;
- flex: 1 0 330px;
- margin: 0;
- padding-right: 50px;
+ flex: 0 0 auto;
+ margin-left: 20px;
}
#apps-list .section.apps-experimental {
flex-basis: 90%;
}
+
+@media (min-width: 1601px) {
+ #apps-list .section {
+ width: 22%;
+ box-sizing: border-box;
+ }
+ #apps-list .section:nth-child(4n) {
+ margin-right: 20px;
+ }
+}
+
+@media (min-width: 1201px) and (max-width: 1600px) {
+ #apps-list .section {
+ width: 30%;
+ box-sizing: border-box;
+ }
+ #apps-list .section:nth-child(3n) {
+ margin-right: 20px;
+ }
+}
+
+@media (min-width: 901px) and (max-width: 1200px), (min-width: 601px) and (max-width: 770px) {
+ #apps-list .section {
+ width: 40%;
+ box-sizing: border-box;
+ }
+ #apps-list .section:nth-child(2n) {
+ margin-right: 20px;
+ }
+}
+
+@media (max-width: 600px), (min-width: 771px) and (max-width: 900px) {
+ #apps-list .section {
+ width: 100%;
+ box-sizing: border-box;
+ }
+}
+
.section h2.app-name {
margin-bottom: 8px;
display: inline;