Improve share modal UI

This commit is contained in:
yflory
2019-09-12 18:51:03 +02:00
parent 306fc6cdb9
commit 353da76808
5 changed files with 132 additions and 94 deletions

View File

@@ -314,6 +314,16 @@
&::-moz-focus-inner {
border: 0;
}
&:disabled {
cursor: not-allowed !important;
background-color: @colortheme_alertify-disabled;
color: @colortheme_alertify-disabled-text;
border-color: @colortheme_alertify-disabled-border;
&:hover, &:active {
background-color: @colortheme_alertify-disabled;
}
}
}
button.btn {
@@ -430,6 +440,15 @@
& > .cp-share-column {
width: 50%;
padding: 0 10px;
position: relative;
&.contains-nav {
padding-bottom: 50px;
}
nav {
position: absolute;
bottom: 0;
right: 0;
}
}
}
.cp-share-grid, .cp-share-list {

View File

@@ -51,6 +51,9 @@
@colortheme_alertify-primary: @colortheme_form-bg;
@colortheme_alertify-primary-text: @colortheme_form-color;
@colortheme_alertify-primary-border: transparent;
@colortheme_alertify-disabled: #6c757d;
@colortheme_alertify-disabled-text: #ffffff;
@colortheme_alertify-disabled-border: #6c757d;
@colortheme_alertify-cancel: @colortheme_modal-bg;
@colortheme_alertify-cancel-border: #ccc;