Fix Ctrl-e new pad modals

pull/1/head
David Benqué 4 years ago
parent e4de375180
commit 296367bf0e

@ -868,8 +868,11 @@
border: 1px solid @colortheme_modal-fg; border: 1px solid @colortheme_modal-fg;
li:not(.cp-app-drive-element-selected):hover { li:not(.cp-app-drive-element-selected):hover {
background: @colortheme_modal-fg; background: @colortheme_logo_2_light;
color: @colortheme_modal-bg; color: @cryptpad_text_col;
.cptools {
color: @cryptpad_text_col;
}
} }
.cp-modal { .cp-modal {
display: flex; display: flex;
@ -896,6 +899,7 @@
} }
.cp-app-drive-new-name { .cp-app-drive-new-name {
color: @cryptpad_text_col;
white-space: nowrap; white-space: nowrap;
} }

@ -16,13 +16,13 @@
height: 24px; height: 24px;
margin: 0; margin: 0;
display: inline-block; display: inline-block;
font-size: 14px;
//align-items: center; //align-items: center;
//justify-content: center; //justify-content: center;
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
word-wrap: break-word; word-wrap: break-word;
color: @cryptpad_text_col;
} }
&.cp-icons-element-selected { &.cp-icons-element-selected {
background-color: rgba(0,0,0,0.2); background-color: rgba(0,0,0,0.2);

@ -271,8 +271,11 @@
border: 1px solid @colortheme_modal-fg; border: 1px solid @colortheme_modal-fg;
&:hover { &:hover {
//border: 1px solid @colortheme_modal-fg; //border: 1px solid @colortheme_modal-fg;
background: @colortheme_modal-fg; background: @colortheme_logo_2_light;
color: @colortheme_modal-bg; color: @cryptpad_text_col;
.cptools {
color: @cryptpad_text_col;
}
} }
} }
.cp-modal { .cp-modal {
@ -282,7 +285,7 @@
cursor: pointer; cursor: pointer;
} }
&> p { &> p {
margin: 50px; margin: 20px;
} }
&> div { &> div {
flex: 1; flex: 1;
@ -293,7 +296,7 @@
} }
&> div:last-child { &> div:last-child {
flex: unset; flex: unset;
margin: 50px 0; margin: 20px 0;
} }
} }

Loading…
Cancel
Save