forked from seantis/seantis.people
-
Notifications
You must be signed in to change notification settings - Fork 0
/
people.scss
142 lines (115 loc) · 2.42 KB
/
people.scss
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/* @group seantis.people */
/* @group list filter */
.portaltype-seantis-people-list {
.people-list th span:after {
content: ' / '
}
.people-list th span:last-child:after {
content: ''
}
.people-letters {
a.selected-letter,
a:hover {
@include boxshadow(0 0 .2em darken($highlight-color-light, 50%));
}
}
.filter-tag {
font-weight: bold;
}
.filter-reset {
margin-bottom: 0.5em;
display: block;
}
.filter-reset:before {
content: '»';
}
}
/* @end */
/* @group list person details */
.person-details {
.person-detail {
margin-bottom: 1em;
h2 {
font-size: 1em;
margin: 0;
}
div {
max-width: $page-fixed-width / 2;
}
}
.person-memberships ul {
list-style: none;
padding-left: 0;
}
}
.person-details-left.splitscreen {
float: left;
padding-right: 2em;
max-width: 50%;
}
.person-details-right.splitscreen {
float: right;
}
.person-details-bottom.splitscreen {
clear: both;
}
#content .person-wrapper {
display: table;
margin-top: 1em;
.person-navigation {
height: 2.3em;
min-width: 250px;
//border-top: 1px solid $lightgray2;
border-bottom: 1px solid $lightgray2;
}
.person-navigation .previous {
float: left;
background: none;
margin-top: 2px;
}
.person-navigation a.next {
float: right;
background: none;
margin-top: 2px;
}
}
@media screen and (max-width: 797px) {
#content .person-wrapper {
display: block;
width: 100%;
}
}
/* @end */
/* @end */
/* @group seantis.kantonsrat (builds on seantis.people) */
.kantonsrat-memberships {
ul {
list-style: none;
padding-left: 0;
li {
margin-bottom: 0.5em;
}
}
.kantonsrat-url,
.kantonsrat-role,
.kantonsrat-state,
.kantonsrat-actions {
float: left;
margin-right: 0.25em;
}
.kantonsrat-timespan,
.kantonsrat-replacement_for,
.kantonsrat-note {
color: $darkgray;
}
.kantonsrat-state:before {
content: "↳";
}
.kantonsrat-actions a {
display: inline-block;
border-left: 1px solid $darkgray;
padding-left: 0.25em;
line-height: 1em;
}
}
/* @end */