|
|
@@ -67,16 +67,38 @@
|
|
|
/* No spacing between items. */
|
|
|
margin: 0;
|
|
|
|
|
|
- /* No rounded corners on the right side of the first child. */
|
|
|
- &:first-child {
|
|
|
- border-top-right-radius: 0;
|
|
|
- border-bottom-right-radius: 0;
|
|
|
+ @mixin ck-dir rtl {
|
|
|
+ /* Reset margins in RTL as well if toolbar is compact.
|
|
|
+ This is needed because of the "(#11) Separate toolbar items." override later in the file. */
|
|
|
+ margin: 0;
|
|
|
}
|
|
|
|
|
|
- /* No rounded corners on the left side of the last child. */
|
|
|
- &:last-child {
|
|
|
- border-top-left-radius: 0;
|
|
|
- border-bottom-left-radius: 0;
|
|
|
+ @mixin ck-dir ltr {
|
|
|
+ /* No rounded corners on the right side of the first child. */
|
|
|
+ &:first-child {
|
|
|
+ border-top-right-radius: 0;
|
|
|
+ border-bottom-right-radius: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* No rounded corners on the left side of the last child. */
|
|
|
+ &:last-child {
|
|
|
+ border-top-left-radius: 0;
|
|
|
+ border-bottom-left-radius: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @mixin ck-dir rtl {
|
|
|
+ /* No rounded corners on the right side of the first child. */
|
|
|
+ &:first-child {
|
|
|
+ border-top-left-radius: 0;
|
|
|
+ border-bottom-left-radius: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* No rounded corners on the left side of the last child. */
|
|
|
+ &:last-child {
|
|
|
+ border-top-right-radius: 0;
|
|
|
+ border-bottom-right-radius: 0;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/* "Middle" children should have no rounded corners. */
|