MDL-43822 theme_bootstrapbase: blocks less tidied and reorganised
[moodle.git] / theme / base / style / blocks.css
CommitLineData
0db9c5df 1.block {border:1px solid;margin-bottom:1em;}
ee749e50 2.block .header h2 { padding: .2em 0 0 .2em; margin: 0;word-wrap: break-word;}
045d946c
FM
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 .header .commands { text-align: right; clear: both;}
7.block .header .commands > a { margin:0 3px; }
8.block .header .commands .icon img {width:12px;height:12px;}
13273e51 9.block .header .commands img.actionmenu {width:auto;}
6605ff8c 10.block .content {padding:4px;}
2fad76eb 11.jsenabled .block.hidden .content {display: none;}
3d3c7ecf 12.block .content .userpicture {width:16px;height:16px;margin-right:6px;}
0db9c5df
SH
13.block .content .list li.listentry {clear:both;}
14.block .content .list .c0 {display:inline;}
15.block .content .list .c1 {margin-left:5px;display:inline;}
6605ff8c 16.block .footer {margin-bottom: 4px;}
b9b96143 17.block_navigation .block_tree li {overflow:hidden;}
857c5f90 18.block_calendar_upcoming .footer { margin-top: .5em; }
78946b9b 19
740952e4
SH
20/** block_list blocks need column stuffs **/
21.block.list_block .unlist > li > .column {display:inline-block;}
22.ie6 .block.list_block .unlist .column {display:inline;}
23
6605ff8c 24.block.beingmoved {border-width: 2px;border-style: dashed;}
90723839 25.blockmovetarget {display: block;height: 1em;margin-bottom: 1em;border-width: 2px;border-style: dashed;}
78946b9b 26
0db9c5df 27.block-region .invisible {opacity: 0.5;filter: alpha(opacity=50);}
78946b9b 28
0db9c5df
SH
29.block .block-hider-show,
30.block .block-hider-hide {cursor:pointer;}
31.block .block-hider-show,
32.block.hidden .block-hider-hide {display:none;}
33.block.hidden .block-hider-show {display:inline;}
43c90b9b 34
f982303d
JF
35.block_completionstatus .generaltable { border: 0px; }
36.block_completionstatus .generaltable .cell { border: 0px; }
37
e4a25e6f
RW
38.block-region {
39 min-height: 400px;
40 overflow: hidden;
41}
42
43c90b9b 43/** Overide for RTL layout **/
b9b96143 44.dir-rtl .block .header,
b41fc49c 45.dir-rtl .block h2.header {text-align:right;}
11f87187
FM
46.dir-rtl .block .header .commands { text-align: left;}
47.dir-rtl .block .header .block_action { float: left; margin-left: 4px; margin-left: 0;}