vendor/assets/stylesheets/sir-trevor/block.scss in blacklight-spotlight-3.5.0.4 vs vendor/assets/stylesheets/sir-trevor/block.scss in blacklight-spotlight-3.6.0.beta1
- old
+ new
@@ -8,12 +8,12 @@
}
.st-block__inner {
position: relative;
margin: 0 110px;
- margin-top: 1em;
- margin-bottom: 1em;
+ margin-top: 1rem;
+ margin-bottom: 1rem;
.st-block--textable & {
margin-top: 0;
margin-bottom: 0;
}
@@ -136,29 +136,30 @@
}
.st-text-block p {
// display: inline;
// margin: 0;
+ margin: 1rem 0;
vertical-align: 14%;
}
.st-text-block--heading {
line-height: 1.45;
font-size: 1.5em;
min-height: 1em;
font-weight: 700;
- margin: 0.58em 0;
+ margin: 1rem 0;
overflow: visible;
}
.st-text-block--heading p {
margin:.5em 0;
}
.st-text-block--quote {
font-size: 1.875em;
- line-height: 1.3;
+ line-height: 1.45;
margin-bottom: 1.8em;
}
ul.st-text-block {
margin-left: 1.875em;
@@ -170,11 +171,11 @@
padding-left: 1em;
}
.st-list-block__editor {
width: 100%;
- line-height: 1.8em;
+ line-height: 1.45;
}
.st-block__inputs {
padding: 1.6em 0 1em;
border-radius: 0.2em;
@@ -295,6 +296,19 @@
display: block;
}
.st-msg--error {
color: $error-color;
+}
+
+.st-block--is-selected {
+ &:before {
+ display: block;
+ content: "";
+ background: #ccffcc;
+ position: absolute;
+ top: -6px;
+ left: 100px;
+ right: 20px;
+ bottom: -6px;
+ }
}