Browse Source

Make some sidebar content unselectable

tags/v0.1.0
Fen Dweller 6 years ago
parent
commit
b6d0cc1238
2 changed files with 12 additions and 8 deletions
  1. +8
    -4
      macrovision.css
  2. +4
    -4
      macrovision.html

+ 8
- 4
macrovision.css View File

@@ -156,6 +156,11 @@ body.toggle-entity-glow .entity-box:not(.selected) > img{
flex-direction: column; flex-direction: column;
} }


.options-label {
text-align: center;
user-select: none;
}

.options-block.options-block-optional { .options-block.options-block-optional {
display: none; display: none;
} }
@@ -184,6 +189,8 @@ body.show-extra-options .options-block.options-block-optional {
font-size: 24pt; font-size: 24pt;
margin-top: 10px; margin-top: 10px;
margin-bottom: 10px; margin-bottom: 10px;
background: #333;
user-select: none;
} }


.options-banner { .options-banner {
@@ -193,6 +200,7 @@ body.show-extra-options .options-block.options-block-optional {
margin-bottom: 10px; margin-bottom: 10px;
background: #232; background: #232;
text-decoration: none; text-decoration: none;
user-select: none;
} }


.options-banner:hover { .options-banner:hover {
@@ -270,10 +278,6 @@ body.toggle-scale #display {
font-size: 150%; font-size: 150%;
} }


.options-label {
text-align: center;
}

.options-row .options-field-numeric { .options-row .options-field-numeric {
flex: 1 1 60%; flex: 1 1 60%;
min-width: 0px; min-width: 0px;


+ 4
- 4
macrovision.html View File

@@ -76,7 +76,7 @@
</div> </div>
<div id="main-area"> <div id="main-area">
<div id="options" class=""> <div id="options" class="">
<div class="options-header">World options</div>
<h3 class="options-header">World options</h3>
<span id="options-world"> <span id="options-world">
<div class="options-label"> <div class="options-label">
World height World height
@@ -145,7 +145,7 @@
</select> </select>
</div> </div>
</span> </span>
<div class="options-header">Entity options</div>
<h3 class="options-header">Entity options</h3>
<div class="options-label"> <div class="options-label">
Ordering Ordering
</div> </div>
@@ -165,10 +165,10 @@
</div> </div>
<span id="options-entity"> <span id="options-entity">
</span> </span>
<div class="options-header">View options</div>
<h3 class="options-header">View options</h3>
<span id="options-view"> <span id="options-view">
</span> </span>
<div class="options-header">Attribution</div>
<h3 class="options-header">Attribution</h3>
<span id="options-attribution"> <span id="options-attribution">
<div class="options-label"> <div class="options-label">
Authors Authors


Loading…
Cancel
Save