Skip to content

Commit beb0ea5

Browse files
authored
Merge pull request #1009 from creativecommons/improve-zero-waiver-style
fixes #313 - improve styles in Zero waiver
2 parents d62b2d0 + ecb54c5 commit beb0ea5

1 file changed

Lines changed: 108 additions & 80 deletions

File tree

docroot/includes/zero.css

Lines changed: 108 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,84 +1,112 @@
1-
.yui-module .hd {
2-
font-size: 150%;
3-
color: #FFF;
4-
background-color: #43594a;
5-
padding: 5px;
6-
margin-top: 5px;
7-
margin-bottom: 5px;
8-
}
9-
10-
.yui-module .bd th {
11-
width: 40%;
12-
text-align:right;
13-
}
14-
15-
.yui-module .bd td {
16-
padding-left: 20px;
17-
}
18-
19-
.yui-module .bd tr {
20-
vertical-align:top;
21-
font-family:sans-serif;
22-
font-size: 80% !important;
23-
margin-bottom: 20px;
24-
}
25-
26-
.yui-module .bd .form-row {
27-
clear: both;
28-
padding-top: 10px !important;
29-
width: 100%;
30-
}
31-
32-
.yui-module .bd {
33-
padding-top: 10px;
34-
}
35-
36-
.yui-module .bd p {
37-
padding-bottom: 10px;
38-
}
39-
40-
.yui-module .bd .form-question {
41-
width: 30%;
42-
text-align: right;
43-
font-weight: bold;
44-
font-size: 105%;
45-
float: left;
46-
}
47-
48-
.yui-module .bd .form-answer {
49-
float: left;
50-
width: 57%;
51-
padding-left: 2%;
52-
}
53-
54-
.yui-module .bd .form-answer input.form-field {
55-
width: 90%;
56-
}
57-
58-
.yui-module .bd .form-answer iframe.form-field {
59-
width: 100%;
60-
}
1+
.yui-module .hd {
2+
font-size: 150%;
3+
color: #FFF;
4+
background-color: #43594a;
5+
padding: 5px;
6+
margin-top: 5px;
7+
margin-bottom: 5px;
8+
}
9+
10+
.yui-module .bd th {
11+
width: 40%;
12+
text-align:right;
13+
}
14+
15+
.yui-module .bd td {
16+
padding-left: 20px;
17+
}
18+
19+
.yui-module .bd tr {
20+
vertical-align:top;
21+
font-family:sans-serif;
22+
font-size: 80% !important;
23+
margin-bottom: 20px;
24+
}
25+
26+
.yui-module .bd .form-row {
27+
clear: both;
28+
padding-top: 10px !important;
29+
width: 100%;
30+
}
31+
32+
.yui-module .bd {
33+
padding-top: 10px;
34+
}
35+
36+
.yui-module .bd p {
37+
padding-bottom: 10px;
38+
}
39+
40+
.yui-module .bd .form-question {
41+
width: 30%;
42+
text-align: right;
43+
font-weight: bold;
44+
font-size: 105%;
45+
float: left;
46+
}
47+
48+
.yui-module .bd .form-answer {
49+
float: left;
50+
width: 57%;
51+
padding-left: 2%;
52+
}
53+
54+
.yui-module .bd .form-answer input.form-field {
55+
width: 90%;
56+
}
57+
58+
.yui-module .bd .form-answer iframe.form-field {
59+
width: 100%;
60+
}
6161

6262
.preview {
63-
border: 1px #555 solid;
64-
margin-bottom: 10px;
65-
margin-top: 10px;
66-
padding: 10px;
67-
text-align: center;
63+
border: 1px #555 solid;
64+
margin-bottom: 10px;
65+
margin-top: 10px;
66+
padding: 10px;
67+
text-align: center;
6868
}
6969

7070
.bd textarea {
7171
border: 1px #555 solid;
72-
padding: 5px;
73-
padding-right: 0px;
72+
padding: 1rem;
73+
background-color: white;
74+
border: 1px solid #C0C0C0;
75+
border-radius: .3rem;
76+
box-shadow: 0 1px 3px 1px rgba(0,0,0,.1);
7477
}
7578

7679
.bd input,
7780
.bd iframe {
81+
width: 100%;
7882
border: 1px #555 solid;
79-
padding: 2px;
83+
padding: 1rem;
84+
background-color: white;
85+
border: 1px solid #C0C0C0;
86+
border-radius: .3rem;
87+
box-shadow: 0 1px 3px 1px rgba(0,0,0,.1);
88+
}
89+
.bd input[type="checkbox"] {
90+
position: relative;
91+
width: 2rem;
92+
top: .8rem;
93+
float: left;
94+
}
95+
.bd input[type="submit"] {
96+
padding: 0.84375em 0.875em 0.78125em;
97+
font-family: Montserrat, "Helvetica Neue", sans-serif;
98+
font-weight: 700;
99+
letter-spacing: 0.046875em;
100+
border: 0;
101+
}
102+
.bd iframe {
103+
height: 40rem;
104+
}
105+
.bd select {
106+
border: 1px solid #C0C0C0;
107+
border-radius: .3rem;
108+
box-shadow: 0 1px 3px 1px rgba(0,0,0,.1);
80109
}
81-
82110
.yui-buttongroup {
83111
text-align: center;
84112
}
@@ -93,38 +121,38 @@
93121
}
94122

95123
#alpha {
96-
width:99%;
124+
width:99%;
97125
}
98126

99127
#beta {
100-
display: none;
128+
display: none;
101129
}
102130

103131
.x-panel-header-text {
104-
font-size: 200%;
132+
font-size: 200%;
105133
}
106134

107135
.indent {
108-
margin-left: 15px;
136+
margin-left: 15px;
109137
}
110138

111139
strong {
112-
font-weight: bold !important;
140+
font-weight: bold !important;
113141
}
114142

115143
.yui-nav {
116144
display: none;
117145
}
118146

119147
#yui-history-iframe {
120-
position:absolute;
121-
top:0; left:0;
122-
width:1px; height:1px;
123-
visibility:hidden;
148+
position:absolute;
149+
top:0; left:0;
150+
width:1px; height:1px;
151+
visibility:hidden;
124152
}
125153

126154
.help_panel {
127-
display:none;
155+
display:none;
128156
}
129157

130158
div.success {
@@ -160,4 +188,4 @@ h1 {
160188
border: 2px #c5b464 solid;
161189
margin-bottom: 12px;
162190
padding: 8px;
163-
}
191+
}

0 commit comments

Comments
 (0)