1/** 2 * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. 3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license 4 */ 5 6.cke_colordialog_colorcell { 7 width: 12px; /* All cells have equal width which depends on parent width (in this case table parent). Width works more like max-width. */ 8 height: 14px; 9 padding: 1px; /* Padding is replaced by border for focused cells. Prevents 'jumping' when adding borders. */ 10} 11 12.cke_colordialog_colorcell.cke_colordialog_focused_light, 13.cke_colordialog_colorcell.cke_colordialog_focused_dark { 14 padding: 0; /* Shrink cell to allow 1px border indicating focus. */ 15 border: 1px dotted #000; 16} 17 18.cke_colordialog_colorcell.cke_colordialog_focused_dark { 19 border-color: #FFF; 20} 21