Skip to content

Commit

Permalink
Item9504: add icon for popup windows
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x01@8977 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Sep 8, 2010
1 parent 147cc9e commit 1e5d2f1
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 73 deletions.
66 changes: 29 additions & 37 deletions PatternSkin/data/System/PatternSkinColorSettings.txt
Expand Up @@ -32,8 +32,6 @@ Edit this topic, and change the color as you like.
---+++ Text
---++++ MAIN_TEXT Main text color
* Local MAIN_TEXT = #000
---++++ MAIN_TEXT_BACKGROUND Main background color
* Local MAIN_TEXT_BACKGROUND = #fff
---++++ LIGHT_ON_DARK_TEXT Light on dark text color
* Local LIGHT_ON_DARK_TEXT = #fff
---++++ GRAYED_TEXT
Expand Down Expand Up @@ -115,16 +113,22 @@ Edit this topic, and change the color as you like.
---+++ Background colors
---++++ PAGE_BACKGROUND General background color
* Local PAGE_BACKGROUND = #eeedec
---++++ MAIN_TEXT_BACKGROUND Main background color
* Local MAIN_TEXT_BACKGROUND = #fff
---++++ NEUTRAL_BACKGROUND
* Local NEUTRAL_BACKGROUND = #f5f5f5
---++++ SIDE_BAR_BACKGROUND Side bar background
* Local SIDE_BAR_BACKGROUND = #fff
---++++ TOP_BAR_BACKGROUND Top bar background
* Local TOP_BAR_BACKGROUND = #e8f3f7
* Local TOP_BAR_BACKGROUND = #fff
---++++ ATTACHMENT_AND_FORM_BACKGROUND Attachment, form
* Local ATTACHMENT_AND_FORM_BACKGROUND = %ACTIVE_FORM_BACKGROUND%
---++++ BACKGROUND_ON_FORM_BACKGROUND Table background on a form
* Local BACKGROUND_ON_FORM_BACKGROUND = #fcfcfc
---++++ TOPIC_ACTION_BACKGROUND Topic action row
* Local TOPIC_ACTION_BACKGROUND = #f5f5f3
* Local TOPIC_ACTION_BACKGROUND = %MAIN_TEXT_BACKGROUND%
---++++ CODE_BACKGROUND code, pre and verbatim
* Local CODE_BACKGROUND = #ededeb
---++++ NOTIFICATION_BACKGROUND Info, broadcast message and notifications
* Local NOTIFICATION_BACKGROUND = #fff7e7
---++++ INFO_BACKGROUND
Expand Down Expand Up @@ -190,7 +194,7 @@ Edit this topic, and change the color as you like.
---++++ FORM_BORDER Form (same as foswikiTable border)
* Local FORM_BORDER = #cfcfcf
---++++ ACTIVE_FORM_BACKGROUND Edit form, form steps
* Local ACTIVE_FORM_BACKGROUND = #fafafa
* Local ACTIVE_FORM_BACKGROUND = #f6f6f5
---++++ FORMFIELD_ACTIVE Active form field
* Local FORMFIELD_ACTIVE = #ebf5fa
---++++ FORM_HEADER_TEXT Header text on form background
Expand Down Expand Up @@ -263,7 +267,7 @@ pre, code, tt {
color:%CODE_TEXT%;
}
pre {
background:%NEUTRAL_BACKGROUND%;
background:%CODE_BACKGROUND%;
border-color:%NEUTRAL_BORDER%;
}
blockquote {
Expand Down Expand Up @@ -452,28 +456,21 @@ a:hover.twistyTrigger {
color:%LINK_TEXT_HOVER%;
}

table.foswikiFormTable th.foswikiFormTableHRow,
table.foswikiFormTable td.foswikiFormTableRow {
color:%MUTED_TEXT%;
}
.foswikiEditForm .foswikiFormTable,
.foswikiEditForm .foswikiFormTable th,
.foswikiEditForm .foswikiFormTable td {
border-color:%TABLE_BORDER%;
}
.foswikiEditForm .foswikiFormTable th {
background-color:%MAIN_TEXT_BACKGROUND%;
}
.foswikiEditForm .foswikiFormTable th.foswikiFormTableHRow {
.foswikiAttachments table {
border-color:%TABLE_BORDER%;
background-color:%MAIN_TEXT_BACKGROUND%;
}
table.foswikiFormTable,
.foswikiAttachments table,
table.foswikiFormTable {
.foswikiAttachments th,
.foswikiAttachments td {
border-color:%TABLE_BORDER%;
background-color:%MAIN_TEXT_BACKGROUND%;
}
.foswikiAttachments table {
background-color:%MAIN_TEXT_BACKGROUND%;
background-color:%BACKGROUND_ON_FORM_BACKGROUND% !important;
}
.foswikiForm td,
.foswikiForm th,
Expand Down Expand Up @@ -625,7 +622,7 @@ a:hover .foswikiAccessKey {
}

.patternTopicActions {
background-color:%MAIN_TEXT_BACKGROUND%;
background-color:%TOPIC_ACTION_BACKGROUND%;
color:%MAIN_TEXT%;
}
.patternActionButtons a:link,
Expand Down Expand Up @@ -704,20 +701,6 @@ table#foswikiSearchTable th {
styles and overridden styles used in search.pattern.tmpl
----------------------------------------------------------- */

h3.foswikiSearchResultsHeader,
h4.foswikiSearchResultsHeader {
border-color:%SEPARATOR_BORDER%;
}
h4.foswikiSearchResultsHeader {
color:%GRAYED_TEXT%;
}
h4.foswikiSearchResultsHeader b,
h4.foswikiSearchResultsHeader strong {
color:%MAIN_TEXT%;
}
.patternNoViewPage h4.foswikiSearchResultsHeader {
color:%HEADER_TEXT%;
}
.foswikiSearchResult .foswikiAlert {
color:%ALERT_TEXT%;
}
Expand Down Expand Up @@ -755,10 +738,10 @@ h4.foswikiSearchResultsHeader strong {
tr.foswikiDiffDebug td {
border-color:%NEUTRAL_BACKGROUND%;
}
.foswikiDiffTable th {
.foswikiDiffTable table th {
background-color:%NEUTRAL_BACKGROUND%;
}
.foswikiDiffTable table th {
.foswikiDiffTable th {
background-color:%NEUTRAL_BACKGROUND%;
}
/* Changed */
Expand Down Expand Up @@ -803,6 +786,8 @@ tr.foswikiDiffDebug td {
}




/* IMAGES */
/* image positions are set here as well as these are dependent on the image */

Expand Down Expand Up @@ -1007,7 +992,14 @@ li.patternLogIn {
.patternBorder {
border-color:%NEUTRAL_BORDER%;
}

a.jqPopUpWindow:link,
a.jqPopUpWindow:visited,
a.jqPopUpWindow:hover {
background-image:url(popup.gif);
background-repeat:no-repeat;
background-position:right;
padding-right:18px;
}
%ENDATTACH%
</verbatim>
<!-- %JQREQUIRE{"chili"}% -->
1 change: 1 addition & 0 deletions PatternSkin/lib/Foswiki/Contrib/PatternSkin/MANIFEST
Expand Up @@ -88,6 +88,7 @@ pub/System/PatternSkinTheme/form_gradient.gif 0644
pub/System/PatternSkinTheme/layout.css 0644
pub/System/PatternSkinTheme/layout_src.css 0644
pub/System/PatternSkinTheme/layout.css.gz 0644
pub/System/PatternSkinTheme/popup.gif 0644
pub/System/PatternSkinTheme/style.css 0644
pub/System/PatternSkinTheme/style_src.css 0644
pub/System/PatternSkinTheme/style.css.gz 0644
Expand Down
52 changes: 21 additions & 31 deletions PatternSkin/pub/System/PatternSkinTheme/colors_src.css
Expand Up @@ -59,7 +59,7 @@ pre, code, tt {
color:#333;
}
pre {
background:#f5f5f5;
background:#ededeb;
border-color:#ddd;
}
blockquote {
Expand Down Expand Up @@ -248,28 +248,21 @@ a:hover.twistyTrigger {
color:#06c;
}

table.foswikiFormTable th.foswikiFormTableHRow,
table.foswikiFormTable td.foswikiFormTableRow {
color:#797979;
}
.foswikiEditForm .foswikiFormTable,
.foswikiEditForm .foswikiFormTable th,
.foswikiEditForm .foswikiFormTable td {
border-color:#eee;
}
.foswikiEditForm .foswikiFormTable th {
background-color:#fff;
}
.foswikiEditForm .foswikiFormTable th.foswikiFormTableHRow {
.foswikiAttachments table {
border-color:#eee;
background-color:#fff;
}
table.foswikiFormTable,
.foswikiAttachments table,
table.foswikiFormTable {
.foswikiAttachments th,
.foswikiAttachments td {
border-color:#eee;
background-color:#fff;
}
.foswikiAttachments table {
background-color:#fff;
background-color:#fcfcfc !important;
}
.foswikiForm td,
.foswikiForm th,
Expand Down Expand Up @@ -500,20 +493,6 @@ table#foswikiSearchTable th {
styles and overridden styles used in search.pattern.tmpl
----------------------------------------------------------- */

h3.foswikiSearchResultsHeader,
h4.foswikiSearchResultsHeader {
border-color:#dfdfdf;
}
h4.foswikiSearchResultsHeader {
color:#797979;
}
h4.foswikiSearchResultsHeader b,
h4.foswikiSearchResultsHeader strong {
color:#000;
}
.patternNoViewPage h4.foswikiSearchResultsHeader {
color:#390;
}
.foswikiSearchResult .foswikiAlert {
color:#f00;
}
Expand Down Expand Up @@ -551,10 +530,10 @@ h4.foswikiSearchResultsHeader strong {
tr.foswikiDiffDebug td {
border-color:#f5f5f5;
}
.foswikiDiffTable th {
.foswikiDiffTable table th {
background-color:#f5f5f5;
}
.foswikiDiffTable table th {
.foswikiDiffTable th {
background-color:#f5f5f5;
}
/* Changed */
Expand Down Expand Up @@ -591,14 +570,16 @@ tr.foswikiDiffDebug td {
background-color:#fff !important;
}
.foswikiDiffUnchangedText {
color:#797979 !important;
color:#797979;
}
.foswikiDiffUnchangedTextContents { }
.foswikiDiffLineNumberHeader th {
background-color:#f5f5f5 !important;
}




/* IMAGES */
/* image positions are set here as well as these are dependent on the image */

Expand Down Expand Up @@ -802,4 +783,13 @@ li.patternLogIn {
}
.patternBorder {
border-color:#ddd;
}
a.jqPopUpWindow:link,
a.jqPopUpWindow:visited,
a.jqPopUpWindow:hover {
background-image:url(popup.gif);
background-repeat:no-repeat;
background-position:right;
padding-right:14px;
margin-right:3px;
}
Binary file added PatternSkin/pub/System/PatternSkinTheme/popup.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions PatternSkin/pub/System/PatternSkinTheme/style_src.css
Expand Up @@ -509,10 +509,13 @@ h3 .foswikiSmall {
border:none;
}
.foswikiHelp {
padding:.5em 10px;
margin:0 0 1em 0;
padding:1em 10px;
margin:1em 0;
border-style:none;
}
.patternTop .foswikiHelp {
margin:0 0 1em 0;
}
.foswikiHelp ul {
margin-top:0;
margin-bottom:0;
Expand Down Expand Up @@ -745,9 +748,6 @@ html>body #patternSideBarContents li { /* Mozilla */
border-style:solid none none none;
margin-top:-1px;
}
.patternEditPage .patternTopicActions {
margin:2em 0 0 0;
}
.patternActionButtons a:link,
.patternActionButtons a:visited {
padding:1px 1px 2px 1px;
Expand Down

0 comments on commit 1e5d2f1

Please sign in to comment.