Reorder deprecated mixed order declarations in SCSS
Change-Id: Ibc2cd2574e55ab3cc42d1e59d5252b78a746e195
diff --git a/dev/scss/main/kwic.scss b/dev/scss/main/kwic.scss
index 1a99b0f..c3a52fa 100644
--- a/dev/scss/main/kwic.scss
+++ b/dev/scss/main/kwic.scss
@@ -214,9 +214,16 @@
.snippet {
white-space: normal !important;
- padding: 2pt 0 5pt 5pt;
+ padding: 2pt 0 5pt 5pt;
background-color: $light-orange;
+ margin: {
+ top: 0;
+ right: $right-view-distance;
+ bottom: 0;
+ left: 0;
+ }
+
span {
display: inline !important;
}
@@ -263,14 +270,7 @@
display: none;
}
- margin: {
- top: 0;
- right: $right-view-distance;
- bottom: 0;
- left: 0;
- }
-
- > span {
+ > span {
line-height: 1.4em;
width: auto;
@@ -281,7 +281,7 @@
text-align: left;
width: auto;
}
- }
+ }
}
.button-group.button-view {
diff --git a/dev/scss/main/tutorial.scss b/dev/scss/main/tutorial.scss
index e0bd0a4..d6f8459 100644
--- a/dev/scss/main/tutorial.scss
+++ b/dev/scss/main/tutorial.scss
@@ -16,12 +16,6 @@
background-color: $nearly-white;
box-shadow: $choose-box-shadow;
- .button-group.button-view {
- background-color: $middle-grey;
- display: block;
- height: 100%;
- }
-
border: {
width: 2 * $border-size;
color: $dark-grey;
@@ -29,6 +23,12 @@
radius: $standard-border-radius;
}
+ .button-group.button-view {
+ background-color: $middle-grey;
+ display: block;
+ height: 100%;
+ }
+
iframe {
border-width: 0;
width: 100%;
@@ -48,10 +48,10 @@
font-size: 80%;
margin-left: 3em;
margin-bottom: 3em;
+ text-indent: -1.5em;
cite {
font-weight: bold;
}
- text-indent: -1.5em;
}
body.embedded {
diff --git a/dev/scss/main/view/matchtable.scss b/dev/scss/main/view/matchtable.scss
index 6e4fa0d..05ec880 100644
--- a/dev/scss/main/view/matchtable.scss
+++ b/dev/scss/main/view/matchtable.scss
@@ -123,13 +123,13 @@
}
thead th {
+ border-top-width: 0px !important;
+ text-align: center;
+
&:not(.no-anno) {
background-color: $darker-orange;
}
- border-top-width: 0px !important;
- text-align: center;
-
&:nth-of-type(1),
&:nth-of-type(2) {
text-align: left;