Center messageBox icon vertically in the title

This commit is contained in:
tophf 2017-03-26 07:55:03 +03:00
parent 1166fd9d3b
commit 9a36acf045

View File

@ -47,7 +47,7 @@
#message-box-title {
font-weight: bold;
background-color: rgb(145, 208, 198);
padding: .75rem 50px .75rem 52px;
padding: .75rem 24px .75rem 52px;
font-size: 1rem;
position: relative;
}
@ -59,8 +59,10 @@
padding: 0 32px 32px 0;
background: url(/images/icon/32.png);
position: absolute;
left: 11px;
top: 8px;
left: .5rem;
top: 0;
bottom: 0;
margin: auto;
}
#message-box.danger #message-box-title {
@ -92,6 +94,7 @@
padding: 1.5rem .75rem;
position: relative;
flex-grow: 9;
word-wrap: break-word;
}
#message-box-buttons {