openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 7ef022c6e43e4eb511b1755669fb2d4fd95f9969
parent 313679fa60ad659cf8d8a151ef316a030427abc1
Author: dankert <devnull@localhost>
Date:   Mon, 21 May 2007 23:42:11 +0200

Bei Elementen gibt es nur CSS-Klassen pro Element-Klasse (z.Zt. max. 3)

Diffstat:
themes/default/css/default.css | 78++++++++++++++++++++++--------------------------------------------------------
themes/default/css/system.css | 221+++++++++++++++++++++++++++++--------------------------------------------------
2 files changed, 102 insertions(+), 197 deletions(-)

diff --git a/themes/default/css/default.css b/themes/default/css/default.css @@ -2,6 +2,27 @@ /* +OpenRat Content Management System +Copyright (C) 2002-2007 Jan Dankert, cms@jandankert.de + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ + +/* + Standard Font- and Colorsettings for Openrat. Created for a smooth and useful user interface. @@ -25,22 +46,6 @@ a:hover } -a.el_include:link, -a.el_include:active, -a.el_include:visited, -a.el_include:hover, -a.el_list:link, -a.el_list:active, -a.el_list:visited, -a.el_list:hover -{ - background-color: blue; -} - -a.el_longtext:link, -a.el_longtext:active, -a.el_longtext:visited, -a.el_longtext:hover, a.el_text:link, a.el_text:active, a.el_text:visited, @@ -50,10 +55,6 @@ a.el_text:hover } -a.el_infodate:link, -a.el_infodate:active, -a.el_infodate:visited, -a.el_infodate:hover, a.el_info:link, a.el_info:active, a.el_info:visited, @@ -62,34 +63,6 @@ a.el_info:hover background-color: white; } -a.el_date:link, -a.el_date:active, -a.el_date:visited, -a.el_date:hover -{ - background-color: aqua; -} - -a.el_link:link, -a.el_link:active, -a.el_link:visited, -a.el_link:hover -{ - background-color: fuchsia; -} - -a.el_number:link, -a.el_number:active, -a.el_number:visited, -a.el_number:hover -{ - background-color: lime; -} - -a.el_code:link, -a.el_code:active, -a.el_code:visited, -a.el_code:hover, a.el_dynamic:link, a.el_dynamic:active, a.el_dynamic:visited, @@ -163,8 +136,6 @@ body color:#000000; font-family:Arial; font-size:13px; - xbackground-color:#dad2b6; - xbackground-color:#DDDDFF; } body.main @@ -173,9 +144,6 @@ body.main color:#000000; font-family:Arial; font-size:13px; -/* background-color:#dad2b6;*/ - xbackground-color:#DDDDFF; -/* border:3px solid gray;*/ } body.title { @@ -186,8 +154,6 @@ body.title { body.tree { background-color:#CCCCCC; padding:5px; - xbackground-color:white; -/* border:3px solid gray;*/ } @@ -453,5 +419,5 @@ input.searchbutton border:0px; padding:0px; font-size:4px; -max-height:20px; + max-height:20px; } \ No newline at end of file diff --git a/themes/default/css/system.css b/themes/default/css/system.css @@ -2,6 +2,27 @@ /* +OpenRat Content Management System +Copyright (C) 2002-2007 Jan Dankert, cms@jandankert.de + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ + +/* + This stylesheet makes use of the colors selected by the operating system on the client. */ @@ -22,87 +43,28 @@ a:hover } -a.el_include:link, -a.el_include:active, -a.el_include:visited, -a.el_include:hover, -a.el_list:link, -a.el_list:active, -a.el_list:visited, -a.el_list:hover -{ - background-color: blue; -} - -a.el_longtext:link, -a.el_longtext:active, -a.el_longtext:visited, -a.el_longtext:hover, a.el_text:link, a.el_text:active, a.el_text:visited, -a.el_text:hover -{ - background-color: lime; -} - - -a.el_infodate:link, -a.el_infodate:active, -a.el_infodate:visited, -a.el_infodate:hover, +a.el_text:hover, a.el_info:link, a.el_info:active, a.el_info:visited, -a.el_info:hover -{ - background-color: white; -} - -a.el_date:link, -a.el_date:active, -a.el_date:visited, -a.el_date:hover -{ - background-color: aqua; -} - -a.el_link:link, -a.el_link:active, -a.el_link:visited, -a.el_link:hover -{ - background-color: fuchsia; -} - -a.el_number:link, -a.el_number:active, -a.el_number:visited, -a.el_number:hover -{ - background-color: lime; -} - -a.el_code:link, -a.el_code:active, -a.el_code:visited, -a.el_code:hover, +a.el_info:hover, a.el_dynamic:link, a.el_dynamic:active, a.el_dynamic:visited, -a.el_dynamic:hover -{ - background-color: gray; -} - +a.el_dynamic:hover, a.el_icon:link, a.el_icon:active, a.el_icon:visited, a.el_icon:hover { - background-color: yellow; + color: HighlightText; + background-color: Highlight; } + a.path:link, a.path:visited @@ -154,34 +116,33 @@ a.menu_highlight:hover } +/* Grundeinstellung */ body { - background-color:Background; + background-color:Window; color:WindowText; font-family:Arial; font-size:13px; - xbackground-color:#dad2b6; - xbackground-color:#DDDDFF; } +/* Grundeinstellung */ body.main { - background-color:Background; + background-color:Window; color:WindowText; font-family:Arial; font-size:13px; -/* background-color:#dad2b6;*/ - xbackground-color:#DDDDFF; -/* border:3px solid gray;*/ } +/* Titelleiste */ body.title { margin:0px; - background-color:#EEEEEE; + xbackground-color:#000000; } +/* Baum */ body.tree { - background-color:Background; + background-color:Window; padding:5px; xbackground-color:white; /* border:3px solid gray;*/ @@ -224,7 +185,7 @@ span.title span.inactive, span.menu_disabled { - color:gray; + color:GrayText; } span.accesskey @@ -250,21 +211,6 @@ td vertical-align:top; } -td.diff_equal -{ -} -td.diff_old -{ - background-color:red; -} -td.diff_new -{ - background-color:green; -} -td.diff_notequal -{ - background-color:yellow; -} td.menu { background-color:Highlight; color:HighlightText; vertical-align:middle; height:30px;} td.help { color:black; font-family:Verdana,Arial,Helvetica,sans-serif; font-size:11px; } @@ -299,56 +245,73 @@ td.f2 } td.act {background-color:AppWorkspace; padding:15px; border-top:0px solid gray; } -.mainmenu_headline{color:Background; font-size:13px; color:black; font-weight:bold; } +.mainmenu_headline{color:Window; font-size:13px; color:black; font-weight:bold; } .mainmenu_name{color:white; font-weight:bold; font-size:13px; } -.mainmenu_val{color:Background; font-weight:normal; } -.mainmenu_title{color:Background;vertical-align:middle;font-weight:bold; font-size:13px; } +.mainmenu_val{color:Window; font-weight:normal; } +.mainmenu_title{color:Window;vertical-align:middle;font-weight:bold; font-size:13px; } p.copyright { font-family:Verdana,Arial,Helvetica,sans-serif; font-size:11px; text-align:center; } table.main { border:3px solid gray; - background-color:white; + background-color:Background; + } +tr.f1:hover, +tr.f2:hover +{ + xbackground-color:#FF0000; +} + + + +/* Farben für Eingabfelder, allgemein */ +input, +select, +textarea +{ + color:WindowText; + background-color:Window; +} + +/* Rahmen für Eingabefelder */ input, textarea { border:2px solid InactiveBorder; - padding:2px; + padding:5px; + background-color:Window; } +/* Eingabefelder, mausüberstrichen */ input:hover, textarea:hover { border:2px solid ActiveBorder; + background-color:Window; } +/* Eingabefelder, aktiv */ input:focus, textarea:focus { - background-color:InfoBackground; + background-color:Window; border:2px solid ActiveBorder; - /*font-weight:bold;*/ -} - -tr.f1:hover, -tr.f2:hover -{ - xbackground-color:#FF0000; } +/* Knöpfe */ input.submit, +input.reset, input.ok { - color:HighlightText; - background-color:Highlight; + color:ButtonText; + background-color:ButtonFace; width:110px; } -input.reset { color:black; background-color:#cac2a6; text-align:right; } - +/* Eingabefeld für Beschreibung */ textarea.desc, textarea.description { @@ -356,6 +319,7 @@ textarea.description font-size:13px; } +/* Eingabefeld für Textabsatz */ textarea.longtext { font-family:Arial; @@ -365,19 +329,13 @@ textarea.longtext border:1px solid black; } -input, -select, -textarea -{ - color:WindowText; - background-color:InfoBackground; -} - +/* Eingabfeld für Namen */ input.name { font-weight:bold; } +/* Eingabfeld für Dateiname */ input.filename, input.extension, input.ansidate @@ -387,33 +345,20 @@ input.ansidate } + +/* Seitliche Scrollbar */ body, textarea { - scrollbar-base-color:#7B9CBD; - scrollbar-arrow-color:white; - scrollbar-highlight-color:#eae2c6; - scrollbar-shadow-color:#cac2a6; + scrollbar-base-color:Scrollbar; + scrollbar-arrow-color:ButtonText; + scrollbar-highlight-color:Scrollbar; + scrollbar-shadow-color:Scrollbar; } -/* -select.treemenu -{ - color:Highlight; - background-color:white; - font-weight:bold; - width:90%; - border:3px solid white; - margin:0px; -} -option.treemenu -{ - margin:2px; - border-bottom:1px solid dotted; -} -*/ +/* Logo (falls vorhanden) */ td.logo { background-color:InfoBackground; @@ -435,8 +380,3 @@ p.logo font-family:Verdana; font-size:13px; } - -.text -{ - /*color: ButtonText;*/ -}- \ No newline at end of file