forked from ezsystems/ezplatform-admin-ui
-
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.
EZP-29115: Add characters counter to RichText (ezsystems#741)
* EZP-29115: Add characters counter to RichText * removed implementation from plugin, moved user settings part to a separate PR * fixes after CR * fixes after review vol.2
- Loading branch information
1 parent
e0ec4d9
commit 5a98bb9
Showing
6 changed files
with
91 additions
and
1 deletion.
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
15 changes: 15 additions & 0 deletions
15
src/bundle/Resources/public/scss/_alloyeditor-character-counter.scss
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,15 @@ | ||
.ez-character-counter { | ||
position: relative; | ||
background-color: $ez-ground-base-medium; | ||
color: $ez-black; | ||
font-size: calculateRem(10px); | ||
margin: calculateRem(-16px) calculateRem(1px) 0 auto; | ||
border-bottom-left-radius: calculateRem(5px); | ||
border-bottom-right-radius: calculateRem(5px); | ||
width: calc(100% - 2px); | ||
|
||
&__word-count, | ||
&__character-count { | ||
margin-left: calculateRem(16px); | ||
} | ||
} |
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
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