Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_section.scss « components « sass « stylesheets « sass - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e0c21a3aaf21b9cce6f924987bef876770d54ef9 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
section {
	background-color: $ui-bg-color;
	border: 1px solid $ui-border-color;

	.section-head {
		display: flex;
		height: 32px;
		line-height: 32px;

		h4 {
			padding: 0 10px;
			margin-right: auto;
			overflow: hidden;
			text-overflow: ellipsis;
			font-weight: bold;
			line-height: inherit;
			color: lighten($font-color, 15%);
		}
	}

	.section-toggle {
		@extend %btn-widget-defaults;

		width: 24px;
		height: 24px;
		margin: 2px 2px 0 auto;
		background: url($sprite-path) no-repeat -6px -654px;
	}

	.section-foot {
		padding: 0 10px;
		text-align: right;
		line-height: 32px;
		color: $font-alt-color;
	}

	&.section-collapsed {
		.section-body,
		.section-foot {
			display: none;
		}

		.section-toggle {
			background-position: -6px -689px;
		}
	}

	&:not(:last-child) {
		margin-bottom: 10px;
	}

	.list-table {
		border: 0;

		tbody tr:last-child {
			td {
				border-bottom: 1px solid $table-border-color;
			}
		}

		td,
		th {
			&:first-child {
				padding-left: 10px;
			}

			&:last-child {
				padding-right: 10px;
			}
		}
	}
}