Website Summary Files Commits Branches @commit @diff @stats
path: root / wp-content / themes / carmag / assets / src / sass / components / _buttons.scss
blob: cd539e433c4e8f000283387fa2adc77134b0b478 (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
.button {
	border: none;
	padding: 10px 32px;
	font-size: 1rem;
	font-weight: bold;
	transition: 0.3s;
	outline: none;

	&:hover {
		color: black;
	}

	&.primary {
		background-color: $color-primary;
		color: $color-white;

		&:hover,
		&:active {
			background-color: darken($color-primary, 5%);
			color: white;
		}
	}

	&.secondary {
		background-color: $color-secondary;
		color: $color-primary-dark;

		&:hover,
		&:active {
			background-color: darken($color-secondary, 5%);
			color: black;
		}
	}
}