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