Commit 75b68df3 authored by Dan Poltawski's avatar Dan Poltawski
Browse files

MDL-55167 less: reformat one line statemets into multiple lines

parent c2d3fe21
...@@ -12,17 +12,45 @@ ...@@ -12,17 +12,45 @@
@warningText: #8a6d3b; @warningText: #8a6d3b;
// Headings. // Headings.
h1 { font-size: round(@baseFontSize * 2.30); } // ~32px h1 {
h2 { font-size: round(@baseFontSize * 2.00); } // ~28px font-size: round(@baseFontSize * 2.30); // ~32px
h3 { font-size: round(@baseFontSize * 1.70); } // ~24px }
h4 { font-size: round(@baseFontSize * 1.40); } // ~20px
h5 { font-size: round(@baseFontSize * 1.15); } // ~16px h2 {
h6 { font-size: round(@baseFontSize * 0.85); } // ~12px font-size: round(@baseFontSize * 2.00); // ~28px
}
h1 small { font-size: round(@baseFontSize * 1.70); } // ~24px
h2 small { font-size: round(@baseFontSize * 1.40); } // ~20px h3 {
h3 small { font-size: round(@baseFontSize * 1.15); } // ~16px font-size: round(@baseFontSize * 1.70); // ~24px
h4 small { font-size: round(@baseFontSize * 0.85); } // ~12px }
h4 {
font-size: round(@baseFontSize * 1.40); // ~20px
}
h5 {
font-size: round(@baseFontSize * 1.15); // ~16px
}
h6 {
font-size: round(@baseFontSize * 0.85); // ~12px
}
h1 small {
font-size: round(@baseFontSize * 1.70); // ~24px
}
h2 small {
font-size: round(@baseFontSize * 1.40); // ~20px
}
h3 small {
font-size: round(@baseFontSize * 1.15); // ~16px
}
h4 small {
font-size: round(@baseFontSize * 0.85); // ~12px
}
// Printing. // Printing.
@media print { @media print {
......
...@@ -2361,25 +2361,88 @@ img#persona_signin { ...@@ -2361,25 +2361,88 @@ img#persona_signin {
} }
/** bottom left of button **/ /** bottom left of button **/
&.align-tl-bl {top: 100%;left: 0;margin-top: 4px;} &.align-tl-bl {
&.align-tr-bl {top: 100%;right: 100%;} top: 100%;
&.align-bl-bl {bottom: 100%;left: 0;} left: 0;
&.align-br-bl {bottom: 100%;right: 100%;} margin-top: 4px;
}
&.align-tr-bl {
top: 100%;
right: 100%;
}
&.align-bl-bl {
bottom: 100%;
left: 0;
}
&.align-br-bl {
bottom: 100%;
right: 100%;
}
/** bottom right of button **/ /** bottom right of button **/
&.align-tl-br {top: 100%;left: 100%;} &.align-tl-br {
&.align-tr-br {top: 100%;right: 0;margin-top: 4px;} top: 100%;
&.align-bl-br {bottom: 100%;left: 100%;} left: 100%;
&.align-br-br {bottom: 100%;right: 0;} }
&.align-tr-br {
top: 100%;
right: 0;
margin-top: 4px;
}
&.align-bl-br {
bottom: 100%;
left: 100%;
}
&.align-br-br {
bottom: 100%;
right: 0;
}
/** top left of button **/ /** top left of button **/
&.align-tl-tl {top: 0;left: 0;} &.align-tl-tl {
&.align-tr-tl {top: 0;right: 100%;margin-right: 4px;} top: 0;
&.align-bl-tl {bottom: 100%;left: 0;margin-bottom: 4px;} left: 0;
&.align-br-tl {bottom: 100%;right: 100%;} }
&.align-tr-tl {
top: 0;
right: 100%;
margin-right: 4px;
}
&.align-bl-tl {
bottom: 100%;
left: 0;
margin-bottom: 4px;
}
&.align-br-tl {
bottom: 100%;
right: 100%;
}
/** top right of button **/ /** top right of button **/
&.align-tl-tr {top: 0;left: 100%;margin-left: 4px;} &.align-tl-tr {
&.align-tr-tr {top: 0;right: 0;} top: 0;
&.align-bl-tr {bottom: 100%;left: 100%;} left: 100%;
&.align-br-tr {bottom: 100%;right: 0;margin-bottom: 4px;} margin-left: 4px;
}
&.align-tr-tr {
top: 0;
right: 0;
}
&.align-bl-tr {
bottom: 100%;
left: 100%;
}
&.align-br-tr {
bottom: 100%;
right: 0;
margin-bottom: 4px;
}
} }
/** no wrap is set - prevent menu items from wrapping **/ /** no wrap is set - prevent menu items from wrapping **/
&.nowrap-items .menu > li { &.nowrap-items .menu > li {
...@@ -2407,25 +2470,85 @@ img#persona_signin { ...@@ -2407,25 +2470,85 @@ img#persona_signin {
} }
/** bottom left of button **/ /** bottom left of button **/
&.align-tl-bl {left: auto; right: 0;} &.align-tl-bl {
&.align-tr-bl {right: auto; left: 100%;} left: auto;
&.align-bl-bl {left: auto; right: 0;} right: 0;
&.align-br-bl {right: auto; left: 100%;} }
&.align-tr-bl {
right: auto;
left: 100%;
}
&.align-bl-bl {
left: auto;
right: 0;
}
&.align-br-bl {
right: auto;
left: 100%;
}
/** bottom right of button **/ /** bottom right of button **/
&.align-tl-br {left: auto; right: 100%;} &.align-tl-br {
&.align-tr-br {right: auto; left: 0;} left: auto;
&.align-bl-br {left: auto; right: 100%;} right: 100%;
&.align-br-br {right: auto; left: 0;} }
&.align-tr-br {
right: auto;
left: 0;
}
&.align-bl-br {
left: auto;
right: 100%;
}
&.align-br-br {
right: auto;
left: 0;
}
/** top left of button **/ /** top left of button **/
&.align-tl-tl {left: auto; right: 0;} &.align-tl-tl {
&.align-tr-tl {right: auto; left: 100%;} left: auto;
&.align-bl-tl {left: auto; right: 0;} right: 0;
&.align-br-tl {right: auto; left: 100%;} }
&.align-tr-tl {
right: auto;
left: 100%;
}
&.align-bl-tl {
left: auto;
right: 0;
}
&.align-br-tl {
right: auto;
left: 100%;
}
/** top right of button **/ /** top right of button **/
&.align-tl-tr {left: auto; right: 100%;} &.align-tl-tr {
&.align-tr-tr {right: auto; left: 0;} left: auto;
&.align-bl-tr {left: auto; right: 100%;} right: 100%;
&.align-br-tr {right: auto; left: 0;} }
&.align-tr-tr {
right: auto;
left: 0;
}
&.align-bl-tr {
left: auto;
right: 100%;
}
&.align-br-tr {
right: auto;
left: 0;
}
} }
} }
.block .moodle-actionmenu { .block .moodle-actionmenu {
......
...@@ -945,7 +945,9 @@ span.editinstructions { ...@@ -945,7 +945,9 @@ span.editinstructions {
padding-left: 1rem; padding-left: 1rem;
} }
.moodle-actionmenu:not([data-enhanced]) { .moodle-actionmenu:not([data-enhanced]) {
li {line-height: normal;} li {
line-height: normal;
}
> .menubar a { > .menubar a {
color: inherit; color: inherit;
display: inline-block; display: inline-block;
...@@ -990,14 +992,37 @@ span.editinstructions { ...@@ -990,14 +992,37 @@ span.editinstructions {
} }
// Tree item indenting to represent depth. // Tree item indenting to represent depth.
.tree-icon {margin-left: 0;} .tree-icon {
li .tree-icon {margin-left: 1em;} margin-left: 0;
li li .tree-icon {margin-left: 2em;} }
li li li .tree-icon {margin-left: 3em;}
li li li li .tree-icon {margin-left: 4em;} li .tree-icon {
li li li li li .tree-icon {margin-left: 4.5em;} margin-left: 1em;
li li li li li li .tree-icon {margin-left: 5em;} }
li li li li li li li .tree-icon {margin-left: 5.5em;}
li li .tree-icon {
margin-left: 2em;
}
li li li .tree-icon {
margin-left: 3em;
}
li li li li .tree-icon {
margin-left: 4em;
}
li li li li li .tree-icon {
margin-left: 4.5em;
}
li li li li li li .tree-icon {
margin-left: 5em;
}
li li li li li li li .tree-icon {
margin-left: 5.5em;
}
} }
.item-actions { .item-actions {
...@@ -1233,14 +1258,37 @@ span.editinstructions { ...@@ -1233,14 +1258,37 @@ span.editinstructions {
} }
// Tree item indenting to represent depth. // Tree item indenting to represent depth.
.tree-icon {margin-right: 0;} .tree-icon {
li .tree-icon {margin-right: 1em;} margin-right: 0;
li li .tree-icon {margin-right: 2em;} }
li li li .tree-icon {margin-right: 3em;}
li li li li .tree-icon {margin-right: 4em;} li .tree-icon {
li li li li li .tree-icon {margin-right: 4.5em;} margin-right: 1em;
li li li li li li .tree-icon {margin-right: 5em;} }
li li li li li li li .tree-icon {margin-right: 5.5em;}
li li .tree-icon {
margin-right: 2em;
}
li li li .tree-icon {
margin-right: 3em;
}
li li li li .tree-icon {
margin-right: 4em;
}
li li li li li .tree-icon {
margin-right: 4.5em;
}
li li li li li li .tree-icon {
margin-right: 5em;
}
li li li li li li li .tree-icon {
margin-right: 5.5em;
}
} }
#category-listing { #category-listing {
.listitem { .listitem {
......
...@@ -302,9 +302,15 @@ div#dock { ...@@ -302,9 +302,15 @@ div#dock {
.path-mod-survey { .path-mod-survey {
.surveytable { .surveytable {
> tbody > tr:nth-of-type(odd) {background-color: @tableBackground;} > tbody > tr:nth-of-type(odd) {
> tbody > tr:nth-of-type(even) {background-color: @tableBackgroundAccent;} background-color: @tableBackground;
.rblock label {text-align: center;} }
> tbody > tr:nth-of-type(even) {
background-color: @tableBackgroundAccent;
}
.rblock label {
text-align: center;
}
} }
.resultgraph, .resultgraph,
.reportsummary, .reportsummary,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment