Small dialog improvements

pull/5742/merge
Aleksander Machniak 7 years ago
parent 10d0480d6c
commit 9cdab037a0

@ -20,6 +20,8 @@
@taskmenu-width: 70px;
@layout-header-height-mobile: 2.5rem;
/*** Responsive design - Layout ***/
/*

@ -77,7 +77,12 @@
}
.ui-dialog-titlebar {
height: @layout-header-height-mobile;
}
.ui-dialog-title {
line-height: @layout-header-height-mobile;
font-size: 1rem;
}
.ui-dialog-content {
@ -91,26 +96,31 @@
padding: 0 !important;
text-align: center !important;
.ui-dialog-buttonset button {
margin: 0 !important;
border: 0 !important;
box-shadow: none;
&:before {
display: block;
width: auto;
height: 1.25em;
margin: 0;
}
&.btn-primary {
color: #007bff; /* TODO: var */
background: transparent;
}
&.btn-secondary {
color: #868e96; /* TODO: var */
background: transparent;
.ui-dialog-buttonset {
display: flex;
button {
margin: 0 !important;
border: 0 !important;
box-shadow: none;
flex-grow: 1;
&:before {
display: block;
width: auto;
height: 1.25em;
margin: 0;
}
&.btn-primary {
color: #007bff; /* TODO: var */
background: transparent;
}
&.btn-secondary {
color: #868e96; /* TODO: var */
background: transparent;
}
}
}
}

Loading…
Cancel
Save