forked from WoltLab/docs.woltlab.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: Migrating from WSC 3.0 - CSS | ||
sidebar: sidebar | ||
permalink: migration_wsc-30_css.html | ||
folder: migration/wsc-30 | ||
--- | ||
|
||
## New Style Variables | ||
|
||
{% include callout.html content="The new style variables are only applied to styles that have the compatibility set to WSC 3.1" type="info" %} | ||
|
||
### wcfContentContainer | ||
|
||
The page content is encapsulated in a new container that wraps around the inner content, but excludes the sidebars, header and page navigation elements. | ||
|
||
* `$wcfContentContainerBackground` - background color | ||
* `$wcfContentContainerBorder` - border color | ||
|
||
### wcfEditorButton | ||
|
||
These variables control the appearance of the editor toolbar and its buttons. | ||
|
||
* `$wcfEditorButtonBackground` - button and toolbar background color | ||
* `$wcfEditorButtonBackgroundActive` - active button background color | ||
* `$wcfEditorButtonText` - text color for available buttons | ||
* `$wcfEditorButtonTextActive` - text color for active buttons | ||
* `$wcfEditorButtonTextDisabled` - text color for disabled buttons | ||
|
||
## Color Variables in `alert.scss` | ||
|
||
The color values for `<small class="innerError">` used to be hardcoded values, but have now been changed to use the values for error messages (`wcfStatusError*`) instead. | ||
|
||
{% include links.html %} |