Browse Source

Fixup styles

Chimo 8 months ago
parent
commit
d25e6a84c0
2 changed files with 34 additions and 1 deletions
  1. 2
    0
      FileManagerPlugin.php
  2. 32
    1
      css/file-manager.css

+ 2
- 0
FileManagerPlugin.php View File

@@ -27,6 +27,8 @@ class FileManagerPlugin extends Plugin
27 27
 
28 28
     function onEndShowStyles($action) {
29 29
         $action->cssLink($this->path('css/file-manager.css'));
30
+
31
+        return true;
30 32
     }
31 33
 
32 34
     /**

+ 32
- 1
css/file-manager.css View File

@@ -1,3 +1,34 @@
1
+#filesadminpanel #core * {
2
+    box-sizing: border-box;
3
+}
4
+
5
+#filesadminpanel #pagination {
6
+    box-sizing: content-box;
7
+}
8
+
9
+#filesadminpanel #site_nav_local_views_wrapper {
10
+    background: #fff;
11
+    border: 0;
12
+}
13
+
14
+#filesadminpanel #aside_primary,
15
+#filesadminpanel #site_nav_local_views {
16
+    display: none;
17
+}
18
+
19
+#filesadminpanel #core {
20
+    border-left: 0;
21
+    border-right: 0;
22
+    float: none;
23
+    width: auto;
24
+}
25
+
26
+#filesadminpanel #content {
27
+    padding-left: 0;
28
+    padding-right: 0;
29
+}
30
+
31
+#filesadminpanel #content,
1 32
 .chr-files {
2 33
     width: 100%;
3 34
 }
@@ -31,7 +62,7 @@
31 62
     padding-left: 10px;
32 63
 }
33 64
 
34
-.file-thumbnail {
65
+.chr-files .file-thumbnail {
35 66
     height: auto;
36 67
     max-height: 96px;
37 68
     max-width: 96px;

Loading…
Cancel
Save