123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- /*!
- * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014
- * @package bootstrap-fileinput
- * @version 2.4.0
- *
- * File input styling for Bootstrap 3.0
- * Built for Yii Framework 2.0
- * Author: Kartik Visweswaran
- * Year: 2014
- * For more Yii related demos visit http://demos.krajee.com
- */
- .file-input {
- overflow-x: auto;
- }
- .file-loading {
- top: 0;
- right: 0;
- width: 25px;
- height: 25px;
- font-size: 999px;
- text-align: right;
- color: #fff;
- background: transparent url('../img/loading.gif') top left no-repeat;
- border: none;
- }
- .btn-file {
- position: relative;
- overflow: hidden;
- }
- .btn-file input[type=file] {
- position: absolute;
- top: 0;
- right: 0;
- min-width: 100%;
- min-height: 100%;
- text-align: right;
- opacity: 0;
- filter: alpha(opacity=0);
- opacity: 0;
- background: none repeat scroll 0 0 transparent;
- cursor: inherit;
- display: block;
- }
- .file-caption .glyphicon {
- display: inline-block;
- min-width: 18px;
- float: left;
- margin-top: 2px;
- }
- .file-caption-name {
- display: inline-block;
- float: left;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- width: 85%;
- }
- .file-error-message {
- background-color: #f2dede;
- color: #a94442;
- text-align: center;
- border-radius: 5px;
- padding: 5px;
- }
- .file-caption-disabled {
- background-color: #EEEEEE;
- cursor: not-allowed;
- opacity: 1;
- }
- .file-input .btn[disabled], .file-input .btn .disabled {
- cursor: not-allowed;
- }
- .file-preview {
- border-radius: 5px;
- border: 1px solid #ddd;
- padding: 5px;
- width: 100%;
- margin-bottom: 5px;
- }
- .file-preview-frame {
- display: table;
- margin: 8px;
- height: 160px;
- border: 1px solid #ddd;
- box-shadow: 1px 1px 5px 0px #a2958a;
- padding: 6px;
- float: left;
- text-align: center;
- }
- .file-preview-frame:hover {
- background-color: #eee;
- box-shadow: 2px 2px 5px 0px #333;
- }
- .file-preview-image {
- height: 160px;
- vertical-align: text-center;
- }
- .file-preview-text {
- display: table-cell;
- width: 160px;
- height: 160px;
- color: #428bca;
- font-size: 11px;
- vertical-align: middle;
- text-align: center;
- }
- .file-preview-other {
- display: table-cell;
- width: 160px;
- height: 160px;
- font-family: Monaco, Consolas, monospace;
- font-size: 11px;
- vertical-align: middle;
- text-align: center;
- }
- .file-input-new .file-preview, .file-input-new .close, .file-input-new .glyphicon-file, .file-input-new .fileinput-remove-button, .file-input-new .fileinput-upload-button {
- display: none;
- }
- .loading {
- background: transparent url('../img/loading.gif') no-repeat scroll center center content-box !important;
- }
- .wrap-indicator {
- font-weight: bold;
- color: #245269;
- cursor: pointer;
- }
|