Fix popup styling across website

This commit is contained in:
Michał 2023-04-19 17:16:40 +00:00
parent f0e586d0d5
commit 8c2e081783
5 changed files with 7 additions and 4 deletions

View file

@ -27,7 +27,7 @@
margin: 0
padding: 1rem
width: 621px
width: 460px
height: auto
position: absolute
@ -46,7 +46,7 @@
transition: transform 0.2s $animation-smooth
.pop-up-header
margin: 0 0 1rem 0
margin: 0 0 0.5rem 0
padding: 0
width: 100%

View file

@ -66,11 +66,10 @@ $breakpoint: 800px
--success: var(--green)
--info: var(--blue)
--rad: 6px
--rad: 8px
--rad-inner: calc(var(--rad) / 2)
--animation-smooth: cubic-bezier(0.76, 0, 0.17, 1)
--animation-bounce: cubic-bezier(.68,-0.55,.27,1.55)
--breakpoint: 800px

View file

@ -19,6 +19,7 @@
function groupDelete() {
cancelBtn = document.createElement('button');
cancelBtn.classList.add('btn-block');
cancelBtn.classList.add('transparent');
cancelBtn.innerHTML = 'AAAAAAAAAA';
cancelBtn.onclick = popupDissmiss;
@ -79,6 +80,7 @@
// Create elements
cancelBtn = document.createElement('button');
cancelBtn.classList.add('btn-block');
cancelBtn.classList.add('transparent');
cancelBtn.innerHTML = 'go baaaaack';
cancelBtn.onclick = popupDissmiss;

View file

@ -31,6 +31,7 @@
function imageDelete() {
cancelBtn = document.createElement('button');
cancelBtn.classList.add('btn-block');
cancelBtn.classList.add('transparent');
cancelBtn.innerHTML = 'nuuuuuuuu';
cancelBtn.onclick = popupDissmiss;

View file

@ -11,6 +11,7 @@
// Create elements
cancelBtn = document.createElement('button');
cancelBtn.classList.add('btn-block');
cancelBtn.classList.add('transparent');
cancelBtn.innerHTML = 'nuuuuuuuu';
cancelBtn.onclick = popupDissmiss;