From 69a3457fe96e1ecebc460aaa3f70ede5c570a12b Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 31 Oct 2013 09:53:28 +0800 Subject: [PATCH] MDL-40975 Theme: Tidy up block icons to line up in columns --- theme/afterburner/style/afterburner_blocks.css | 9 +-------- theme/base/style/core.css | 2 +- theme/binarius/style/core.css | 2 +- theme/splash/style/pagelayout.css | 1 + 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/theme/afterburner/style/afterburner_blocks.css b/theme/afterburner/style/afterburner_blocks.css index ffc29659686..44e204d9c3d 100644 --- a/theme/afterburner/style/afterburner_blocks.css +++ b/theme/afterburner/style/afterburner_blocks.css @@ -179,13 +179,6 @@ img.iconsmall, padding: 0; border-radius: 0; } -.block .header .commands { - text-align: center; -} -.block-control-actions span.moodle-core-dragdrop-draghandle { - position: relative; - top: 5px; -} .moodle-actionmenu.show[data-enhanced] .menu a { color: #333333; display: block; @@ -193,4 +186,4 @@ img.iconsmall, } .moodle-actionmenu.show[data-enhanced] .menu { left: 0; -} \ No newline at end of file +} diff --git a/theme/base/style/core.css b/theme/base/style/core.css index f0fd21b06f6..22a351db9e1 100644 --- a/theme/base/style/core.css +++ b/theme/base/style/core.css @@ -102,7 +102,7 @@ img.resize {height: 1em;width: 1em;} /* Icon styles */ img.icon {height:16px;vertical-align:text-bottom;width:16px;padding-right: 6px;} .dir-rtl img.icon {padding-left: 6px; padding-right: 0; } -img.iconsmall {height:12px;margin-right:3px;vertical-align:middle;width:12px;} +img.iconsmall {height:12px;margin-right:3px; margin-left: 3px;vertical-align:middle;width:12px;} img.iconhelp, .helplink img {height:16px; padding-left:3px;vertical-align:text-bottom;width:16px;} .dir-rtl img.iconhelp, .dir-rtl .helplink img {padding-right: 3px; padding-left: 0; } img.iconlarge {height: 24px; width: 24px; vertical-align:middle;} diff --git a/theme/binarius/style/core.css b/theme/binarius/style/core.css index 3ca9d8601f9..09f6a91cc33 100644 --- a/theme/binarius/style/core.css +++ b/theme/binarius/style/core.css @@ -104,7 +104,7 @@ fieldset#general { } .editing .block .header .commands { - padding: 2px 10px; + padding: 2px 0; } .block .header .block_action { diff --git a/theme/splash/style/pagelayout.css b/theme/splash/style/pagelayout.css index 4178cbb5ec5..93ca683266f 100644 --- a/theme/splash/style/pagelayout.css +++ b/theme/splash/style/pagelayout.css @@ -427,6 +427,7 @@ input[type=text],textarea,select,input[type=password]{ clear:both; margin:0; padding:5px 0 0 10px; + margin: 0 10px; } .block-region .block .content .commands{ border:0 none;