mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-11 14:05:45 +00:00
[matrix] Update model styles
This commit is contained in:
parent
575435b4c9
commit
597f7e30b8
4
docs/_static/custom.js
vendored
4
docs/_static/custom.js
vendored
@ -13,7 +13,7 @@ class Modal {
|
|||||||
|
|
||||||
close() {
|
close() {
|
||||||
activeModal = null;
|
activeModal = null;
|
||||||
this.element.hidden = true;
|
this.element.style.display = 'none'
|
||||||
}
|
}
|
||||||
|
|
||||||
open() {
|
open() {
|
||||||
@ -21,7 +21,7 @@ class Modal {
|
|||||||
activeModal.close();
|
activeModal.close();
|
||||||
}
|
}
|
||||||
activeModal = this;
|
activeModal = this;
|
||||||
this.element.hidden = false;
|
this.element.style.display = 'flex'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
7
docs/_static/style.css
vendored
7
docs/_static/style.css
vendored
@ -510,6 +510,7 @@ div.modal {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: rgba(0,0,0,0.4);
|
background-color: rgba(0,0,0,0.4);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.modal-content {
|
div.modal-content {
|
||||||
@ -517,10 +518,11 @@ div.modal-content {
|
|||||||
box-shadow: 0 2px 8px rgba(0,0,0,0.54);
|
box-shadow: 0 2px 8px rgba(0,0,0,0.54);
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin: 20% auto;
|
max-width: 40%;
|
||||||
width: 40%;
|
|
||||||
min-width: 350px;
|
min-width: 350px;
|
||||||
cursor: initial;
|
cursor: initial;
|
||||||
|
flex: 1;
|
||||||
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.modal-content > span.close {
|
div.modal-content > span.close {
|
||||||
@ -529,6 +531,7 @@ div.modal-content > span.close {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
-moz-user-select: none;
|
-moz-user-select: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.modal-content > span.close:hover,
|
div.modal-content > span.close:hover,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user