From b0b15d84a079ad62b3fe2a73a3af9b75624ec182 Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Wed, 6 Feb 2013 13:57:30 +0100 Subject: [PATCH] Fixed: Custom buttons in dialog footers have different look and size (Moono, Kama). --- skins/kama/dialog.css | 5 ++--- skins/moono/dialog.css | 13 +++++++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/skins/kama/dialog.css b/skins/kama/dialog.css index 57a092b9ec9..18b6858f4b1 100644 --- a/skins/kama/dialog.css +++ b/skins/kama/dialog.css @@ -459,9 +459,8 @@ a.cke_dialog_ui_button display: inline-block; } -/* The inner part of the button. */ -a.cke_dialog_ui_button_ok span, -a.cke_dialog_ui_button_cancel span +/* The inner part of the button (dialog footer buttons only). */ +.cke_dialog_footer_buttons a.cke_dialog_ui_button span { width: 60px; padding: 5px 20px 5px; diff --git a/skins/moono/dialog.css b/skins/moono/dialog.css index b2c4c8b9a8c..6a2cf8d08fa 100644 --- a/skins/moono/dialog.css +++ b/skins/moono/dialog.css @@ -650,14 +650,12 @@ a.cke_dialog_ui_button[style*="width"] width: auto !important; } */ -/* The inner part of the button. */ -a.cke_dialog_ui_button_ok span, -a.cke_dialog_ui_button_cancel span +/* The inner part of the button (both in dialog tabs and dialog footer). */ +.cke_dialog_footer_buttons a.cke_dialog_ui_button span { color: inherit; font-size: 12px; font-weight: bold; - text-shadow: 0 1px 0 #fff; line-height: 20px; } @@ -690,6 +688,13 @@ a.cke_dialog_ui_button_ok:hover filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88be14', endColorstr='#5d9c0a',GradientType=0 ); } +/* Default text shadow used for inner parts of all dialog buttons (both in dialog tabs and dialog footer). */ +a.cke_dialog_ui_button span +{ + text-shadow: 0 1px 0 #fff; +} + +/* Text shadow used for inner part of OK dialog button in footer. */ a.cke_dialog_ui_button_ok span { text-shadow: 0 -1px 0 #55830c;