Skip to content

Commit

Permalink
Item13883: remove explicit bg colors
Browse files Browse the repository at this point in the history
... as thats unreadable in dark mode
  • Loading branch information
MichaelDaum committed May 21, 2024
1 parent e056988 commit 2ebff34
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
12 changes: 1 addition & 11 deletions core/data/System/AppendixCascadingStyleSheets.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1490666627" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1716288892" format="1.1" version="1"}%
%META:TOPICPARENT{name="DeveloperDocumentationCategory"}%
%STARTINCLUDE%
---+ Appendix C: CSS
Expand All @@ -25,7 +25,6 @@ A wide range of standard styles are used in the Foswiki core code and topics, an

---+++ Structural elements
<sticky>
%TABLE{databg="#fff"}%
|=.foswikiContainer= | Container around all level one page elements to maintain consistent width and margins |
|=.foswikiPage= | The container for the complete page contents, just below the body tag (only used by default templates) |
|=.foswikiTopic= | The container for the topic contents |
Expand All @@ -52,7 +51,6 @@ A wide range of standard styles are used in the Foswiki core code and topics, an

---+++ General appearance
<sticky>
%TABLE{databg="#fff"}%
|=.foswikiLeft= | Left float |
|=.foswikiRight= | Right float |
|=.foswikiClear= | Clear float; usually written as =&lt;div class="foswikiClear"&gt;&lt;/div&gt;= |
Expand All @@ -71,7 +69,6 @@ A wide range of standard styles are used in the Foswiki core code and topics, an

---+++ Links
<sticky>
%TABLE{databg="#fff"}%
|=.foswikiCurrentWebHomeLink= | Used by Render.pm if a link points to the web's home topic |
|=.foswikiCurrentTopicLink= | Used by Render.pm if a link points to the current topic |
|=.foswikiEmulatedLink= | Used in the preview screen to make fake links appear as links |
Expand All @@ -81,7 +78,6 @@ A wide range of standard styles are used in the Foswiki core code and topics, an

---+++ Tables
<sticky>
%TABLE{databg="#fff"}%
|=.foswikiTable= | Tables, for instance used by TablePlugin |
|=.foswikiFirstCol= | Leftmost column |
|=.foswikiLastCol= | Rightmost column |
Expand All @@ -100,7 +96,6 @@ A wide range of standard styles are used in the Foswiki core code and topics, an

See also: [[#HtmlFormElements][HTML form elements]]
<sticky>
%TABLE{databg="#fff"}%
|=.foswikiFormHolder= | Outer container for the data form in edit; contains the textarea width |
|=.foswikiFormTable= | Table container for (editable) form elements |
|=.foswikiFormTableHRow= | Table container for (editable) form elements |
Expand All @@ -113,7 +108,6 @@ See also: [[#HtmlFormElements][HTML form elements]]
#HtmlFormElements
---+++ HTML form elements
<sticky>
%TABLE{databg="#fff"}%
|=.foswikiForm= | Container for data form in topic, including header |
|=.foswikiActionFormStepSign= | Indicator for each form step (see =foswikiFormStep=) |
|=.foswikiFormSteps= | Container around a form that contains a number of separate 'steps'; each 'step' in a separate row |
Expand All @@ -140,7 +134,6 @@ See also: [[#HtmlFormElements][HTML form elements]]

---+++ Search and lists
<sticky>
%TABLE{databg="#fff"}%
|=.foswikiSearchResult= | Container around image and contents |
|=.foswikiSearchResultContents= | Search result content, such as title, summary, author |
|=.foswikiSearchResultCount= | Search results count |
Expand All @@ -162,7 +155,6 @@ See also: [[#HtmlFormElements][HTML form elements]]

---+++ Other elements
<sticky>
%TABLE{databg="#fff"}%
|=.foswikiButtonGroup= | Group of buttons. Introduced with Foswiki 2.0. |
|=.foswikiToolbar= | Container for controls. Introduced with Foswiki 2.0. |
|=.foswikiToolbarHeader= | Header in =foswikiToolbar=. Introduced with Foswiki 2.0. |
Expand All @@ -176,7 +168,6 @@ See also: [[#HtmlFormElements][HTML form elements]]

---+++ History
<sticky>
%TABLE{databg="#fff"}%
|=.foswikiDiffTable= | Revision table |
|=.foswikiMarker= | Demarkation of part |
|=.foswikiDiffDeletedMarker= | Demarkation of part that has been deleted |
Expand All @@ -197,7 +188,6 @@ See also: [[#HtmlFormElements][HTML form elements]]
#BehaviourClasses
---+++ Behaviour classes
<sticky>
%TABLE{databg="#fff"}%
Markers to invoke behaviour with unobtrusive !JavaScript.
|=.foswikiFocus= | Behaviour marker so a field can be given input focus. As of Foswiki 2.0 this also requires to add =%<nop>JQREQUIRE{"focus"}%= to the page. |
|=.foswikiChangeFormButton= | "Replace form" button; clicking calls !JavaScript function =suppressSaveValidation= |
Expand Down
4 changes: 2 additions & 2 deletions core/data/System/DataForms.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1655468868" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1716288892" format="1.1" version="1"}%
%META:TOPICPARENT{name="UserDocumentationCategory"}%
%STARTINCLUDE%
---+!! Data Forms
Expand Down Expand Up @@ -260,7 +260,7 @@ Types with names like this can both take multiple values.
---+++ Attributes
Extra attributes that control some aspects of how the field is handled.

%TABLE{databg="#ffffff" columnwidths="20%,80%" sort="off"}%
%TABLE{columnwidths="20%,80%" sort="off"}%
| =H= | Indicates that this field should not be shown in view mode. However, the field is available for editing and storing information. |
| =M= | Indicates that this field is mandatory. The topic cannot be saved unless a value is provided for this field. |

Expand Down
6 changes: 3 additions & 3 deletions core/data/System/IfStatements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1655468868" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1716288892" format="1.1" version="1"}%
%META:TOPICPARENT{name="DeveloperDocumentationCategory"}%
---+!! IF statements

Expand Down Expand Up @@ -108,7 +108,7 @@ or
---++++ URL parameter test
Be careful when you test for an empty value: if the URL parameter is not defined (not passed in the URL), the outcome might not be what you expected. Use the parameter test to check your assumptions.

%TABLE{databg="#ffffff" headeralign="left" headerrows="2"}%
%TABLE{headeralign="left" headerrows="2"}%
| *Test* \
| *IF query* \
| *no param* \
Expand Down Expand Up @@ -164,7 +164,7 @@ Example:
%INCLUDE{"%TOPIC%" section="includetest" name="Barry"}%
<verbatim class='foswikiHidden'>
%STARTSECTION{"includetest"}%
%TABLE{databg="#ffffff" headeralign="left"}%
%TABLE{headeralign="left"}%
| *Test* \
| *IF query param 'name'* \
| *Result param 'name'* \
Expand Down

0 comments on commit 2ebff34

Please sign in to comment.