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 63abcc6 commit c51894c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 20 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="1437331638" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1716287142" 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: 1 addition & 3 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="1716287142" format="1.1" version="1"}%
%META:TOPICPARENT{name="UserDocumentationCategory"}%
%STARTINCLUDE%
---+!! Data Forms
Expand Down Expand Up @@ -102,7 +102,6 @@ Data form tables often have an optional header row as a useful reminder of the c
---++++ Form field rows
One form field is defined by each row in the table.

%TABLE{databg="#ffffff" columnwidths="20%,80%" sort="off"}%
| Name | The name of the form field; must be unique for that form. |
| Type | The data type: text, date, single or multi-value, labels (read-only). The type also defines how form field data can be entered in the edit screen, such as text field or radio buttons. |
| Size | The input size of the form field inputs on the edit screen. |
Expand Down Expand Up @@ -309,7 +308,6 @@ Description of the field. Sometimes used in help information.
---++++ Attributes
Whether the field is mandatory or hidden when viewed.

%TABLE{databg="#ffffff" 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. If the field is found empty during topic save, the user is presented with an error message. Mandatory fields are indicated by an asterisk next to the field name. |

Expand Down
4 changes: 1 addition & 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="1716287142" format="1.1" version="1"}%
%META:TOPICPARENT{name="DeveloperDocumentationCategory"}%
---+!! IF statements

Expand Down Expand Up @@ -108,7 +108,6 @@ 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"}%
| *Test* \
| *IF query* \
| *no param* \
Expand Down Expand Up @@ -164,7 +163,6 @@ Example:
%INCLUDE{"%TOPIC%" section="includetest" name="Barry"}%
<verbatim class='foswikiHidden'>
%STARTSECTION{"includetest"}%
%TABLE{databg="#ffffff" headeralign="left"}%
| *Test* \
| *IF query param 'name'* \
| *Result param 'name'* \
Expand Down
5 changes: 2 additions & 3 deletions core/data/System/VarICON.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1434650530" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1716287142" format="1.1" version="1"}%
%META:TOPICPARENT{name="Macros"}%
---+ ICON -- small documentation graphic or icon of common attachment types
Generates a small graphic image from the set attached to %ICONTOPIC%.
Expand All @@ -19,7 +19,6 @@ If you specify an icon which cannot be found, the one specified in the =default=
* =%<nop>ICON{"/dont/you/dare/smile.pdf"}%= returns %ICON{"/dont/you/dare/smile.pdf"}%
* =%<nop>ICON{"data.unknown" alt="Unknown file type"}%= displays as %ICON{"data.unknown" alt="Unknown file type"}%
* =%<nop>ICON{"data.unknown"}%= displays as %ICON{"data.unknown"}%
* =%<nop>ICON{"http://trunk.foswiki.org/pub/%SYSTEMWEB%/DocumentGraphics/xsl.gif"}%= displays %ICON{"http://trunk.foswiki.org/pub/%SYSTEMWEB%/DocumentGraphics/xsl.gif"}%

* Graphics: %ICON{"arrowbright"}% =arrowbright=, %ICON{"bubble"}% =bubble=, %ICON{"choice-yes"}% =choice-yes=, %ICON{"hand"}% =hand=
* File types: %ICON{"bmp"}% =bmp=, %ICON{"doc"}% =doc=, %ICON{"gif"}% =gif=, %ICON{"hlp"}% =hlp=, %ICON{"html"}% =html=, %ICON{"mp3"}% =mp3=, %ICON{"pdf"}% =pdf=, %ICON{"ppt"}% =ppt=, %ICON{"txt"}% =txt=, %ICON{"xls"}% =xls=, %ICON{"xml"}% =xml=, %ICON{"zip"}% =zip=
Expand All @@ -31,5 +30,5 @@ You can also use formatting tokens such as =$quot= and =$dollar= in =quote=.

%STOPINCLUDE%
---++ Related
[[VarICONURL][ICONURL]], [[VarICONURLPATH][ICONURLPATH]], %ICONTOPIC%
[[VarICONURL][ICONURL]], [[VarICONURLPATH][ICONURLPATH]], %ICONTOPIC%, [[VarJQICON]]

0 comments on commit c51894c

Please sign in to comment.