Reorder deprecated mixed order declarations in SCSS
Change-Id: Ibc2cd2574e55ab3cc42d1e59d5252b78a746e195
diff --git a/dev/scss/base/menu.scss b/dev/scss/base/menu.scss
index 4f76683..993b237 100644
--- a/dev/scss/base/menu.scss
+++ b/dev/scss/base/menu.scss
@@ -14,14 +14,15 @@
text-indent: 0;
opacity: 0;
- &.visible {
- opacity: 1;
- }
list-style: {
type: none;
position: outside;
}
+
+ &.visible {
+ opacity: 1;
+ }
&,
> span.non-item:not(:empty) {
diff --git a/dev/scss/header/header.scss b/dev/scss/header/header.scss
index 32b0812..6e18f93 100644
--- a/dev/scss/header/header.scss
+++ b/dev/scss/header/header.scss
@@ -247,10 +247,6 @@
cursor: pointer;
line-height: 1.8em;
- > span {
- font-weight: bold;
- }
-
border: {
width: 0;
bottom-width: 3px;
@@ -258,6 +254,10 @@
color: transparent;
}
+ > span {
+ font-weight: bold;
+ }
+
&:hover {
color: $dark-green;
border-color: $dark-green;
diff --git a/dev/scss/header/vc.scss b/dev/scss/header/vc.scss
index 9057cad..5ba1b51 100644
--- a/dev/scss/header/vc.scss
+++ b/dev/scss/header/vc.scss
@@ -28,16 +28,16 @@
margin-left: $left-padding;
padding: 4pt 2pt 4pt 0pt;
- .docGroup {
- display: block;
- }
-
border: {
radius: $standard-border-radius * 2;
style: solid;
width: 0 $bracket-size;
}
+ .docGroup {
+ display: block;
+ }
+
&[data-operation] {
> .doc:first-child::before,
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;
diff --git a/dev/scss/media.scss b/dev/scss/media.scss
index 0d1a944..5abf92d 100644
--- a/dev/scss/media.scss
+++ b/dev/scss/media.scss
@@ -384,6 +384,9 @@
footer {
padding-left: 0 !important;
+ padding-top: 2rem;
+ flex-direction: column;
+ height: unset;
nav {
margin-left: 1em;
height: auto;
@@ -395,9 +398,6 @@
}
}
}
- padding-top: 2rem;
- flex-direction: column;
- height: unset;
}
}
diff --git a/dev/scss/plugin.scss b/dev/scss/plugin.scss
index 1111e1e..2eeebe4 100644
--- a/dev/scss/plugin.scss
+++ b/dev/scss/plugin.scss
@@ -12,9 +12,9 @@
}
section {
padding-left: $base-padding;
+ padding-bottom: $base-padding;
&::before{
content:'';
}
- padding-bottom: $base-padding;
}
-}
\ No newline at end of file
+}