diff --git a/customize.dist/src/less2/include/modals-ui-elements.less b/customize.dist/src/less2/include/modals-ui-elements.less index 8c55ab86c..09e381c47 100644 --- a/customize.dist/src/less2/include/modals-ui-elements.less +++ b/customize.dist/src/less2/include/modals-ui-elements.less @@ -85,25 +85,26 @@ } // Access modal - .cp-overlay-container { - position: relative; - button.btn-primary { - i { - margin-right: 0px !important; + button.cp-access-add { + i { + margin-right: 0px !important; + } + i.fa-arrow-left { + display: inline; + @media (max-width: @browser_media-medium-screen) { + display:none; } - i.fa-arrow-left { + } + i.fa-arrow-up { + display: none; + @media (max-width: @browser_media-medium-screen) { display: inline; - @media (max-width: @browser_media-medium-screen) { - display:none; - } - } - i.fa-arrow-up { - display: none; - @media (max-width: @browser_media-medium-screen) { - display: inline; - } } } + } + + .cp-overlay-container { + position: relative; .cp-overlay { position: absolute; background-color: rgba(255,255,255,0.5); diff --git a/www/common/inner/access.js b/www/common/inner/access.js index 530376854..129b24916 100644 --- a/www/common/inner/access.js +++ b/www/common/inner/access.js @@ -33,7 +33,7 @@ define([ opts = opts || {}; var redrawAll = function () {}; - var addBtn = h('button.btn.btn-primary', [h('i.fa.fa-arrow-left'), h('i.fa.fa-arrow-up')]); + var addBtn = h('button.btn.btn-primary.cp-access-add', [h('i.fa.fa-arrow-left'), h('i.fa.fa-arrow-up')]); var div1 = h('div.cp-share-column.cp-ownership'); var divMid = h('div.cp-share-column-mid', addBtn); @@ -388,7 +388,7 @@ define([ var redrawAll = function () {}; - var addBtn = h('button.btn.btn-primary', [h('i.fa.fa-arrow-left'), h('i.fa.fa-arrow-up')]); + var addBtn = h('button.btn.btn-primary.cp-access-add', [h('i.fa.fa-arrow-left'), h('i.fa.fa-arrow-up')]); var div1 = h('div.cp-share-column.cp-allowlist'); var divMid = h('div.cp-share-column-mid.cp-overlay-container', [