Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
09b20246
Commit
09b20246
authored
Jul 12, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 521463: Use consistent CSS for text input fields on enter_bug,
show_bug, post_bug, etc. r=dkl, a=mkanat
parent
6ff73e25
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
39 deletions
+52
-39
enter_bug.css
skins/standard/enter_bug.css
+5
-0
global.css
skins/standard/global.css
+41
-29
show_bug.css
skins/standard/show_bug.css
+0
-4
create.html.tmpl
template/en/default/bug/create/create.html.tmpl
+6
-6
No files found.
skins/standard/enter_bug.css
View file @
09b20246
...
...
@@ -55,6 +55,11 @@
max-width
:
35em
;
}
/* Text inputs need to be a little shorter on enter_bug
* than the 100% that they are on show_bug.
*/
#Create
.field_value
.text_input
{
max-width
:
50em
;
}
/* The Possible Duplicates table on enter_bug. */
#possible_duplicates
th
{
text-align
:
center
;
...
...
skins/standard/global.css
View file @
09b20246
...
...
@@ -424,12 +424,6 @@ dl dl > dt {
padding-left
:
1em
;
}
/* For bug fields */
.uneditable_textarea
{
width
:
30em
;
font-size
:
medium
;
}
div
.user_match
{
margin-bottom
:
1em
;
}
...
...
@@ -462,6 +456,10 @@ div.user_match {
}
}
/**************/
/* Bug Fields */
/**************/
.field_label
{
text-align
:
right
;
vertical-align
:
top
;
...
...
@@ -473,6 +471,16 @@ div.user_match {
.field_value
,
form
#Create
th
,
form
#Create
td
{
vertical-align
:
top
;
}
.field_value
.text_input
{
width
:
100%
;
min-width
:
25em
;
}
.uneditable_textarea
{
width
:
30em
;
font-size
:
medium
;
}
th
.required
:before
{
content
:
"* "
;
}
...
...
@@ -504,29 +512,6 @@ input.required, select.required, span.required_explanation {
list-style-type
:
none
;
}
.image_button
{
background-repeat
:
no-repeat
;
background-position
:
center
center
;
width
:
30px
;
height
:
20px
;
}
#select_button
{
background-image
:
url(global/right.png)
;
}
#deselect_button
{
background-image
:
url(global/left.png)
;
}
#up_button
{
background-image
:
url(global/up.png)
;
}
#down_button
{
background-image
:
url(global/down.png)
;
}
/* custom styles for inline instances of autocomplete input fields */
.yui-skin-sam
.yui-ac-input
{
position
:
static
!important
;
vertical-align
:
middle
!important
;
...
...
@@ -559,3 +544,30 @@ input.required, select.required, span.required_explanation {
.validation_error_field
{
border
:
2px
solid
#152446
;
}
/*****************/
/* colchange.cgi */
/*****************/
.image_button
{
background-repeat
:
no-repeat
;
background-position
:
center
center
;
width
:
30px
;
height
:
20px
;
}
#select_button
{
background-image
:
url(global/right.png)
;
}
#deselect_button
{
background-image
:
url(global/left.png)
;
}
#up_button
{
background-image
:
url(global/up.png)
;
}
#down_button
{
background-image
:
url(global/down.png)
;
}
skins/standard/show_bug.css
View file @
09b20246
...
...
@@ -13,10 +13,6 @@
.bz_bug
.edit_form
table
{
width
:
100%
;
}
.bz_bug
.edit_form
.text_input
{
width
:
100%
;
min-width
:
25em
;
}
.bz_bug
#alias
{
min-width
:
0
;
width
:
10em
;
...
...
template/en/default/bug/create/create.html.tmpl
View file @
09b20246
...
...
@@ -311,7 +311,7 @@ TUI_hide_default('expert_fields');
</tr>
[% IF !Param('defaultplatform') || !Param('defaultopsys') %]
<tr>
<t
d
colspan="3"> </th>
<t
h
colspan="3"> </th>
<td id="os_guess_note" class="comment">
<div>We've made a guess at your
[% IF Param('defaultplatform') %]
...
...
@@ -485,9 +485,9 @@ TUI_hide_default('expert_fields');
[% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.bug_file_loc editable = 1
%]
<td colspan="2">
<input name="bug_file_loc"
size="40
"
value="[% bug_file_loc FILTER html %]">
<td colspan="2"
class="field_value"
>
<input name="bug_file_loc"
id="bug_file_loc" class="text_input
"
size="40"
value="[% bug_file_loc FILTER html %]">
</td>
</tr>
</tbody>
...
...
@@ -512,10 +512,10 @@ TUI_hide_default('expert_fields');
[% INCLUDE "bug/field-label.html.tmpl"
field = bug_fields.short_desc editable = 1
%]
<td colspan="3">
<td colspan="3"
class="field_value"
>
<input name="short_desc" size="70" value="[% short_desc FILTER html %]"
maxlength="255" spellcheck="true" aria-required="true"
class="required" id="short_desc">
class="required
text_input
" id="short_desc">
</td>
</tr>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment