make alertify darker

pull/1/head
Pierre Bondoerffer 7 years ago
parent eaf5c73b05
commit 1bd42f0b3e
No known key found for this signature in database
GPG Key ID: C0C7C0C5063F2236

@ -5,15 +5,15 @@
@alertify-fore: @colortheme_old-fore; @alertify-fore: @colortheme_old-fore;
@alertify-base: @colortheme_old-base; @alertify-base: @colortheme_old-base;
@alertify-dialog-bg: #444; @alertify-dialog-bg: #222;
@alertify-dialog-fg: @colortheme_old-fore; @alertify-dialog-fg: @colortheme_old-fore;
@alertify-btn-fg: @colortheme_old-fore; @alertify-btn-fg: @colortheme_old-fore;
@alertify-btn-bg: rgba(200, 200, 200, 0.05); @alertify-btn-bg: rgba(200, 200, 200, 0.1);
@alertify-btn-bg-hover: rgba(200, 200, 200, .15); @alertify-btn-bg-hover: rgba(200, 200, 200, .3);
@alertify-bg: rgba(0, 0, 0, .3); @alertify-bg: rgba(0, 0, 0, .4);
@alertify-fg: @colortheme_old-fore; @alertify-fg: @colortheme_old-fore;
@alertify-input-bg: @colortheme_old-base; @alertify-input-bg: @colortheme_old-base;
@ -21,7 +21,6 @@
@alertify_padding-base: 12px; @alertify_padding-base: 12px;
@alertify_box-shadow: 0 2px 5px 0 rgba(0,0,0,.2); @alertify_box-shadow: 0 2px 5px 0 rgba(0,0,0,.2);
@alertify_border-radius: 1px;
// Logs to show that something has happened // Logs to show that something has happened
// These show only once // These show only once
@ -38,7 +37,6 @@
font-size: large; font-size: large;
box-shadow: @alertify_box-shadow; box-shadow: @alertify_box-shadow;
border-radius: @alertify_border-radius;
&, &.default { &, &.default {
// FIXME // FIXME
background: rgba(0, 0, 0, .8); background: rgba(0, 0, 0, .8);
@ -64,6 +62,10 @@
height: 100%; height: 100%;
z-index: 99999; z-index: 99999;
h1, h2, h3 {
margin-top: 0;
}
&.hide { &.hide {
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
@ -89,7 +91,6 @@
& > div { & > div {
background-color: @alertify-dialog-bg; background-color: @alertify-dialog-bg;
border-radius: 5px;
&.half { &.half {
width: 50%; width: 50%;
@media (max-width: @browser_media-medium-screen) { @media (max-width: @browser_media-medium-screen) {
@ -106,10 +107,10 @@
> * { > * {
width: 30%; width: 30%;
width: 500px; min-width: 500px;
max-width: 95%; max-width: 95%;
margin: 0 auto; margin: 0 auto;
text-align: center; text-align: left;
padding: @alertify_padding-base; padding: @alertify_padding-base;
background: #fff; background: #fff;
// FIXME // FIXME
@ -120,14 +121,12 @@
padding: @alertify_padding-base; padding: @alertify_padding-base;
margin-bottom: @alertify_padding-base; margin-bottom: @alertify_padding-base;
margin: 0; margin: 0;
text-align: left;
} }
input:not(.form-control){ input:not(.form-control){
background-color: @alertify-input-bg; background-color: @alertify-input-bg;
color: @alertify-input-fg; color: @alertify-input-fg;
border: 0px; border: 0px;
border-radius: 5px;
margin-bottom: 15px; margin-bottom: 15px;
width: 100%; width: 100%;
@ -161,10 +160,10 @@
font-size: 14px; font-size: 14px;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
border-radius: 0;
color: @alertify-btn-fg; color: @alertify-btn-fg;
border: 1px solid @alertify-base; border: 1px solid transparent;
border-radius: 5px;
&.safe, &.danger { &.safe, &.danger {
color: @colortheme_old-base; color: @colortheme_old-base;

@ -23,3 +23,10 @@
} }
} }
} }
.alertify {
// workaround for alertify making empty p
p:empty {
display: none;
}
}

Loading…
Cancel
Save