mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-19 09:16:38 +00:00
Move update notifier modal style to the component (#486)
Currently, the modal style style used in this component was declared in `components/_modal.scss`, however since this srule is very specific to the update notifier component, its better declared in `update-notifier/styles`. Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
parent
52f47d7b61
commit
df24388c3d
@ -6221,12 +6221,6 @@ button.btn:focus, button.progress-button:focus {
|
||||
.modal-open {
|
||||
padding-right: 0 !important; }
|
||||
|
||||
.modal-fat-and-short {
|
||||
width: 400px;
|
||||
margin-top: -10px; }
|
||||
.modal-fat-and-short .modal-content {
|
||||
height: 245px; }
|
||||
|
||||
.modal-footer {
|
||||
flex-grow: 0;
|
||||
border: 0; }
|
||||
@ -6307,6 +6301,12 @@ button.btn:focus, button.progress-button:focus {
|
||||
padding: 30px 35px;
|
||||
overflow: hidden; }
|
||||
|
||||
.modal-update-notifier {
|
||||
width: 400px;
|
||||
margin-top: -10px; }
|
||||
.modal-update-notifier .modal-content {
|
||||
height: 245px; }
|
||||
|
||||
.update-notifier-modal-body__content {
|
||||
padding-bottom: 15px;
|
||||
margin-bottom: 25px;
|
||||
|
@ -83,7 +83,7 @@ module.exports = function($uibModal, UPDATE_NOTIFIER_SLEEP_TIME, ManifestBindSer
|
||||
animation: true,
|
||||
templateUrl: './components/update-notifier/templates/update-notifier-modal.tpl.html',
|
||||
controller: 'UpdateNotifierController as modal',
|
||||
size: 'fat-and-short'
|
||||
size: 'update-notifier'
|
||||
}).result;
|
||||
};
|
||||
|
||||
|
@ -19,6 +19,18 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.modal-update-notifier {
|
||||
width: 400px;
|
||||
|
||||
// Move it a bit to the top for
|
||||
// aesthetic reasons
|
||||
margin-top: -10px;
|
||||
|
||||
.modal-content {
|
||||
height: 245px;
|
||||
}
|
||||
}
|
||||
|
||||
.update-notifier-modal-body__content {
|
||||
@extend .text-center;
|
||||
|
||||
|
@ -93,18 +93,6 @@
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.modal-fat-and-short {
|
||||
width: 400px;
|
||||
|
||||
// Move it a bit to the top for
|
||||
// aesthetic reasons
|
||||
margin-top: -10px;
|
||||
|
||||
.modal-content {
|
||||
height: 245px;
|
||||
}
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
flex-grow: 0;
|
||||
border: 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user