Skip to content
This repository was archived by the owner on May 5, 2022. It is now read-only.

Commit 8684e2f

Browse files
Add files via upload
1 parent da5dfb4 commit 8684e2f

File tree

2 files changed

+51
-8
lines changed

2 files changed

+51
-8
lines changed

resources/app.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
$( document ).ready(function() {
2-
$(function() {
3-
$(".innercont").addClass("hider");
4-
});
2+
$('.file:even').addClass('even');
53
$( ".field h1, .icon" ).click(function() {
6-
$(this).parent().find(".innercont").toggleClass("hider");
4+
$(this).parent().find(".innercont").toggleClass("hide");
75
$(this).parent().find(".icon").toggleClass("icon-up");
86
});
97
});

resources/style.css

Lines changed: 49 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,35 @@
77
display: block;
88
margin-top: 20px;
99
}
10-
fieldset {
10+
fieldset,
11+
.fileplorer {
1112
border: 0;
1213
background-color: #EEE;
1314
margin: 10px 0 10px 0;
1415
}
16+
17+
.fileplorer {
18+
padding-left: 10px;
19+
padding-right: 10px;
20+
padding-bottom: 12px;
21+
padding-top: 5.6px;
22+
}
1523
h1 {
1624
cursor: pointer;
25+
display: inline-block;
1726
}
18-
h1:after {
27+
.icon {
28+
cursor: pointer;
29+
display: inline-block;
1930
background-image: url('gfx/more.svg');
2031
background-size: 60px 60px;
2132
height: 45px;
2233
width: 60px;
2334
content:"";
2435
float: right;
25-
margin-top: -16px;
36+
}
37+
.icon-up {
38+
background-image: url('gfx/less.svg');
2639
}
2740
.wrapper {
2841
width: 960px;
@@ -38,7 +51,7 @@
3851
padding: 5px;
3952
font-size: 110%;
4053
}
41-
.hider {
54+
.hide {
4255
display: none;
4356
}
4457
.status {
@@ -72,6 +85,7 @@
7285
padding: 8px;
7386
width: 280px;
7487
}
88+
7589
.info {
7690
margin-top: 0;
7791
font-size: 80%;
@@ -90,6 +104,37 @@
90104
background-color: #2c6db2;
91105
cursor: pointer;
92106
}
107+
div.galerie{
108+
padding: 3px;
109+
background-color:#ebebeb;
110+
border:1px solid #CCC;
111+
float:left;
112+
margin:10px 10px 0 0;
113+
font-family:Arial, Helvetica, sans-serif;
114+
}
115+
div.galerie:hover{
116+
border:1px solid #333;
117+
}
118+
div.galerie span{
119+
display:block;
120+
text-align:center;
121+
font-size:10px;
122+
}
123+
div.galerie a img{
124+
border:none;
125+
}
126+
div.file {
127+
padding:4px 4px 4px 30px;
128+
}
129+
div.file.even{
130+
background-color: #ebebeb;
131+
}
132+
div.file a {
133+
text-decoration:none;
134+
}
135+
div.file:hover {
136+
background-color:#CCC;
137+
}
93138
@media (max-width: 960px) {
94139
.wrapper {
95140
width: 100%;

0 commit comments

Comments
 (0)