mirror of
https://github.com/spacebarchat/docs.git
synced 2024-11-10 04:12:32 +01:00
Simplify the rights calculator styling
This commit is contained in:
parent
c08a9eb537
commit
2df4d61eb4
@ -10,10 +10,10 @@
|
||||
max-width: 65rem;
|
||||
}
|
||||
|
||||
.md-typeset .fc-routesearch .md-input {
|
||||
.md-typeset .fc-search .md-input {
|
||||
background: var(--md-default-bg-color);
|
||||
}
|
||||
|
||||
[data-md-color-scheme="slate"] .md-typeset .fc-routesearch .md-input {
|
||||
[data-md-color-scheme="slate"] .md-typeset .fc-search .md-input {
|
||||
background: var(--md-code-bg-color);
|
||||
}
|
@ -9,7 +9,7 @@ It is generated daily by [fosscord/fosscord-missing-routes](https://github.com/f
|
||||
by scraping the latest Discord.com client.
|
||||
|
||||
<div>
|
||||
<div class="fc-routesearch">
|
||||
<div class="fc-search">
|
||||
<input
|
||||
id="missing-routes-search"
|
||||
class="md-input md-input--stretch"
|
||||
|
@ -26,41 +26,22 @@ Operator rights currently grants access to the following, in addition to all rig
|
||||
## Calculator
|
||||
|
||||
<style>
|
||||
#rights-calculator * {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 0.65rem;
|
||||
|
||||
}
|
||||
|
||||
#rights-calculator #rights-container {
|
||||
#rights-container {
|
||||
font-size: 0.75rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
}
|
||||
|
||||
#rights-calculator #rights-container input {
|
||||
margin-right: 10px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
#rights-calculator #rights-output-container {
|
||||
margin-top: 10px;
|
||||
padding: 10px;
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#rights-output {
|
||||
background-color: transparent;
|
||||
border-bottom: 2px solid white;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="rights-calculator">
|
||||
<div id="rights-container"></div>
|
||||
<div id="rights-output-container">
|
||||
<p>Rights: <input id="rights-output"></input></p>
|
||||
<div class="fc-search" id="rights-output-container">
|
||||
<input
|
||||
id="rights-output"
|
||||
class="md-input md-input--stretch"
|
||||
placeholder="Select right flags above, or input integer here"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user