From d46dbf1feadd69f04f8cb4a9eb771a0ea8df424b Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Wed, 27 Jan 1999 04:22:35 +0000 Subject: [PATCH] Added BUTTON.ROLLOVER and BUTTON.DIABLED pseudo-classes git-svn-id: svn://10.0.0.236/trunk@18732 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/document/src/ua.css | 58 +++++++++++++++++++++++-- mozilla/layout/style/ua.css | 58 +++++++++++++++++++++++-- 2 files changed, 108 insertions(+), 8 deletions(-) diff --git a/mozilla/layout/html/document/src/ua.css b/mozilla/layout/html/document/src/ua.css index 39d3b7896c2..e136b5aa0b5 100644 --- a/mozilla/layout/html/document/src/ua.css +++ b/mozilla/layout/html/document/src/ua.css @@ -434,16 +434,41 @@ LABEL { BUTTON { display: inline; vertical-align: bottom; - background-color: white; - border: 3px outset gray; - padding: 3px; cursor: default; } +BUTTON { + display: inline; + vertical-align: bottom; + /*background-color: white; */ + /*border: 3px outset gray;*/ + /*padding: 3px;*/ + background-color: rgb(192,192,192); + border: 2px solid rgb(192,192,192); + padding: 2px; + cursor: default; +} +BUTTON.ROLLOVER { + border: 2px outset rgb(192,192,192); +} +BUTTON.DISABLED { + border: 2px solid rgb(192,192,192); + color: rgb(225,225,225); +} SELECT { vertical-align: bottom; } OPTION { } +OPTION.SELECTED { + border: 1px solid rgb(0,0,128); + background-color: rgb(0,0,128); + color: rgb(255,255,255); +} +OPTION.SELECTEDFOCUS { + border: 1px dotted white; + background-color: rgb(0,0,128); + color: rgb(255,255,255); +} TEXTAREA { vertical-align: bottom; } @@ -583,4 +608,29 @@ NOFRAMES { :MOZ-COMMENT { display: none; -} \ No newline at end of file +} + +:DROPDOWN-VISIBLE { + visibility: visible; +} + +:DROPDOWN-HIDDEN { + visibility: hidden; +} + +:COMBOBOX-TEXT { + color: black; + padding-left: 2px; +} + +:COMBOBOX-TEXTSELECTED { + background-color: rgb(0,0,128); + color: white; + border: 1px solid rgb(0,0,128); +} + +:COMBOBOX-TEXTSELECTEDFOCUS { + background-color: rgb(0,0,128); + color: white; + border: 1px dotted white; +} diff --git a/mozilla/layout/style/ua.css b/mozilla/layout/style/ua.css index 39d3b7896c2..e136b5aa0b5 100644 --- a/mozilla/layout/style/ua.css +++ b/mozilla/layout/style/ua.css @@ -434,16 +434,41 @@ LABEL { BUTTON { display: inline; vertical-align: bottom; - background-color: white; - border: 3px outset gray; - padding: 3px; cursor: default; } +BUTTON { + display: inline; + vertical-align: bottom; + /*background-color: white; */ + /*border: 3px outset gray;*/ + /*padding: 3px;*/ + background-color: rgb(192,192,192); + border: 2px solid rgb(192,192,192); + padding: 2px; + cursor: default; +} +BUTTON.ROLLOVER { + border: 2px outset rgb(192,192,192); +} +BUTTON.DISABLED { + border: 2px solid rgb(192,192,192); + color: rgb(225,225,225); +} SELECT { vertical-align: bottom; } OPTION { } +OPTION.SELECTED { + border: 1px solid rgb(0,0,128); + background-color: rgb(0,0,128); + color: rgb(255,255,255); +} +OPTION.SELECTEDFOCUS { + border: 1px dotted white; + background-color: rgb(0,0,128); + color: rgb(255,255,255); +} TEXTAREA { vertical-align: bottom; } @@ -583,4 +608,29 @@ NOFRAMES { :MOZ-COMMENT { display: none; -} \ No newline at end of file +} + +:DROPDOWN-VISIBLE { + visibility: visible; +} + +:DROPDOWN-HIDDEN { + visibility: hidden; +} + +:COMBOBOX-TEXT { + color: black; + padding-left: 2px; +} + +:COMBOBOX-TEXTSELECTED { + background-color: rgb(0,0,128); + color: white; + border: 1px solid rgb(0,0,128); +} + +:COMBOBOX-TEXTSELECTEDFOCUS { + background-color: rgb(0,0,128); + color: white; + border: 1px dotted white; +}