|
目录
来源:http://trac.seagullproject.org/wiki/Howto/CSS/Palette 关于CSS面板注意:这是对0.5及以上版本适用 本文的目的是说明如何使用一个标准的seagull面板。我们什么达到这个目的的呢?我们做了两方面的工作:
我们将会有什么好处呢?
最后我们得到了你这样的效果:http://wiki.kde.org/tiki-index.php?page=Colors 目前我们有21咱颜色(包括白色),MS and GNOME 30, KDE 42. www/themes/default/css/style.phpseagull面板$primary = '#99cc00'; lime green $primaryLight = '#bbe713'; light green $primaryText = '#e6ffa2'; pale white for text on lime green $primaryTextLight = '#ffffff'; white $secondaryLight = '#e5f1ff'; baby blue $secondary = '#9dcdfe'; blue $secondaryMedium = '#3399ff'; medium blue $secondaryDark = '#184a84'; dark blue $tertiary = '#d9d9d9'; normal gray $tertiaryLight = '#efefef'; light gray $tertiaryMedium = '#bcbcbc'; medium gray $tertiaryDark = '#999999'; dark gray $tertiaryDarker = '#666666'; darker gray $blocksBorderBody = $tertiaryMedium; $blocksBorderTitle = $tertiaryMedium; $blocksBackgroundBody = $tertiaryLight; $blocksBackgroundTitle = $primary; $blocksColorBody = $secondaryDark; $blocksColorTitle = $primaryText; $tableRowLight = $tertiaryLight; $tableRowDark = $tertiary; $sectionHeaderBackground = $tertiary; $sectionHeaderColor = $secondaryDark; $colHeaderBackground = $tertiaryLight; $colHeaderColor = $secondaryDark; $navigatorBackground = $tertiaryDarker; $navigatorColor = $tertiaryMedium; $forApproval = '#ff0000'; $approved = '#ff9933'; $published = '#!00cc00'; $archived = '#!909090'; $error = '#ffcc00'; $errorLight = '#ffff99'; $errorDark = '#ff9600'; $errorText = $secondaryDark; $errorTextLight = '#ffffcc'; $errorTextMedium = '#ff0000'; $buttonBorderColors = '#ffffff #!333333 #!333333 #ffffff'; all:body
header:#sgl-header
#sgl-header-left
#sgl-header-right
#sgl-header-right a
#sgl-header-right #headerLogAction
tables:th
#imRead
.sgl-row-light
.sgl-row-dark
left & right blocks:.sgl-blocks-left-item-title,
.sgl-blocks-right-item-title
.sgl-blocks-left-item-body
.sgl-blocks-right-item-body
headings:h1.pageTitle
.pageTitle
anchors:a
a:visited
a:hover
miscellaneous:hr
.error
.primary
.secondary
.title
.detail
publisher:.sectionHeader
.colHeader
.navigator
Article Manager:.forApproval
.approved
.published
.archived
Legacy:.fieldName
.fieldNameWrap
.fieldValue
.newsItem
fieldset
legend
Links:.linkCrumbsAlt1
.linkCrumbsAlt1:hover
Various:.pinstripe table
.pinstripe td
.pager
.errorHeader
.errorContent
.errorMessage
.messageHeader
.messageContent
.bgnd
Tooltips:span.tipOwner span.tipText
|