/
display-blocks.scss.erb
167 lines (134 loc) · 3.38 KB
/
display-blocks.scss.erb
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
/*##########################################################################*/
/* Display Blocks */
/*##########################################################################*/
// viewblock
.viewblock {
@include box-shadow(0 3px 2px #ababab);
display: block;
margin-bottom: 18px;
@include border-radius(8px 8px 0px 0px);
.viewblock-header {
@include border-radius(8px 8px 0px 0px);
@include vertical-gradient( darken($grayLighter, 3%), darken($grayLight, 8%) );
//background: #FFF image-url('layout/viewblock/header_bg.png') bottom left repeat-x;
display: block;
padding: 0px;
border: solid 1px #ababab;
border-bottom: 0px;
&.light-version {
@include vertical-gradient( $grayLightest, $grayLighter );
}
h1 {
color: darken($gray, 20%);
font-size: 1.4em;
letter-spacing: 0.05em;
text-shadow: 0 1px $grayLighter;
}
a {
color: #003366;
}
.default-padding {
padding: 8px 14px 5px 14px;
}
// element inside the header that can be optionally used for right-aligned
// contextual buttons relevant to this section of the page
.viewblock-header_right {
float: right;
margin-left: 20px;
}
// status element that fits a label and a value, usually a count
// often aligned or floated to the right side of .viewblock-header_right
.status-block {
background: $grayLightest;
height: 100%;
padding: 4px 8px;
float: left;
line-height: normal;
border-left: solid 1px $grayLight;
> label {
display: block;
color: $gray;
text-align:center;
font-size: 0.8em;
line-height: normal;
}
> span {
display: block;
text-align: center;
line-height: normal;
}
}
.status-block:last-child {
@include border-radius(0px 8px 0px 0px);
}
// this element is only included when the back_button helper is used to place a back button
.viewblock-header_back {
float: left;
margin: 7px 8px 7px -12px;
}
}
.viewblock-cont {
padding: 0px;
border: solid 1px #ababab;
background: $white;
@include clearfix();
}
// .subnav is a light blue bar that appears below the content header
.subnav {
background: $concerto-blue-5;
padding:2px;
padding-left: 12px;
height: 25px;
h4 {
text-transform: uppercase;
letter-spacing: 0.1em;
line-height: 1.8em;
}
.nav {
margin: 0px;
}
a.button {
background:$concerto-blue-0;
color: $white !important;
font-size: 0.8em;
border: 0px;
padding: 4px 6px;
text-shadow: 0px 0px 0px;
}
.nav-pills {
padding-top: 2px;
margin-bottom: 0px;
> li > a {
@include border-radius(3px);
margin: 0px;
padding: 0px 4px;
color: $concerto-blue-0;
line-height: 22px;
.count {
font-size: 0.8em;
}
&:hover {
background: $white;
color: $linkColorHover;
text-decoration: none;
}
}
li.legend {
font-size: 0.8em;
text-transform: uppercase;
padding: 3px 3px 0px 3px;
}
}
}
}
// subblock
.subblock {
margin-bottom: 24px;
&.bordered {
border: solid 1px $grayLight;
@include border-radius(6px);
}
&.with-padding {
padding: 18px;
}
}