summaryrefslogtreecommitdiffstats
path: root/tests/sass/resources/scss/mixins.scss
blob: 52e03d62c1bd773e1c4e1c80f1abb020498717cd (plain)
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
//asfdasdf

@mixin font-settings {
	font-family: arial;
	font-size: 16px;
	font-weight: bold;
}

@mixin rounded-borders($thickness, $radius : 3px) {
	border: $thickness solid black;
	-webkit-border-radius: $radius;
	-moz-border-radius: $radius;
	border-radius: $radius;
}

.main {
	@include rounded-borders(1px);
	@include font-settings;
	@include main-details(14px);
}

.footer {
	@include rounded-borders(2px, 10px);
}

@mixin layout {
	.header {
		width: 100%;
	}
	.main {
		width: 100%;
		height: 100%;
	}
	
	.footer {
		width: 100%;
	}
	@media print {
		.v-view {
			overflow: visible;
		}
	}
	@include font-settings;
}

@mixin main-details($size){
	.details {
		font: {
			size : $size;
			weight: bold;
		}
	}
}

@include layout;