From 401fb65f2e6f9031cedf47fb6d951236b5c624d3 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 23 Oct 2009 21:32:06 +0000 Subject: Bug 365267: attachment.cgi should not be editable when the user is not logged in - Patch by Frédéric Buclin r=pyrzak a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skins/standard/create_attachment.css | 39 ++++++++++++++++++++++++++++++++++++ skins/standard/global.css | 16 --------------- 2 files changed, 39 insertions(+), 16 deletions(-) (limited to 'skins/standard') diff --git a/skins/standard/create_attachment.css b/skins/standard/create_attachment.css index 9ed515178..0d8a2b886 100644 --- a/skins/standard/create_attachment.css +++ b/skins/standard/create_attachment.css @@ -104,3 +104,42 @@ tbody.file pre:empty { .warning { color: red } + +table.attachment_info th { + text-align: right; + vertical-align: top; +} + +table.attachment_info td { + text-align: left; + vertical-align: top; +} + +/* Text displayed when the attachment is not viewable by the web browser */ +#noview { + text-align: left; + vertical-align: middle; +} + +#attachment_attributes { + width: 25%; +} + +#attachment_attributes div { + padding-bottom: 0.4em; +} + +#attachment_attributes label, +#attachment_attributes span.label, +#attachment_actions span.label +{ + font-weight: bold; +} + +#attachment_attributes .block { + display: block; +} + +#attachment_attributes table#flags { + padding-top: 1em; +} diff --git a/skins/standard/global.css b/skins/standard/global.css index 1fe8d41ce..64c73c3d5 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -401,22 +401,6 @@ dl dl > dt { padding-left: 1em; } -table.attachment_info th { - text-align: right; - vertical-align: top; -} - -table.attachment_info td { - text-align: left; - vertical-align: top; -} - -/* Text displayed when the attachment is not viewable by the web browser */ -#noview { - text-align: left; - vertical-align: middle; -} - /* For bug fields */ .uneditable_textarea { width: 30em; -- cgit v1.2.3-24-g4f1b