portfolio.scss
2.1 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
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
@import '../../global/_variables'; // global variables.
@import '../../global/components/_mixins'; // global mixings.
/***
Portfolio
***/
/*Portfolio Filter*/
.mix-filter {
list-style: none;
margin:0 0 20px 0;
padding: 0;
}
.mix-filter li {
color: #555;
cursor: pointer;
padding: 6px 15px;
margin-right: 2px;
margin-bottom: 5px;
background: #eee;
display: inline-block;
}
.mix-filter li:hover,
.mix-filter li.active {
color: #fff;
background: #0da3e2;
}
.mix-grid .mix {
opacity: 0;
display: none;
}
/*Portfolio Hover*/
.mix-grid .mix {
position: relative;
overflow: hidden;
margin-bottom: 15px;
}
.mix-grid .mix .mix-inner {
position: relative;
width: 100%;
}
.mix-grid .mix .mix-details {
padding: 5px;
color: #fff;
width: 100%;
height: 100%;
bottom: -100%;
text-align: center;
position: absolute;
background: #0da3e2;
transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
}
.mix-grid .mix:hover .mix-details {
bottom: 0;
transition: all 0.5s ease;
-o-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-webkit-transition: all 0.5s ease;
}
.mix-grid .mix .mix-details h4 {
color: #fff;
margin-top: 30px;
}
.mix-grid .mix .mix-details p {
padding: 0 30px;
}
.mix-grid .mix .mix-details i {
color: #fff;
font-size: 14px;
}
.mix-grid .mix a.mix-link,
.mix-grid .mix a.mix-preview {
color: #555;
display: block;
cursor: pointer;
margin-top: 10px;
position: absolute;
padding: 10px 15px;
background: #16b2f4;
}
.mix-grid .mix a.mix-preview {
left: 50%;
margin-left: 5px;
}
.mix-grid .mix a.mix-link {
right: 50%;
margin-right: 5px;
}
.mix-grid .mix a.mix-link:hover,
.mix-grid .mix a.mix-preview:hover {
color: #fff;
padding: 9px 14px;
text-decoration: none;
border: solid 1px #eee;
}
/* Portrait tablet to landscape and desktop */
@media (min-width: 992px) {
.mix-grid .mix.col-md-6.col-sm-6 .mix-details {
height: 50%;
}
}
@media (min-width: 768px) and (max-width: 991px) {
.mix-grid .mix a.mix-link,
.mix-grid .mix a.mix-preview {
margin-top: 5px;
}
}