MDL-43822 theme_bootstrapbase: blocks less tidied and reorganised
[moodle.git] / theme / base / style / blocks.css
blob921c8463640f349f257389aec28c79e1f9965941
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 .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;}
9 .block .content {padding:4px;}
10 .jsenabled .block.hidden .content {display: none;}
11 .block .content .userpicture {width:16px;height:16px;margin-right:6px;}
12 .block .content .list li.listentry {clear:both;}
13 .block .content .list .c0 {display:inline;}
14 .block .content .list .c1 {margin-left:5px;display:inline;}
15 .block .footer {margin-bottom: 4px;}
16 .block_navigation .block_tree li {overflow:hidden;}
17 .block_calendar_upcoming .footer { margin-top: .5em; }
19 /** block_list blocks need column stuffs **/
20 .block.list_block .unlist > li > .column {display:inline-block;}
21 .ie6 .block.list_block .unlist .column {display:inline;}
23 .block.beingmoved {border-width: 2px;border-style: dashed;}
24 .blockmovetarget {display: block;height: 1em;margin-bottom: 1em;border-width: 2px;border-style: dashed;}
26 .block-region .invisible {opacity: 0.5;filter: alpha(opacity=50);}
28 .block .block-hider-show,
29 .block .block-hider-hide {cursor:pointer;}
30 .block .block-hider-show,
31 .block.hidden .block-hider-hide {display:none;}
32 .block.hidden .block-hider-show {display:inline;}
34 .block_completionstatus .generaltable { border: 0px; }
35 .block_completionstatus .generaltable .cell { border: 0px; }
37 /** Overide for RTL layout **/
38 .dir-rtl .block .header,
39 .dir-rtl .block h2.header {text-align:right;}
40 .dir-rtl .block .header .commands { text-align: left;}
41 .dir-rtl .block .header .block_action { float: left; margin-left: 4px; margin-left: 0;}