Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8dbd358

Browse files
committed
Add theme for bootstrap
1 parent c7797de commit 8dbd358

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

‎README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,7 @@ use rkit\fileapi\Widget as FileApi;
209209
])?>
210210
</li>
211211
```
212+
213+
## Theme for bootstrap
214+
215+
See in [assets/css/style.css](assets/css/style.css)

‎assets/css/style.css

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
.fileapi {
2+
overflow: hidden;
3+
clear: both;
4+
}
5+
.fileapi .btn {
6+
position: relative;
7+
clear: both;
8+
}
9+
10+
.fileapi-browse input {
11+
border: none;
12+
outline: none;
13+
opacity: 0;
14+
filter: alpha(opacity=0);
15+
position: absolute;
16+
cursor: pointer;
17+
top: -20px;
18+
bottom: 0;
19+
left: 0;
20+
right: 0;
21+
}
22+
23+
.fileapi-progress {
24+
display: none;
25+
}
26+
.fileapi-progress .progress {
27+
margin-bottom: 0 !important;
28+
}
29+
30+
.fileapi-preview {
31+
float: left;
32+
position: relative;
33+
margin-top: 10px;
34+
overflow: hidden;
35+
clear: both;
36+
}
37+
.fileapi-preview img { max-height: 200px; }
38+
.fileapi-preview-delete {
39+
display: none;
40+
position: absolute;
41+
top: 0;
42+
bottom: 0;
43+
left: 0;
44+
right: 0;
45+
color: #ffffff;
46+
}
47+
48+
.fileapi-preview-delete span {
49+
position: absolute;
50+
left: 50%;
51+
top: 50%;
52+
margin-left: -8px;
53+
margin-top: -8px;
54+
}
55+
56+
.fileapi-preview:hover .fileapi-preview-delete {
57+
display: block;
58+
background: #f38083;
59+
opacity: 0.9;
60+
filter: alpha(opacity=0.9);
61+
cursor: pointer;
62+
}
63+
64+
.fileapi-preview > span.fileapi-preview-wrapper,
65+
.fileapi-preview > span.fileapi-preview-wrapper > canvas {
66+
display: block;
67+
}
68+
69+
.fileapi-files {
70+
list-style: none;
71+
padding: 10px 0px 0px 0px;
72+
}
73+
.fileapi-files li {
74+
padding-bottom: 5px
75+
}
76+
77+
.fileapi-files .btn {
78+
padding: 3px;
79+
}
80+
81+
.fileapi-files input {
82+
display: inline-block;
83+
width: 300px;
84+
font-size: 13px
85+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /