move modal styles to new file
parent
fae0a930e3
commit
9f3aa25fdd
|
@ -159,15 +159,6 @@
|
|||
margin-bottom: @alertify_padding-base;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
&.access-rights{
|
||||
.radio-group{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
.cp-radio{
|
||||
margin-right: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.alertify-tabs {
|
||||
max-height: 100%;
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
@import (reference) "./messenger.less";
|
||||
@import (reference) "./cursor.less";
|
||||
@import (reference) "./usergrid.less";
|
||||
@import (reference) "./modals-ui-elements.less";
|
||||
|
||||
.framework_main(@bg-color, @warn-color, @color) {
|
||||
--LessLoader_require: LessLoader_currentFile();
|
||||
|
@ -32,6 +33,7 @@
|
|||
@color: @color
|
||||
);
|
||||
.alertify_main();
|
||||
.modals-ui-elements_main();
|
||||
.corner_main();
|
||||
.contextmenu_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 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('br'),
|
||||
h('div.radio-group',[
|
||||
|
|
Loading…
Reference in New Issue