mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-01-31 06:41:01 +03:00
design fixes
This commit is contained in:
@@ -89,6 +89,7 @@ h1,h2,h3,h4,h5,h6 {
|
||||
html, body {
|
||||
font-family: sans-serif;
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
* {
|
||||
@@ -109,6 +110,7 @@ html, body {
|
||||
max-width: 600px;
|
||||
border-radius: 15px;
|
||||
margin: 15px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.tab-heading {
|
||||
@@ -129,6 +131,10 @@ html, body {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.tab-heading:active {
|
||||
background-color: #950000;
|
||||
}
|
||||
|
||||
.option-group > div {
|
||||
min-height: 50px;
|
||||
padding: 20px 0;
|
||||
@@ -168,6 +174,10 @@ input[type='number'] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.spacing {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.keybind-status {
|
||||
display: inline;
|
||||
}
|
||||
@@ -181,6 +191,10 @@ input[type='number'] {
|
||||
padding: 10px 0 20px 20px;
|
||||
}
|
||||
|
||||
.indent {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.categoryTableElement td {
|
||||
padding-top: 10px;
|
||||
}
|
||||
@@ -511,9 +525,11 @@ svg {
|
||||
}
|
||||
.tab-heading {
|
||||
width: unset;
|
||||
min-width: 150px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
min-width: unset;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
font-size: 16px;
|
||||
padding: 0 10px;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
@@ -531,6 +547,15 @@ svg {
|
||||
#version {
|
||||
font-size: 10px;
|
||||
}
|
||||
.sticky #navigation {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: 0 15px;
|
||||
}
|
||||
.sticky #title, .sticky #createdBy {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 800px) {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<div id="version"></div>
|
||||
</div>
|
||||
|
||||
<div class="tab-heading selected" data-for="segment-options">
|
||||
<div class="tab-heading" data-for="segment-options">
|
||||
__MSG_optionsTabCategories__
|
||||
</div>
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
|
||||
<div id="options" class="hidden">
|
||||
|
||||
<div id="segment-options" class="option-group">
|
||||
<div id="segment-options" class="option-group hidden">
|
||||
|
||||
<div id="category-type" data-type="react-CategoryChooserComponent">
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
</div>
|
||||
|
||||
<div data-type="selector" data-sync="noticeVisibilityMode">
|
||||
<label class="optionLabel" for="noticeVisibilityMode">__MSG_noticeVisibilityLabel__</label>
|
||||
<label class="optionLabel" for="noticeVisibilityMode">__MSG_noticeVisibilityLabel__:</label>
|
||||
|
||||
<select id="noticeVisibilityMode" class="selector-element optionsSelector" >
|
||||
<option value="0">__MSG_noticeVisibilityMode0__</option>
|
||||
@@ -379,10 +379,10 @@
|
||||
|
||||
<div class="small-description">__MSG_whatChangeUserID__</div>
|
||||
|
||||
<div class="option-hidden-section hidden">
|
||||
<div class="option-hidden-section hidden spacing indent">
|
||||
<input class="option-text-box" type="text">
|
||||
|
||||
<div class="option-button text-change-set">
|
||||
<div class="option-button text-change-set inline low-profile">
|
||||
__MSG_setUserID__
|
||||
</div>
|
||||
</div>
|
||||
@@ -395,8 +395,8 @@
|
||||
|
||||
<div class="small-description">__MSG_whatExportOptions__</div>
|
||||
|
||||
<div class="option-hidden-section hidden">
|
||||
<input class="option-text-box" type="text">
|
||||
<div class="option-hidden-section hidden spacing indent">
|
||||
<textarea class="option-text-box" rows="10" style="width:80%"></textarea>
|
||||
|
||||
<div class="option-button text-change-set">
|
||||
__MSG_setOptions__
|
||||
@@ -420,8 +420,7 @@
|
||||
</div>
|
||||
|
||||
<div class="small-description">(__MSG_supportedSites__ Invidious, CloudTube)</div>
|
||||
<br/>
|
||||
<span class="small-description">__MSG_supportOtherSitesDescription__ </span>
|
||||
<div class="small-description">__MSG_supportOtherSitesDescription__ </div>
|
||||
</div>
|
||||
|
||||
<div data-type="private-text-change" data-sync="invidiousInstances" data-no-safari="true">
|
||||
@@ -431,22 +430,23 @@
|
||||
|
||||
<div class="small-description">__MSG_addInvidiousInstanceDescription__</div>
|
||||
|
||||
<div class="option-hidden-section hidden">
|
||||
<div class="indent option-hidden-section hidden spacing">
|
||||
<input class="option-text-box" type="text">
|
||||
|
||||
<div>
|
||||
<div class="option-button text-change-set inline">
|
||||
<div class="inline">
|
||||
<div class="option-button text-change-set inline low-profile">
|
||||
__MSG_add__
|
||||
</div>
|
||||
|
||||
<div class="option-button invidious-instance-reset inline">
|
||||
__MSG_resetInvidiousInstance__
|
||||
<div class="option-button text-change-reset inline low-profile">
|
||||
__MSG_cancel__
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<span class="small-description">__MSG_currentInstances__</span>
|
||||
<span class="small-description" data-type="display" data-sync="invidiousInstances"></span>
|
||||
</div>
|
||||
|
||||
<div style="margin-top:15px">
|
||||
<span>__MSG_currentInstances__</span>
|
||||
<span data-type="display" data-sync="invidiousInstances"></span>
|
||||
<div class="option-button invidious-instance-reset spacing hidden">
|
||||
__MSG_resetInvidiousInstance__
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -480,12 +480,14 @@
|
||||
<input class="option-text-box" type="text" style="margin-right:10px">
|
||||
</label>
|
||||
|
||||
<div class="option-button text-change-set inline low-profile">
|
||||
__MSG_save__
|
||||
</div>
|
||||
|
||||
<div class="option-button text-change-reset inline low-profile">
|
||||
__MSG_reset__
|
||||
<div class="inline">
|
||||
<div class="option-button text-change-set inline low-profile">
|
||||
__MSG_save__
|
||||
</div>
|
||||
|
||||
<div class="option-button text-change-reset inline low-profile">
|
||||
__MSG_reset__
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="small-description">__MSG_customServerAddressDescription__</div>
|
||||
|
||||
Reference in New Issue
Block a user