-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RTL patch for older browsers, e.g., Chrome < 120
- Loading branch information
Showing
2 changed files
with
47 additions
and
6 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
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,43 @@ | ||
/* This patch file contains all :dir(rtl) selectors for browsers that do not support it yet */ | ||
/* Once, sufficiantly many users have browsers that support `:dir()`, this file can be removed */ | ||
|
||
/* component: toolbar */ | ||
|
||
.cms-toolbar { | ||
.cms-toolbar-item { | ||
float: right; | ||
} | ||
} | ||
|
||
.cms-toolbar-item-navigation { | ||
li, li a { | ||
float: right; | ||
} | ||
.cms-toolbar-item-navigation-children > a span .cms-icon { | ||
transform: rotate(0deg); | ||
} | ||
} | ||
|
||
.cms-toolbar-more .cms-toolbar-item-cms-mode-switcher a { | ||
float: right !important; | ||
} | ||
|
||
.cms-messages .cms-messages-close { | ||
float: left; | ||
} | ||
|
||
.cms-toolbar-item-buttons a { | ||
float: right; | ||
} | ||
|
||
|
||
/* component: modal */ | ||
|
||
.cms-modal-item-buttons { | ||
float: left; | ||
} | ||
|
||
.cms-modal-item-buttons-left { | ||
float: right; | ||
} | ||
|