summaryrefslogtreecommitdiff
path: root/assets/css/scss/components/_section.scss
blob: efc3b95fd049e496175f7552be2a7e5bbce8bcf3 (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
//
// Sections Styles //
//
.section-xs {
	padding: 50px 0;
	&.bg-image {
		.container, .container-fluid { padding: 50px 30px; }
	}
}
.section-sm {
	padding: 70px 0;
	&.bg-image {
		.container, .container-fluid { padding: 70px 30px; }
	}
}
.section, .section-md {
	padding: 100px 0;
	&.bg-image {
		.container, .container-fluid { padding: 100px 30px; }
	}
}
.section-lg {
	padding: 160px 0;
	&.bg-image {
		.container, .container-fluid { padding: 160px 30px; }
	}
}
.section-xl {
	padding: 200px 0;
	&.bg-image {
		.container, .container-fluid { padding: 200px 30px; }
	}
}
.section-2xl {
	padding: 240px 0;
	&.bg-image {
		.container, .container-fluid { padding: 240px 30px; }
	}
}
@include breakpoint-less(sm) {
	.section-xs {
		padding: 30px 0;
		&.bg-image {
			.container, .container-fluid { padding: 30px 30px; }
		}
	}
	.section-sm {
		padding: 50px 0;
		&.bg-image {
			.container, .container-fluid { padding: 50px 30px; }
		}
	}
	.section, .section-md {
		padding: 80px 0;
		&.bg-image {
			.container, .container-fluid { padding: 80px 30px; }
		}
	}
	.section-lg {
		padding: 120px 0;
		&.bg-image {
			.container, .container-fluid { padding: 120px 30px; }
		}
	}
	.section-xl {
		padding: 160px 0;
		&.bg-image {
			.container, .container-fluid { padding: 160px 30px; }
		}
	}
	.section-2xl {
		padding: 180px 0;
		&.bg-image {
			.container, .container-fluid { padding: 180px 30px; }
		}
	}
}
@include breakpoint-less(xs) {
	.section, .section-md {
		padding: 70px 0;
		&.bg-image {
			.container, .container-fluid { padding: 70px 30px; }
		}
	}
	.section-lg {
		padding: 100px 0;
		&.bg-image {
			.container, .container-fluid { padding: 100px 30px; }
		}
	}
	.section-xl {
		padding: 140px 0;
		&.bg-image {
			.container, .container-fluid { padding: 120px 30px; }
		}
	}
	.section-2xl {
		padding: 160px 0;
		&.bg-image {
			.container, .container-fluid { padding: 140px 30px; }
		}
	}
}
.section-xs, 
.section-sm, 
.section, .section-md, 
.section-lg, 
.section-xl, 
.section-2xl {
	&.bg-image {
		padding: 0;
	}
}

.section-fullscreen {
	width: 100%;
	height: 100vh;
	div[class^='bg-black'], div[class*=' bg-black'], 
	div[class^='bg-white'], div[class*=' bg-white'], 
	div[class^='bg-dark'], div[class*=' bg-dark'], 
	div[class^='bg-grey'], div[class*=' bg-grey'],
	.container, .container-fluid  {
		height: 100%;
	}
}