1
|
/**
|
2
|
* @file
|
3
|
* Form Styling
|
4
|
*/
|
5
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\000039}}
|
6
|
.form-item {
|
7
|
/* Wrapper for a form element (or group of form elements) and its label */
|
8
|
margin: 1.5em 0;
|
9
|
}
|
10
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000314}}
|
11
|
.form-item input.error,
|
12
|
.form-item textarea.error,
|
13
|
.form-item select.error {
|
14
|
/* Highlight the form elements that caused a form submission error */
|
15
|
border: 1px solid #c00;
|
16
|
}
|
17
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000318}}
|
18
|
.form-item label {
|
19
|
/* The label for a form element */
|
20
|
display: block;
|
21
|
font-weight: bold;
|
22
|
}
|
23
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000323}}
|
24
|
.form-item label.option {
|
25
|
/* The label for a radio button or checkbox */
|
26
|
display: inline;
|
27
|
font-weight: normal;
|
28
|
}
|
29
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000328}}
|
30
|
.form-item .form-required {
|
31
|
/* The part of the label that indicates a required field */
|
32
|
color: #c00;
|
33
|
}
|
34
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000332}}
|
35
|
.form-item .description {
|
36
|
/* The descriptive help text (separate from the label) */
|
37
|
font-size: 0.85em;
|
38
|
}
|
39
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000337}}
|
40
|
.form-checkboxes .form-item, .form-radios .form-item {
|
41
|
/* Pack groups of checkboxes and radio buttons closer together */
|
42
|
margin: 0;
|
43
|
/* Drupal core uses "0.4em 0" */
|
44
|
}
|
45
|
|
46
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000342}}
|
47
|
.form-submit {
|
48
|
/* The submit button */
|
49
|
}
|
50
|
|
51
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000347}}
|
52
|
.container-inline div,
|
53
|
.container-inline label {
|
54
|
/* Inline labels and form divs */
|
55
|
display: inline;
|
56
|
}
|
57
|
|
58
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000352}}
|
59
|
.tips {
|
60
|
/* Tips for Drupal's input formats */
|
61
|
}
|
62
|
|
63
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000355}}
|
64
|
a.button {
|
65
|
/* Buttons used by contrib modules like Media */
|
66
|
-webkit-appearance: button;
|
67
|
-moz-appearance: button;
|
68
|
appearance: button;
|
69
|
}
|
70
|
|
71
|
/*
|
72
|
* Password confirmation
|
73
|
*/
|
74
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000364}}
|
75
|
.password-parent,
|
76
|
.confirm-parent {
|
77
|
margin: 0;
|
78
|
}
|
79
|
|
80
|
/*
|
81
|
* Search (search-block-form.tpl.php)
|
82
|
*/
|
83
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000372}}
|
84
|
#block-search-form {
|
85
|
/* Wrapper for the search form */
|
86
|
}
|
87
|
|
88
|
/*
|
89
|
* Drupal's default login form block
|
90
|
*/
|
91
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000379}}
|
92
|
#user-login-form {
|
93
|
text-align: left;
|
94
|
/* LTR */
|
95
|
/*
|
96
|
* OpenID
|
97
|
*
|
98
|
* The default styling for the OpenID login link seems to assume Garland's
|
99
|
* styling of list items.
|
100
|
*/
|
101
|
}
|
102
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000389}}
|
103
|
#user-login-form ul {
|
104
|
/* OpenID creates a new ul above the login form's links. */
|
105
|
margin-bottom: 0;
|
106
|
/* Position OpenID's ul next to the rest of the links. */
|
107
|
}
|
108
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000394}}
|
109
|
html.js #user-login-form li.openid-link,
|
110
|
#user-login-form li.openid-link {
|
111
|
/* The "Log in using OpenID" link. */
|
112
|
margin-top: 1.5em;
|
113
|
margin-left: -20px;
|
114
|
/* LTR */
|
115
|
/* Un-do some of the padding on the ul list. */
|
116
|
}
|
117
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\0000399}}
|
118
|
#user-login-form li.user-link {
|
119
|
/* The "Cancel OpenID login" link. */
|
120
|
margin-top: 1.5em;
|
121
|
}
|
122
|
|
123
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\00003104}}
|
124
|
#user-login ul {
|
125
|
margin: 1.5em 0;
|
126
|
}
|
127
|
|
128
|
/*
|
129
|
* Drupal admin tables
|
130
|
*
|
131
|
* We overrode these styles in normalize.css, but restore them for the admin
|
132
|
* section of the site.
|
133
|
*/
|
134
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\00003116}}
|
135
|
form th {
|
136
|
text-align: left;
|
137
|
/* LTR */
|
138
|
padding-right: 1em;
|
139
|
/* LTR */
|
140
|
border-bottom: 3px solid #ccc;
|
141
|
}
|
142
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\00003122}}
|
143
|
form tbody {
|
144
|
border-top: 1px solid #ccc;
|
145
|
}
|
146
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\00003126}}
|
147
|
form tr.even {
|
148
|
background-color: #fff;
|
149
|
}
|
150
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\00003130}}
|
151
|
form table .item-list ul {
|
152
|
margin: 0;
|
153
|
}
|
154
|
|
155
|
/*
|
156
|
* Drupal core wrongly puts this in system.menus.css. Since we override that, add it back.
|
157
|
*/
|
158
|
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/forms\.scss}line{font-family:\00003149}}
|
159
|
td.menu-disabled {
|
160
|
background: #ccc;
|
161
|
}
|