adjust spacing

pull/1/head
David Benqué 5 years ago
parent 9ec2dd8e70
commit 78488d00bf

@ -222,7 +222,7 @@
background-color: @alertify-input-fg; background-color: @alertify-input-fg;
color: @cryptpad_text_col; color: @cryptpad_text_col;
border: 1px solid @alertify-input-bg; border: 1px solid @alertify-input-bg;
margin-bottom: 15px; margin: @alertify_padding-base 0px;
width: 100%; width: 100%;
font-size: 100%; font-size: 100%;
padding: @alertify_padding-base; padding: @alertify_padding-base;
@ -365,6 +365,7 @@
nav { nav {
padding: @alertify_padding-base; padding: @alertify_padding-base;
padding-top: 0px;
text-align: right; text-align: right;
button { button {
margin: 0px !important; margin: 0px !important;
@ -518,7 +519,7 @@
} }
} }
.alert { .alert {
margin: 5px 0px; margin: 0px 0px @alertify_padding-base 0px;
font-size: 12px; font-size: 12px;
padding: 5px; padding: 5px;
border-radius: 0px; border-radius: 0px;
@ -531,6 +532,15 @@
text-decoration: underline; text-decoration: underline;
} }
} }
&.dismissable {
display: flex;
align-items: center;
span.fa-times {
font-size: @colortheme_app-font-size;
margin-left: 20px;
cursor: pointer;
}
}
} }
} }

@ -1,5 +1,5 @@
@import (reference) "./colortheme-all.less"; @import (reference) "./colortheme-all.less";
@import (reference) "./variables.less";
.modals-ui-elements_main() { .modals-ui-elements_main() {
--LessLoader_require: LessLoader_currentFile(); --LessLoader_require: LessLoader_currentFile();
} }
@ -7,6 +7,7 @@
// Share modal // Share modal
.msg.cp-inline-radio-group { .msg.cp-inline-radio-group {
overflow: unset !important; overflow: unset !important;
padding: 0px @variables_padding;
.radio-group { .radio-group {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

@ -28,6 +28,7 @@
input { input {
flex: 1; flex: 1;
min-width: 0; min-width: 0;
margin-top: 0 !important;
margin-bottom: 0 !important; margin-bottom: 0 !important;
height: 38px; height: 38px;
margin: 6px 0px; margin: 6px 0px;

@ -1097,7 +1097,6 @@ define([
h('br'), h('br'),
] : [ ] : [
UI.createCheckbox('cp-share-embed', Messages.share_linkEmbed, false, { mark: {tabindex:1} }), UI.createCheckbox('cp-share-embed', Messages.share_linkEmbed, false, { mark: {tabindex:1} }),
h('br'),
]; ];
linkContent.push(UI.dialog.selectableArea('', { id: 'cp-share-link-preview', tabindex: 1, rows:3})); linkContent.push(UI.dialog.selectableArea('', { id: 'cp-share-link-preview', tabindex: 1, rows:3}));

Loading…
Cancel
Save