From c78c43bfcba7648b07aae6645484d0d0e7f1001d Mon Sep 17 00:00:00 2001 From: "kmcclusk%netscape.com" Date: Thu, 11 Feb 1999 18:27:38 +0000 Subject: [PATCH] Added additional style rules+properties for INPUT elements for printing and gfx-rendering. --- layout/html/document/src/ua.css | 50 +++++++++++++++++++++++++++++---- layout/style/ua.css | 50 +++++++++++++++++++++++++++++---- 2 files changed, 90 insertions(+), 10 deletions(-) diff --git a/layout/html/document/src/ua.css b/layout/html/document/src/ua.css index 49d6f852bdf3..cdc7393c8d27 100644 --- a/layout/html/document/src/ua.css +++ b/layout/html/document/src/ua.css @@ -424,24 +424,59 @@ IFRAME { } INPUT { vertical-align: bottom; + border: 2px inset rgb(192, 192, 192); + background-color: white; + color: black; } INPUT[type=radio] { + border: 2px inset rgb(192, 192, 192); background-color:white; color:black; width:12px; height:12px; - border-color:gray; - border-style:inset; } INPUT[type=checkbox] { + border: 2px inset rgb(192, 192, 192); width:11px; height:11px; background-color:white; - border-color:gray; - border-style:inset; color:black; - border-width: 2px; } +INPUT[type=button] { + border: 2px outset rgb(192, 192, 192); + color:black; + background-color: rgb(192, 192, 192); +} +INPUT[type=submit] { + border: 2px outset rgb(192, 192, 192); + color:black; + background-color: rgb(192, 192, 192); +} +INPUT[type=reset] { + border: 2px outset rgb(192, 192, 192); + background-color: rgb(192, 192, 192); + color:black; +} +INPUT[type=text] { + border: 2px inset rgb(192, 192, 192); + margin-right:10px; + background-color: white; + color: black; +} +INPUT[type=password] { + border: 2px inset rgb(192, 192, 192); + margin-right:10px; + background-color: white; + color:black; +} +INPUT[type=file] { + border: 2px inset rgb(192, 192, 192); + margin-right:10px; + background-color: white; + color:black; +} + + LABEL { display: inline; vertical-align: bottom; @@ -474,6 +509,9 @@ BUTTON.DISABLED { } SELECT { vertical-align: bottom; + border: 1px inset #C0C0C0; + background-color: white; + color:black; } OPTION { } @@ -489,6 +527,8 @@ OPTION.SELECTEDFOCUS { } TEXTAREA { vertical-align: bottom; + border: 2px inset #C0C0C0; + background-color:white; } /* Misc */ diff --git a/layout/style/ua.css b/layout/style/ua.css index 49d6f852bdf3..cdc7393c8d27 100644 --- a/layout/style/ua.css +++ b/layout/style/ua.css @@ -424,24 +424,59 @@ IFRAME { } INPUT { vertical-align: bottom; + border: 2px inset rgb(192, 192, 192); + background-color: white; + color: black; } INPUT[type=radio] { + border: 2px inset rgb(192, 192, 192); background-color:white; color:black; width:12px; height:12px; - border-color:gray; - border-style:inset; } INPUT[type=checkbox] { + border: 2px inset rgb(192, 192, 192); width:11px; height:11px; background-color:white; - border-color:gray; - border-style:inset; color:black; - border-width: 2px; } +INPUT[type=button] { + border: 2px outset rgb(192, 192, 192); + color:black; + background-color: rgb(192, 192, 192); +} +INPUT[type=submit] { + border: 2px outset rgb(192, 192, 192); + color:black; + background-color: rgb(192, 192, 192); +} +INPUT[type=reset] { + border: 2px outset rgb(192, 192, 192); + background-color: rgb(192, 192, 192); + color:black; +} +INPUT[type=text] { + border: 2px inset rgb(192, 192, 192); + margin-right:10px; + background-color: white; + color: black; +} +INPUT[type=password] { + border: 2px inset rgb(192, 192, 192); + margin-right:10px; + background-color: white; + color:black; +} +INPUT[type=file] { + border: 2px inset rgb(192, 192, 192); + margin-right:10px; + background-color: white; + color:black; +} + + LABEL { display: inline; vertical-align: bottom; @@ -474,6 +509,9 @@ BUTTON.DISABLED { } SELECT { vertical-align: bottom; + border: 1px inset #C0C0C0; + background-color: white; + color:black; } OPTION { } @@ -489,6 +527,8 @@ OPTION.SELECTEDFOCUS { } TEXTAREA { vertical-align: bottom; + border: 2px inset #C0C0C0; + background-color:white; } /* Misc */