MDL-50990 theme_base: Fixed errors in CSS mark-up in style/blocks.css
[moodle.git] / theme / base / style / blocks.css
1 .block {border:1px solid;margin-bottom:1em;}
2 .block .header h2 { padding: .2em 0 0 .2em; margin: 0;word-wrap: break-word;}
3 .block .header .block_action {float:right;margin:4px 0 3px 0;vertical-align:top;}
4 .block .header .block_action img,
5 .block .header .block_action input {margin:0 3px; width: 12px; height: 12px;}
6 .block .content {padding:4px;}
7 .jsenabled .block.hidden .content {display: none;}
8 .block .content .userpicture {width:16px;height:16px;margin-right:6px;}
9 .block .content .list li.listentry {clear:both;}
10 .block .content .list .c0 {display:inline;}
11 .block .content .list .c1 {margin-left:5px;display:inline;}
12 .block .footer {margin-bottom: 4px;}
13 .block_navigation .block_tree li {overflow:hidden;}
14 .block_calendar_upcoming .footer { margin-top: .5em; }
16 /** block_list blocks need column stuffs **/
17 .block.list_block .unlist > li > .column {display:inline-block;}
18 .ie6 .block.list_block .unlist .column {display:inline;}
20 .block.beingmoved {border-width: 2px;border-style: dashed;}
21 .blockmovetarget {display: block;height: 1em;margin-bottom: 1em;border-width: 2px;border-style: dashed;}
23 .block-region .invisible {opacity: 0.5;filter: alpha(opacity=50);}
25 .block .block-hider-show,
26 .block .block-hider-hide {cursor:pointer;}
27 .block .block-hider-show,
28 .block.hidden .block-hider-hide {display:none;}
29 .block.hidden .block-hider-show {display:inline;}
31 .block_completionstatus .generaltable { border: 0px; }
32 .block_completionstatus .generaltable .cell { border: 0px; }
34 .block-region {
35     min-height: 400px;
36     overflow: hidden;
37 }
38 /** Block commands when editing  **/
40 .editing .block .header .commands {
41     text-align: right;
42     clear: both;
43 }
44 .editing .block .header .commands > a {
45     margin: 0 3px;
46 }
47 .editing .block .header .commands .icon img {
48     width: 12px;
49     height: 12px;
50 }
51 .editing .block .header .commands img.actionmenu {
52     width: auto;
53 }
55 /** Overide for RTL layout **/
56 .dir-rtl .block .header .block_action { float: left;}
58 .dir-rtl.editing .block .header .commands {
59     text-align: left;
60 }