move modal styles to new file

pull/1/head
David Benqué 5 years ago
parent fae0a930e3
commit 9f3aa25fdd

@ -159,15 +159,6 @@
margin-bottom: @alertify_padding-base; margin-bottom: @alertify_padding-base;
margin: 0; margin: 0;
overflow: auto; overflow: auto;
&.access-rights{
.radio-group{
display: flex;
flex-direction: row;
.cp-radio{
margin-right: 30px;
}
}
}
} }
.alertify-tabs { .alertify-tabs {
max-height: 100%; max-height: 100%;

@ -15,6 +15,7 @@
@import (reference) "./messenger.less"; @import (reference) "./messenger.less";
@import (reference) "./cursor.less"; @import (reference) "./cursor.less";
@import (reference) "./usergrid.less"; @import (reference) "./usergrid.less";
@import (reference) "./modals-ui-elements.less";
.framework_main(@bg-color, @warn-color, @color) { .framework_main(@bg-color, @warn-color, @color) {
--LessLoader_require: LessLoader_currentFile(); --LessLoader_require: LessLoader_currentFile();
@ -32,6 +33,7 @@
@color: @color @color: @color
); );
.alertify_main(); .alertify_main();
.modals-ui-elements_main();
.corner_main(); .corner_main();
.contextmenu_main(); .contextmenu_main();
.fileupload_main(); .fileupload_main();

@ -0,0 +1,18 @@
@import (reference) "./colortheme-all.less";
.modals-ui-elements_main() {
--LessLoader_require: LessLoader_currentFile();
};
& {
// Share modal
.cp-inline-radio-group{
.radio-group{
display: flex;
flex-direction: row;
.cp-radio{
margin-right: 30px;
}
}
}
}

@ -1038,7 +1038,7 @@ define([
var parsed = Hash.parsePadUrl(pathname); var parsed = Hash.parsePadUrl(pathname);
var canPresent = ['code', 'slide'].indexOf(parsed.type) !== -1; var canPresent = ['code', 'slide'].indexOf(parsed.type) !== -1;
var rights = h('div.msg.access-rights', [ var rights = h('div.msg.cp-inline-radio-group', [
h('label', Messages.share_linkAccess), h('label', Messages.share_linkAccess),
h('br'), h('br'),
h('div.radio-group',[ h('div.radio-group',[

Loading…
Cancel
Save