aboutsummaryrefslogtreecommitdiff
path: root/release/plugins/colordialog/dialogs/colordialog.css
blob: 3ec0d2a913ce12982f6534720662595b2808c8b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

.cke_colordialog_colorcell {
	width: 12px; /* All cells have equal width which depends on parent width (in this case table parent). Width works more like max-width. */
	height: 14px;
	padding: 1px; /* Padding is replaced by border for focused cells. Prevents 'jumping' when adding borders. */
}

.cke_colordialog_colorcell.cke_colordialog_focused_light,
.cke_colordialog_colorcell.cke_colordialog_focused_dark {
	padding: 0; /* Shrink cell to allow 1px border indicating focus. */
	border: 1px dotted #000;
}

.cke_colordialog_colorcell.cke_colordialog_focused_dark {
	border-color: #FFF;
}