diff --git a/customize.dist/src/less2/include/alertify.less b/customize.dist/src/less2/include/alertify.less index a98572939..e9cd38ca1 100644 --- a/customize.dist/src/less2/include/alertify.less +++ b/customize.dist/src/less2/include/alertify.less @@ -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%; diff --git a/customize.dist/src/less2/include/framework.less b/customize.dist/src/less2/include/framework.less index 685bfcaf5..57cd84b0b 100644 --- a/customize.dist/src/less2/include/framework.less +++ b/customize.dist/src/less2/include/framework.less @@ -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(); diff --git a/customize.dist/src/less2/include/modals-ui-elements.less b/customize.dist/src/less2/include/modals-ui-elements.less new file mode 100644 index 000000000..f173ae8d5 --- /dev/null +++ b/customize.dist/src/less2/include/modals-ui-elements.less @@ -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; + } + } + } + +} \ No newline at end of file diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 2fe470d5e..e9863d030 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -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',[