Permalink
Browse files

MDL-55071 css: reformat some css files we touch with stylefmt

  • Loading branch information...
danpoltawski committed Sep 22, 2016
1 parent 46c1713 commit 0b2dc2751fd0d40947ab5f17db852600483c9005
Showing with 81 additions and 23 deletions.
  1. +1 −1 admin/tool/task/styles.css
  2. +59 −14 blocks/navigation/styles.css
  3. +21 −8 mod/book/styles.css
@@ -5,7 +5,7 @@
font-size: 0.75em;
}
#page-admin-tool-task-scheduledtasks input[type=text]
#page-admin-tool-task-scheduledtasks input[type=text] {
/*rtl:ignore*/
direction: ltr;
}
@@ -1,9 +1,32 @@
.block_navigation .block_tree .depth_1 > .tree_item.branch {padding-left: 0; background-image:none;}
.block_navigation .block_tree .depth_1 > ul {margin: 0;}
.block_navigation .block_tree ul {margin-left: 18px;}
.block_navigation .block_tree p.hasicon {text-indent: -21px; padding-left: 21px;}
.block_navigation .block_tree p.hasicon img {width: 16px; height: 16px; margin-top: 3px; margin-right: 5px; vertical-align: top;}
.block_navigation .block_tree p.hasicon.visibleifjs {display: block;}
.block_navigation .block_tree .depth_1 > .tree_item.branch {
padding-left: 0;
background-image: none;
}
.block_navigation .block_tree .depth_1 > ul {
margin: 0;
}
.block_navigation .block_tree ul {
margin-left: 18px;
}
.block_navigation .block_tree p.hasicon {
text-indent: -21px;
padding-left: 21px;
}
.block_navigation .block_tree p.hasicon img {
width: 16px;
height: 16px;
margin-top: 3px;
margin-right: 5px;
vertical-align: top;
}
.block_navigation .block_tree p.hasicon.visibleifjs {
display: block;
}
.block_navigation .block_tree .tree_item {
cursor: pointer;
@@ -13,19 +36,41 @@
background-repeat: no-repeat;
word-wrap: break-word;
}
.block_navigation .block_tree .tree_item.branch {padding-left: 21px;}
.block_navigation .block_tree .active_tree_node {font-weight:bold;}
.block_navigation .block_tree [aria-expanded="true"] {background-image: url('[[pix:t/expanded]]');}
.block_navigation .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed]]');}
.block_navigation .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty]]');}
.block_navigation .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');}
.block_navigation .block_tree .tree_item.branch {
padding-left: 21px;
}
.block_navigation .block_tree .active_tree_node {
font-weight: bold;
}
.block_navigation .block_tree [aria-expanded="true"] {
background-image: url('[[pix:t/expanded]]');
}
.block_navigation .block_tree [aria-expanded="false"] {
background-image: url('[[pix:t/collapsed]]');
}
.block_navigation .block_tree [aria-expanded="true"].emptybranch {
background-image: url('[[pix:t/collapsed_empty]]');
}
.block_navigation .block_tree [aria-expanded="false"].loading {
background-image: url('[[pix:i/loading_small]]');
}
/*rtl:raw:
.block_navigation .block_tree [aria-expanded="false"] {background-image: url('[[pix:t/collapsed_rtl]]');}
.block_navigation .block_tree [aria-expanded="true"].emptybranch {background-image: url('[[pix:t/collapsed_empty_rtl]]');}
.block_navigation .block_tree [aria-expanded="false"].loading {background-image: url('[[pix:i/loading_small]]');}
*/
.block_navigation .block_tree [aria-hidden="false"] {display: block;}
.block_navigation .block_tree [aria-hidden="true"] {display: none;}
.block_navigation .block_tree [aria-hidden="false"] {
display: block;
}
.block_navigation .block_tree [aria-hidden="true"] {
display: none;
}
View
@@ -1,20 +1,20 @@
.path-mod-book .navtop img.icon,
.path-mod-book .navbottom img.icon {
margin-right: 4px;
margin-left: 4px;
border: 0;
padding: 0;
margin-right: 4px;
margin-left: 4px;
border: 0;
padding: 0;
}
.path-mod-book .navbottom,
.path-mod-book .navtop {
text-align: right;
}
.path-mod-book .navtop {
margin-bottom: 0.5em;
}
.path-mod-book .navbottom {
margin-top: 0.5em;
}
@@ -26,20 +26,26 @@
padding-left: 0;
padding-right: 0;
}
.path-mod-book .block_book_toc li {
clear: both;
list-style: none;
margin-top: .5em;
}
.path-mod-book .block_book_toc li li {
list-style: none;
}
.path-mod-book .block_book_toc .action-list { float: right; }
.path-mod-book .block_book_toc .action-list {
float: right;
}
.path-mod-book .block_book_toc .action-list img.smallicon {
margin: 0 3px;
}
.path-mod-book .book_toc_none ul ul{
.path-mod-book .book_toc_none ul ul {
margin-left: 0;
margin-right: 0;
}
@@ -48,6 +54,7 @@
.path-mod-book .book_toc_bullets ul ul {
margin-left: 20px;
}
.path-mod-book .book_toc_bullets li li {
list-style: circle;
}
@@ -60,9 +67,11 @@
.path-mod-book .book_toc_indented ul {
margin-left: 5px;
}
.path-mod-book .book_toc_indented ul ul {
margin-left: 15px;
}
.path-mod-book .book_toc_indented li li {
list-style: none;
}
@@ -72,11 +81,13 @@
.navbottom.navtext .chaptername {
font-weight: bolder;
}
.navtop.navtext a,
.navbottom.navtext a {
display: inline-block;
max-width: 45%;
}
.navtop.navtext a.bookprev,
.navbottom.navtext a.bookprev {
float: left;
@@ -88,12 +99,14 @@
.path-mod-book .navtop {
text-align: center;
}
.navtop.navtext a,
.navbottom.navtext a {
display: block;
max-width: 100%;
margin: auto;
}
.navtop.navtext a.bookprev,
.navbottom.navtext a.bookprev {
float: none;

0 comments on commit 0b2dc27

Please sign in to comment.