Last active
May 23, 2024 17:38
-
-
Save qubodup/42ce34072fe772e3147df759f3bf30be to your computer and use it in GitHub Desktop.
Freesound Upload "Describe sound files" minimizer userstyle made in 2024 (use with Stylus extension) screenshot: https://i.imgur.com/cfqZo1R.png
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix("https://freesound.org/home/describe/sounds/") { | |
/* just crush it */ | |
div.container { | |
padding: 0; | |
} | |
div[id^='form']:nth-child(2n) { | |
background-color: #ddd; | |
} | |
hr { | |
background-color: white; | |
margin: 8px 0 !important; | |
} | |
div[id^='form'] > div { | |
width: 100%; | |
padding-left: 4px; | |
margin-left: 0; | |
} | |
div[id^='form'] > div > div > div > div > label > div > div > div.text-grey, | |
div[id^='form'] span.helptext, | |
div[id^='form'] h5, | |
body > div.bw-page > div > div > div.col-12.no-paddings.v-spacing-5 > div > p, | |
div[id^="form-"] > div:nth-child(2) > div:nth-child(9) > div > div.text-light-grey.v-spacing-top-2, | |
label[for$="-pack"], | |
label[for$="-name"], | |
label[for$="-tags"], | |
label[for$="-description"], | |
h2 | |
{ | |
display: none !important; | |
} | |
body > div.bw-page > div { | |
margin: 0; | |
max-width: none; | |
} | |
#edit_describe_form > div > div.col-lg-8 { | |
max-width: none; | |
} | |
div[id^="form-"] > div:nth-child(2) > div:nth-child(5) { | |
display: block; | |
} | |
div[id^="form-"] > div, | |
div[id^="form-"] > div.middle, | |
div[id^="form-"] > div:nth-child(2) > div | |
{ | |
display: inline-block; | |
} | |
div[id^="form-"] > div:nth-child(2) > div:nth-child(5) > div:nth-child(2), | |
div[id^="form-"] > div:nth-child(2) > div:nth-child(5) > div:nth-child(3), | |
div[id^="form-"] > div:nth-child(2) > div:nth-child(5) > div:nth-child(4) | |
{ | |
display: inline-block; | |
vertical-align: top; | |
width: 30%; | |
} | |
div[id^="form-"] > div:nth-child(2) > div | |
{ | |
margin: 0; | |
padding: 0; | |
line-height: 0; | |
} | |
div[id^="form-"] > div:nth-child(2) > div:nth-child(5) > div:nth-child(5) | |
{ | |
display: inline-block; | |
vertical-align: top; | |
width: 5%; | |
} | |
div.tags-input-wrapper { | |
min-height: 48px; | |
} | |
textarea[name$="-description"] { | |
min-height: 0; | |
height: 64px; | |
} | |
/* sidebar */ | |
#edit_describe_form > div > div.col-lg-8 { | |
flex: 0 0 80%; | |
} | |
#edit_describe_form > div > div.col-lg-3.offset-lg-1.d-lg-block.display-none { | |
margin-left: 1%; | |
flex: 0 0 20%; | |
overflow: hidden; | |
white-space: nowrap; | |
position: fixed; | |
right: .5%; | |
width: 19%; | |
} | |
h4, #edit_describe_form > div > div.col-lg-3.offset-lg-1.d-lg-block.display-none > div > div.w-75.text-grey.v-spacing-2 { | |
display: none; | |
} | |
/* text input meta */ | |
input:not([type="search"]):not(.tags-input), textarea, .tags-input-wrapper { | |
margin: 0px !important; | |
} | |
.tags-input-wrapper > span { | |
display: inline !important; | |
} | |
.inputText { | |
padding-right: 0 !important; | |
} | |
input[name$="-name"], textarea[name$="-description"], div.tags-field > div > div.tags-input-wrapper { | |
padding-left: 6px !important; | |
padding-top: 6px !important; | |
padding-bottom: 6px !important; | |
} | |
/* licenses */ | |
div:has(> label.bw-radio-label):has(div.bw-radio-label):has(span[aria-checked="true"]):has(input[title="Creative Commons 0"]) { | |
background-color: PaleGreen; | |
} | |
div:has(> label.bw-radio-label):has(div.bw-radio-label):has(span[aria-checked="false"]) { | |
background-color: White; | |
} | |
div:has(> label.bw-radio-label):has(div.bw-radio-label):has(span[aria-checked="true"]):has(input[title="Attribution NonCommercial 4.0"]) { | |
background-color: Tan; | |
} | |
div:has(> label.bw-radio-label):has(div.bw-radio-label):has(span[aria-checked="true"]):has(input[title="Attribution 4.0"]) { | |
background-color: PaleGoldenRod; | |
} | |
div:has(> label.bw-radio-label) * { | |
font-weight: normal !important; | |
font-size: small !important; | |
} | |
div[id^="form-"] > div:nth-child(2) > div.v-spacing-2 > div > div > label > div > div.col-10.col-lg-10 > div > b { | |
white-space: nowrap; | |
overflow: hidden; | |
} | |
div[id^="form-"] > div:nth-child(2) > div.v-spacing-2 { | |
width: 40%; | |
} | |
/* explicit */ | |
label[for$="-is_explicit"] { | |
font-size: 0; | |
} | |
label[for$="-is_explicit"] * { | |
font-size: medium !important; | |
} | |
label[for$="-is_explicit"] span.bw-icon-checkbox::after { | |
font-size: medium !important; | |
content: "explicit"; | |
font-family: Sans-Serif; | |
} | |
label:has([aria-checked="false"]) span.bw-icon-checkbox::after { | |
padding-left: 17px; | |
} | |
label:has([aria-checked="true"]) span.bw-icon-checkbox::after { | |
padding-left: 2px; | |
background-color: tomato; | |
color: white; | |
padding: 3px 3px 3px 3px; | |
} | |
/* geo */ | |
div[id^='form'] > div > div:nth-child(8) > div:nth-child(2) { | |
display: none; | |
} | |
/* buttons */ | |
.btn-inverse, button.select-dropdown__button { | |
font-weight: normal; | |
padding: 6px; | |
border-radius: 0; | |
border: 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment