change sweetalert theme
This commit is contained in:
parent
c35a27eda6
commit
fcedefe815
|
@ -103,7 +103,6 @@ option {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.badge {
|
.badge {
|
||||||
min-width: 0 !important;
|
|
||||||
margin-left: 0.4rem !important;
|
margin-left: 0.4rem !important;
|
||||||
}
|
}
|
||||||
.unvisible {
|
.unvisible {
|
||||||
|
@ -499,13 +498,17 @@ textarea {
|
||||||
font-size: 1rem !important;
|
font-size: 1rem !important;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
.swal2-popup {
|
.swal2-popup, .swal2-header {
|
||||||
background-color: var(--subcolor) !important;
|
background-color: var(--subcolor) !important;
|
||||||
}
|
}
|
||||||
.swal2-title,
|
.swal2-title,
|
||||||
.swal2-content {
|
.swal2-content {
|
||||||
color: var(--text) !important;
|
color: var(--text) !important;
|
||||||
}
|
}
|
||||||
|
h2.swal2-title {
|
||||||
|
margin: 0;
|
||||||
|
line-height: 100%;
|
||||||
|
}
|
||||||
#src-contents svg {
|
#src-contents svg {
|
||||||
margin-right: 0.4rem;
|
margin-right: 0.4rem;
|
||||||
}
|
}
|
||||||
|
|
8
app/css/sweetalert2-material.min.css
vendored
Normal file
8
app/css/sweetalert2-material.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -205,8 +205,6 @@ function multiDel(target) {
|
||||||
text: obj[target]['user'] + '@' + obj[target]['domain'] + lang.lang_manager_confirm,
|
text: obj[target]['user'] + '@' + obj[target]['domain'] + lang.lang_manager_confirm,
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonColor: '#3085d6',
|
|
||||||
cancelButtonColor: '#d33',
|
|
||||||
confirmButtonText: lang.lang_yesno,
|
confirmButtonText: lang.lang_yesno,
|
||||||
cancelButtonText: lang.lang_no
|
cancelButtonText: lang.lang_no
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
|
@ -299,8 +297,6 @@ function multiDel2(target) {
|
||||||
text: obj[target]['user'] + '@' + obj[target]['domain'] + lang.lang_manager_confirm,
|
text: obj[target]['user'] + '@' + obj[target]['domain'] + lang.lang_manager_confirm,
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonColor: '#3085d6',
|
|
||||||
cancelButtonColor: '#d33',
|
|
||||||
confirmButtonText: lang.lang_yesno,
|
confirmButtonText: lang.lang_yesno,
|
||||||
cancelButtonText: lang.lang_no
|
cancelButtonText: lang.lang_no
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
|
|
|
@ -276,8 +276,6 @@ function deleteImage(key) {
|
||||||
title: lang.lang_postimg_delete,
|
title: lang.lang_postimg_delete,
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonColor: '#3085d6',
|
|
||||||
cancelButtonColor: '#d33',
|
|
||||||
confirmButtonText: lang.lang_yesno,
|
confirmButtonText: lang.lang_yesno,
|
||||||
cancelButtonText: lang.lang_no
|
cancelButtonText: lang.lang_no
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
|
|
|
@ -55,8 +55,6 @@ function post(mode, postvis, dry) {
|
||||||
text: lang.lang_post_cwtxt + plus,
|
text: lang.lang_post_cwtxt + plus,
|
||||||
type: 'info',
|
type: 'info',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonColor: '#3085d6',
|
|
||||||
cancelButtonColor: '#3085d6',
|
|
||||||
confirmButtonText: lang.lang_post_btn2,
|
confirmButtonText: lang.lang_post_btn2,
|
||||||
cancelButtonText: lang.lang_post_btn3,
|
cancelButtonText: lang.lang_post_btn3,
|
||||||
showCloseButton: true,
|
showCloseButton: true,
|
||||||
|
|
|
@ -259,8 +259,6 @@ function block(acct_id) {
|
||||||
text: '',
|
text: '',
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonColor: '#3085d6',
|
|
||||||
cancelButtonColor: '#d33',
|
|
||||||
confirmButtonText: lang.lang_yesno,
|
confirmButtonText: lang.lang_yesno,
|
||||||
cancelButtonText: lang.lang_no
|
cancelButtonText: lang.lang_no
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
|
@ -312,8 +310,6 @@ function muteDo(acct_id) {
|
||||||
text: '',
|
text: '',
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonColor: '#3085d6',
|
|
||||||
cancelButtonColor: '#d33',
|
|
||||||
confirmButtonText: lang.lang_yesno,
|
confirmButtonText: lang.lang_yesno,
|
||||||
cancelButtonText: lang.lang_no
|
cancelButtonText: lang.lang_no
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
|
@ -393,8 +389,6 @@ function redraft(id, acct_id) {
|
||||||
text: lang.lang_status_redraft,
|
text: lang.lang_status_redraft,
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
showCancelButton: true,
|
showCancelButton: true,
|
||||||
confirmButtonColor: '#3085d6',
|
|
||||||
cancelButtonColor: '#d33',
|
|
||||||
confirmButtonText: lang.lang_yesno,
|
confirmButtonText: lang.lang_yesno,
|
||||||
cancelButtonText: lang.lang_no
|
cancelButtonText: lang.lang_no
|
||||||
}).then(result => {
|
}).then(result => {
|
||||||
|
|
|
@ -1331,6 +1331,7 @@ function asReadEnd() {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
title: lang.lang_tl_postmarkers_title,
|
title: lang.lang_tl_postmarkers_title,
|
||||||
html: lang.lang_tl_postmarkers,
|
html: lang.lang_tl_postmarkers,
|
||||||
|
showConfirmButton: false,
|
||||||
timer: 3000,
|
timer: 3000,
|
||||||
onBeforeOpen: () => {
|
onBeforeOpen: () => {
|
||||||
Swal.showLoading()
|
Swal.showLoading()
|
||||||
|
|
|
@ -166,7 +166,7 @@ function nowplaying(mode) {
|
||||||
} else {
|
} else {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
title: lang.lang_spotify_acct,
|
text: lang.lang_spotify_acct,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else if (mode == 'itunes') {
|
} else if (mode == 'itunes') {
|
||||||
|
@ -239,7 +239,7 @@ function nowplaying(mode) {
|
||||||
} else {
|
} else {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
title: lang.lang_spotify_acct,
|
text: lang.lang_spotify_acct,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -226,7 +226,7 @@ function spotifytips() {
|
||||||
} else {
|
} else {
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
title: lang.lang_spotify_acct
|
text: lang.lang_spotify_acct
|
||||||
})
|
})
|
||||||
tips('ver')
|
tips('ver')
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user