[239] | 1 | <?php
|
---|
| 2 |
|
---|
| 3 | /** This file is part of KCFinder project
|
---|
| 4 | *
|
---|
| 5 | * @desc Base CSS definitions
|
---|
| 6 | * @package KCFinder
|
---|
| 7 | * @version 2.2
|
---|
| 8 | * @author Pavel Tzonkov <pavelc@users.sourceforge.net>
|
---|
| 9 | * @copyright 2010 KCFinder Project
|
---|
| 10 | * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2
|
---|
| 11 | * @license http://www.opensource.org/licenses/lgpl-2.1.php LGPLv2
|
---|
| 12 | * @link http://kcfinder.sunhater.com
|
---|
| 13 | */
|
---|
| 14 |
|
---|
| 15 | chdir("..");
|
---|
| 16 | require "core/autoload.php";
|
---|
| 17 | $mtime = @filemtime(__FILE__);
|
---|
| 18 | if ($mtime) httpCache::checkMTime($mtime);
|
---|
| 19 | $browser = new browser();
|
---|
| 20 | $config = $browser->config;
|
---|
| 21 | ob_start();
|
---|
| 22 |
|
---|
| 23 | ?>
|
---|
| 24 | html, body {
|
---|
| 25 | overflow: hidden;
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 | body, form, th, td {
|
---|
| 29 | margin: 0;
|
---|
| 30 | padding: 0;
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | a {
|
---|
| 34 | cursor:pointer;
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | * {
|
---|
| 38 | font-family: Tahoma, Verdana, Arial, sans-serif;
|
---|
| 39 | font-size: 11px;
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | table {
|
---|
| 43 | border-collapse: collapse;
|
---|
| 44 | }
|
---|
| 45 |
|
---|
| 46 | #all {
|
---|
| 47 | vvisibility: hidden;
|
---|
| 48 | }
|
---|
| 49 |
|
---|
| 50 | #left {
|
---|
| 51 | float: left;
|
---|
| 52 | display: block;
|
---|
| 53 | width: 25%;
|
---|
| 54 | }
|
---|
| 55 |
|
---|
| 56 | #right {
|
---|
| 57 | float: left;
|
---|
| 58 | display: block;
|
---|
| 59 | width: 75%;
|
---|
| 60 | }
|
---|
| 61 |
|
---|
| 62 | #settings {
|
---|
| 63 | display: none;
|
---|
| 64 | padding: 0;
|
---|
| 65 | float: left;
|
---|
| 66 | width: 100%;
|
---|
| 67 | }
|
---|
| 68 |
|
---|
| 69 | #settings > div {
|
---|
| 70 | float: left;
|
---|
| 71 | }
|
---|
| 72 |
|
---|
| 73 | #folders {
|
---|
| 74 | padding: 5px;
|
---|
| 75 | overflow: auto;
|
---|
| 76 | }
|
---|
| 77 |
|
---|
| 78 | #toolbar {
|
---|
| 79 | padding: 5px;
|
---|
| 80 | }
|
---|
| 81 |
|
---|
| 82 | #files {
|
---|
| 83 | padding: 5px;
|
---|
| 84 | overflow: auto;
|
---|
| 85 | }
|
---|
| 86 |
|
---|
| 87 | #status {
|
---|
| 88 | padding: 5px;
|
---|
| 89 | float: left;
|
---|
| 90 | overflow: hidden;
|
---|
| 91 | }
|
---|
| 92 |
|
---|
| 93 | #fileinfo {
|
---|
| 94 | float: left;
|
---|
| 95 | }
|
---|
| 96 |
|
---|
| 97 | #clipboard div {
|
---|
| 98 | width: 16px;
|
---|
| 99 | height: 16px;
|
---|
| 100 | }
|
---|
| 101 |
|
---|
| 102 | .folders {
|
---|
| 103 | margin-left: 16px;
|
---|
| 104 | }
|
---|
| 105 |
|
---|
| 106 | div.file {
|
---|
| 107 | overflow-x: hidden;
|
---|
| 108 | width: <?php echo $config['thumbWidth'] ?>px;
|
---|
| 109 | float: left;
|
---|
| 110 | text-align: center;
|
---|
| 111 | cursor: default;
|
---|
| 112 | white-space: nowrap;
|
---|
| 113 | }
|
---|
| 114 |
|
---|
| 115 | div.file .thumb {
|
---|
| 116 | width: <?php echo $config['thumbWidth'] ?>px;
|
---|
| 117 | height: <?php echo $config['thumbHeight'] ?>px;
|
---|
| 118 | background: no-repeat center center;
|
---|
| 119 | }
|
---|
| 120 |
|
---|
| 121 | #files table {
|
---|
| 122 | width: 100%;
|
---|
| 123 | }
|
---|
| 124 |
|
---|
| 125 | tr.file {
|
---|
| 126 | cursor: default;
|
---|
| 127 | }
|
---|
| 128 |
|
---|
| 129 | tr.file > td {
|
---|
| 130 | white-space: nowrap;
|
---|
| 131 | }
|
---|
| 132 |
|
---|
| 133 | tr.file > td.name {
|
---|
| 134 | background-repeat: no-repeat;
|
---|
| 135 | background-position: left center;
|
---|
| 136 | padding-left: 20px;
|
---|
| 137 | width: 100%;
|
---|
| 138 | }
|
---|
| 139 |
|
---|
| 140 | tr.file > td.time,
|
---|
| 141 | tr.file > td.size {
|
---|
| 142 | text-align: right;
|
---|
| 143 | }
|
---|
| 144 |
|
---|
| 145 | #toolbar {
|
---|
| 146 | cursor: default;
|
---|
| 147 | white-space: nowrap;
|
---|
| 148 | }
|
---|
| 149 |
|
---|
| 150 | #toolbar a {
|
---|
| 151 | padding-left: 20px;
|
---|
| 152 | text-decoration: none;
|
---|
| 153 | background: no-repeat left center;
|
---|
| 154 | }
|
---|
| 155 |
|
---|
| 156 | #toolbar a:hover, a[href="#upload"].uploadHover {
|
---|
| 157 | color: #000;
|
---|
| 158 | }
|
---|
| 159 |
|
---|
| 160 | #upload {
|
---|
| 161 | position: absolute;
|
---|
| 162 | overflow: hidden;
|
---|
| 163 | opacity: 0;
|
---|
| 164 | filter: alpha(opacity:0);
|
---|
| 165 | }
|
---|
| 166 |
|
---|
| 167 | #upload input {
|
---|
| 168 | cursor: pointer;
|
---|
| 169 | }
|
---|
| 170 |
|
---|
| 171 | #uploadResponse {
|
---|
| 172 | display: none;
|
---|
| 173 | }
|
---|
| 174 |
|
---|
| 175 | span.brace {
|
---|
| 176 | padding-left: 11px;
|
---|
| 177 | cursor: default;
|
---|
| 178 | }
|
---|
| 179 |
|
---|
| 180 | span.brace.opened, span.brace.closed {
|
---|
| 181 | cursor: pointer;
|
---|
| 182 | }
|
---|
| 183 |
|
---|
| 184 | #shadow {
|
---|
| 185 | position: absolute;
|
---|
| 186 | top: 0;
|
---|
| 187 | left: 0;
|
---|
| 188 | display: none;
|
---|
| 189 | background: #fff;
|
---|
| 190 | z-index: 100;
|
---|
| 191 | opacity: 0.5;
|
---|
| 192 | filter: alpha(opacity:50);
|
---|
| 193 | }
|
---|
| 194 |
|
---|
| 195 | #dialog, #clipboard {
|
---|
| 196 | position: absolute;
|
---|
| 197 | display: none;
|
---|
| 198 | z-index: 101;
|
---|
| 199 | cursor: default;
|
---|
| 200 | }
|
---|
| 201 |
|
---|
| 202 | #clipboard {
|
---|
| 203 | z-index: 99;
|
---|
| 204 | }
|
---|
| 205 |
|
---|
| 206 | #loading {
|
---|
| 207 | display: none;
|
---|
| 208 | float: right;
|
---|
| 209 | }
|
---|
| 210 |
|
---|
| 211 | .menu {
|
---|
| 212 | background: #888;
|
---|
| 213 | white-space: nowrap;
|
---|
| 214 | }
|
---|
| 215 |
|
---|
| 216 | .menu a {
|
---|
| 217 | display: block;
|
---|
| 218 | }
|
---|
| 219 |
|
---|
| 220 | .menu .list {
|
---|
| 221 | max-height: 0;
|
---|
| 222 | overflow-y: auto;
|
---|
| 223 | overflow-x: hidden;
|
---|
| 224 | white-space: nowrap;
|
---|
| 225 | }
|
---|
| 226 |
|
---|
| 227 | .file .access, .file .hasThumb {
|
---|
| 228 | display: none;
|
---|
| 229 | }
|
---|
| 230 |
|
---|
| 231 | #dialog img {
|
---|
| 232 | cursor: pointer;
|
---|
| 233 | }
|
---|
| 234 |
|
---|
| 235 | #resizer {
|
---|
| 236 | position: absolute;
|
---|
| 237 | z-index: 98;
|
---|
| 238 | top: 0;
|
---|
| 239 | background: #000;
|
---|
| 240 | opacity: 0;
|
---|
| 241 | filter: alpha(opacity:0);
|
---|
| 242 | }
|
---|
| 243 | <?php
|
---|
| 244 |
|
---|
| 245 | header("Content-Type: text/css");
|
---|
| 246 | echo text::compressCSS(ob_get_clean());
|
---|