-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdesktopicons.css
209 lines (193 loc) · 4.33 KB
/
desktopicons.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
/*********************************** folder icons *************************************/
/* Folder Text */
.folder span {
position: absolute;
top: 60px; /*location*/
left: -7px;
width:100px;
white-space: nowrap;
overflow:hidden;
text-overflow: ellipsis;
color: #fff;
text-shadow: 2px 2px 2px #333;
text-align: center;
}
/* Back Flap of Folder */
.folder{
width: 85px;
height: 55px;
background: #ffd480;
position: absolute;
border-top-right-radius: 5px;
cursor: pointer;
}
/* Folder Top Tab */
.folder::before{
width: 20px;
height: 15px;
content: '';
background: #ffd480;
position: absolute;
top: -5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
/* Folder Front Flap */
.folder::after{
width: 85px;
height: 50px;
content: '';
background: #ffcb66;
position: absolute;
top: 5px;
box-shadow: 0 0 20px 2px rgba(64, 53, 32, 0.5); /*toned down colour of folder*/
border-top-left-radius: 5px;
border-top-right-radius: 5px;
/*-webkit-transition: all 400ms ease;*/
transition: all 400ms ease;
}
/* Hover Effects */
.folder:hover::after{
-webkit-transform:translate(4px, 7px) rotateX(-45deg) skew(-10deg, 0deg);
transform: translate(4px, 7px) rotateX(-45deg) skew(-10deg, 0deg);
}
/**************** Document Icons ********************/
.document span{
position: absolute;
top: 60px; /*location*/
left: -7px;
width:100px;
white-space: nowrap;
overflow:hidden;
text-overflow: ellipsis;
color: #fff;
text-shadow: 2px 2px 2px #333;
text-align: center;
margin-left:-17.5px;
margin-top:15px;
}
.document{
width: 55px;
height: 75px;
position: absolute;
margin-top: -15px;
background-color: #ddd;
margin-left:17.5px;
border-radius: 2px;
cursor: pointer;
background: repeating-linear-gradient(0deg, #fff, #fff 3px, rgba(100,100,100, 1) 1px, rgba(100,100,100,1) 4px);
box-shadow: -3px 3px 10px 2px rgba(64, 53, 32, 0.5); /*toned down colour of folder*/
z-index:-1; /*hides corner animation*/
}
.document::before{
content:'';
width: 55px;
height: 75px;
position: absolute;
margin-top: -15px;
background-color: #ddd;
margin-left:17.5px;
border-radius: 2px;
left:-25px;
top:12px;
cursor: pointer;
background: repeating-linear-gradient(0deg, #fff, #fff 3px, rgba(100,100,100, 1) 1px, rgba(100,100,100,1) 4px);
box-shadow: -3px 3px 10px 2px rgba(64, 53, 32, 0.5); /*toned down colour of folder*/
filter: blur(0.1px);
transform: rotateZ(-15deg);
z-index: -1;
}
.document::after{
content: '';
position: absolute;
width: 0;
height: 0;
top:0;
right:0;
background-image: linear-gradient(30deg, #aaa 0%, #aaa 30%, #396DA6 31%, #396DA6 60%,transparent 75%, transparent 100%);
-webkit-transition: all 400ms ease;
transition: all 400ms ease;
}
.document:hover::after{
top: -14px;
right: -11px;
width:35px;
height: 35px;
box-shadow: -1px 10px 2px -5px rgba(0,0,0,0.25);
transform: translate(8px, 5px) rotateZ(30deg) skew(-10deg, 0deg);
}
/*************** POST IT *************************************/
@import url('https://fonts.googleapis.com/css?family=Indie+Flower');
.post-it-note {
font-family: 'Indie Flower', cursive;
/*padding: 2em;*/
background: #ffd707;
position: absolute;
height: 15em;
width:250px;
}
#highScores {
overflow: scroll;
padding:25px;
height: 210px;
width:250px;
overflow-x:hidden;
font-family: 'Indie Flower', cursive;
text-align: center;
}
.post-it-note:after {
content: "High Scores";
text-align: center;
font-size: 18px;
position: absolute;
padding-top: 1em;
top: -1.5em;
width: 223px;
/*min-height:4em;*/
left: 0;
right: 2em;
border-width: 0;
border-style: solid;
background-color: #ffd707;
text-decoration: underline;
font-weight: bold;
}
.post-it-note:before {
content: "";
position: absolute;
top: -27px;
right: 0;
border-width: 0 2em 2em 0;
border-style: solid;
border-color: #d3b100 transparent;
}
/****************************************************/
.notepad {
position: absolute;
height:500px;
width:500px;
padding: 15px;
top:350px;
left:800px;
background: #fff;
border: 8px solid #c3c3c3;
}
.notepad:before {
content: attr(data-title);
position: absolute;
font-style: italic;
top: -30px;
left: -8px;
width: 500px;
background: #c3c3c3;
padding: 5px 65px 5px 25px;
}
.notepad:after {
content: 'X';
position: absolute;
background: #99f;
text-align: center;
padding: 5px;
top: -30px;
right: 0;
}