Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 87a2e68

Browse files
committed
Other: Update ButtonDropdown styles to PostCSS.
1 parent d83f850 commit 87a2e68

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

src/buttongroup/buttongroupview.js

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import FocusTracker from '@ckeditor/ckeditor5-utils/src/focustracker';
1212
import FocusCycler from '../focuscycler';
1313
import KeystrokeHandler from '@ckeditor/ckeditor5-utils/src/keystrokehandler';
1414

15+
import '../../theme/components/buttongroup.css';
16+
1517
/**
1618
* The button group view class.
1719
*

src/dropdown/button/createbuttondropdown.js

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import createDropdown from '../createdropdown';
1212
import ButtonGroupView from '../../buttongroup/buttongroupview';
1313
import { closeDropdownOnBlur, closeDropdownOnExecute, openDropdownOnArrows } from '../utils';
1414

15+
import '../../../theme/components/dropdown/buttondropdown.css';
16+
1517
/**
1618
* Creates an instance of {@link module:ui/dropdown/button/buttondropdownview~ButtonDropdownView} class using
1719
* a provided {@link module:ui/dropdown/button/buttondropdownmodel~ButtonDropdownModel}.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3+
* For licensing, see LICENSE.md.
4+
*/
5+
6+
.ck-dropdown .ck-button-group .ck-button {
7+
&:focus {
8+
z-index: calc(var(--ck-z-default) + 1);
9+
}
10+
}

theme/components/dropdown/buttondropdown.scss

-12
This file was deleted.

theme/theme.scss

Whitespace-only changes.

0 commit comments

Comments
 (0)