summaryrefslogtreecommitdiff
path: root/assets/css/scss/elements/_progress-bar.scss
blob: a0066cb02921f9143a6f0d537aef071bbe8c1781 (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
//
// Progress bar Styles //
//
.progress-box {
	margin-bottom: 20px;
	&:last-child {
		margin-bottom: 0;
	}
	h1,h2,h3,h4,h5,h6 {
		margin-bottom: 0;
	}
	.progress, 
	.progress-bar {
		height: 1px;
		box-shadow: none;
		border-radius: 0;
	}
	.progress {
		overflow: visible;
		background: $color-black-015;
		margin: 0;
		padding: 0;
		.progress-bar {
			overflow: visible;
			position: relative;
			background: $color-black-09;
			width: 30%;
			border: none;
			color: $color-black-09;
			span {
				position: absolute;
				top: -13px;
				right: 0;
				font-size: 14px;
				font-weight: $font-weight-regular;
			}
		}
		&.progress-radius {
			border-radius: 10px;
			.progress-bar { border-radius: 10px; }
		}
		&.progress-height-2px {
			height: 2px;
			.progress-bar { height: 2px; }
		}
		&.progress-height-3px {
			height: 3px;
			.progress-bar { height: 3px; }
		}
		&.progress-height-4px {
			height: 4px;
			.progress-bar { height: 4px; }
		}
		&.progress-height-5px {
			height: 5px;
			.progress-bar { height: 5px; }
		}
	}
}
div[class^='bg-black'], div[class*=' bg-black'], div[class^='bg-dark'], div[class*=' bg-dark'] {
	.progress-box {
		.progress {
			background: $color-white-02;
			.progress-bar {
				background: $color-white;
				color: $color-white;
			}
		}
	}
}