-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgridDirective.css
More file actions
96 lines (88 loc) · 1.86 KB
/
gridDirective.css
File metadata and controls
96 lines (88 loc) · 1.86 KB
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
.options-selector{
text-align: center;
position: relative;
margin: 0 auto;
padding: 0;
top: 15px;
height: 75%;
}
.option-container{
box-sizing: border-box;
display: inline-block;
height: 45%;
padding: 8px;
/*padding: 1.5px;*/
position: relative;
vertical-align: top;
width: 25%;
background-color: #f3f3f3;
}
.option-container a{
border-radius: 2px;
box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
display: block;
font-size: 0;
height: 100%;
overflow: hidden;
position: relative;
white-space: nowrap;
}
.option-container .backdrop-white {
background: none repeat scroll 0 0 rgba(255, 255, 255, 0.1);
bottom: 0;
left: 0;
opacity: 0;
position: absolute;
right: 0;
top: 0;
z-index: 2;
}
.option-container .backdrop-white, .option-container .option-link .option-name {
transition: all 0.2s ease 0s;
}
.option-container .option-link .option-backdrop {
background-color: rgba(0, 0, 0, 0.4);
background-repeat: repeat-x;
bottom: 0;
left: 0;
position: absolute;
right: 0;
top: 0;
z-index: 1;
}
.option-container .option-link .option-name {
bottom: 75px;
box-sizing: border-box;
color: #fff;
display: inline-block;
font-size: 24px;
left: 0;
margin-bottom: 15px;
position: absolute;
right: 0;
text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
vertical-align: bottom;
white-space: normal;
width: 100%;
z-index: 2;
}
.option-container .option-link .option-image {
background-image: url(background.jpg);
background-size: 100% 100%;
bottom: 0;
display: inline-block;
/*height: 145px;*/
height: 100%;
left: 0;
position: absolute;
right: 0;
top: 0;
vertical-align: middle;
/*width: 216px;*/
}
.option-container .option-link:hover .option-name, .option-container .option-link:focus .option-name {
transform: scale(1.1) translateY(-5px);
}
.option-container .option-link:hover .backdrop-white, .option-container .option-link:focus .backdrop-white {
opacity: 1;
}