mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-28 11:03:16 +01:00
[refactor] remove unused class from modal and shade module
This commit is contained in:
parent
2f68d8c5ec
commit
862e482ff0
@ -34,17 +34,13 @@
|
||||
grid-template-rows: 1fr auto;
|
||||
justify-items: stretch;
|
||||
align-items: stretch;
|
||||
transition: opacity var(--layout-transition-speed-fast);
|
||||
transition: opacity var(--layout-transition-speed-fast) ease-in-out;
|
||||
}
|
||||
|
||||
.modal-wrapper .container {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.is-transition-end .modal-wrapper {
|
||||
transition: opacity var(--layout-transition-speed-fast) ease-in-out;
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
border-radius: var(--theme-radius) var(--theme-radius) 0 0;
|
||||
padding: 2em;
|
||||
|
@ -115,9 +115,6 @@ var modal = (function() {
|
||||
if (event.propertyName === "opacity" && getComputedStyle(this).opacity == 0) {
|
||||
this.parentElement.removeChild(this);
|
||||
};
|
||||
if (event.propertyName === "opacity" && getComputedStyle(this).opacity == 1) {
|
||||
helper.addClass(this, "is-transition-end");
|
||||
};
|
||||
}.bind(modal), false);
|
||||
actionButton.addEventListener("click", function(event) {
|
||||
if (options.successAction) {
|
||||
|
@ -80,9 +80,6 @@ var shade = (function() {
|
||||
if (event.propertyName === "opacity" && getComputedStyle(this).opacity == 0) {
|
||||
this.parentElement.removeChild(this);
|
||||
};
|
||||
if (event.propertyName === "opacity" && getComputedStyle(this).opacity == 1) {
|
||||
helper.addClass(this, "is-transition-end");
|
||||
};
|
||||
}.bind(shade), false);
|
||||
shade.addEventListener("click", function() {
|
||||
if (options.action) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
var version = (function() {
|
||||
|
||||
var current = "3.61.3";
|
||||
var current = "3.62.0";
|
||||
|
||||
var compare = function(a, b) {
|
||||
var pa = a.split(".");
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "nightTab",
|
||||
"short_name": "nightTab",
|
||||
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
|
||||
"version": "3.61.3",
|
||||
"version": "3.62.0",
|
||||
"manifest_version": 2,
|
||||
"chrome_url_overrides": {
|
||||
"newtab": "index.html"
|
||||
|
Loading…
Reference in New Issue
Block a user