summaryrefslogtreecommitdiff
path: root/assets/css/scss/elements/_clients.scss
blob: 0b8cfb630b6225380851de61317568d3fd189e4e (plain) (blame)
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
//
// Clients Styles //
//
.client-box {
	text-align: center;
	a {
		img {
			opacity: 0.4;
			@include transition(ease-out 0.16s);
		}
		&:hover, &:focus {
			img {
				opacity: 1;
			}
		}
	}
}
.owl-carousel {
	.client-box {
		img { display: inline-block; }
	}
}
//
// Clients Grid //
//
.clients-grid {
	list-style-type: none;
	overflow: hidden;
	margin: 0;
	padding: 0;
	text-align: center;
	li {
		position: relative;
		float: left;
		width: 16.6%;
		margin: 0;
		padding: 30px;
		&:before, &:after {
			content: '';
			position: absolute;
		}
		&:before {
			top: 0;
			left: -1px;
			height: 100%;
			border-left: 1px dashed $color-black-01;
		}
		&:after {
			left: 0;
			bottom: -1px;
			width: 100%;
			border-bottom: 1px dashed $color-black-01;
		}
		a {
			img {
				opacity: 0.4;
				@include transition(ease-out 0.16s);
			}
			&:hover, &:focus {
				img {
					opacity: 1;
				}
			}
		}
	}
	@include breakpoint-less(md) {
		li { width: 25%; }
	}
	@include breakpoint-less(sm) {
		li { width: 33.3%; }
	}
	@include breakpoint-less(xs) {
		li { width: 50%; }
	}
	&.column-5 {
		li { width: 20%; }
		@include breakpoint-less(md) {
			li { width: 25%; }
		}
		@include breakpoint-less(sm) {
			li { width: 33.3%; }
		}
		@include breakpoint-less(xs) {
			li { width: 50%; }
		}
	}
	&.column-4 {
		li { width: 25%; }
		@include breakpoint-less(sm) {
			li { width: 33.3%; }
		}
		@include breakpoint-less(xs) {
			li { width: 50%; }
		}
	}
	&.column-3 {
		li { width: 33.3%; }
		@include breakpoint-less(sm) {
			li { width: 50%; }
		}
	}
	&.column-2 {
		li { width: 50%; }
	}
	//
	// Border Style - Solid //
	//
	&.border-style-solid {
		border: 0;
		li {
			&:before { border-left-style: solid; }
			&:after { border-bottom-style: solid; }
		}
	}
	//
	// Border Style - Dotted //
	//
	&.border-style-dotted {
		border: 0;
		li {
			&:before { border-left-style: dotted; }
			&:after { border-bottom-style: dotted; }
		}
	}
}
div[class^='bg-black'], div[class*=' bg-black'], div[class^='bg-dark'], div[class*=' bg-dark'] {
	.clients-grid {
		li {
			&:before, &:after { border-color: $color-white-02; }
		}
	}
}