diff --git a/customize.dist/src/less2/include/alertify.less b/customize.dist/src/less2/include/alertify.less index 0df305ddc..ec531e6b0 100644 --- a/customize.dist/src/less2/include/alertify.less +++ b/customize.dist/src/less2/include/alertify.less @@ -144,6 +144,10 @@ padding: @alertify_padding-base; background: #fff; box-shadow: @alertify_box-shadow; + &.wide { + width: 1000px; + max-width: 70%; + } } .msg { diff --git a/customize.dist/src/less2/include/share.less b/customize.dist/src/less2/include/share.less new file mode 100644 index 000000000..27ac28046 --- /dev/null +++ b/customize.dist/src/less2/include/share.less @@ -0,0 +1,83 @@ +@import (reference) "./colortheme-all.less"; +@import (reference) './modal.less'; +@import (reference) './alertify.less'; +@import (reference) './avatar.less'; +@import (reference) './checkmark.less'; +@import (reference) './password-input.less'; +.share_main () { + .alertify_main(); + .checkmark_main(20px); + .password_main(); + .modal_main(); + + .cp-share-columns { + display: flex; + flex-flow: row; + + .cp-share-column { + width: 50%; + padding: 0 10px; + } + } + .cp-share-grid, .cp-share-list { + .avatar_main(50px); + display: flex; + justify-content: space-between; + flex-wrap: wrap; + } + .cp-share-list { + margin-bottom: 15px; + } + .cp-share-grid { + max-height: 228px; + overflow-x: auto; + } + .cp-recent-only { + .cp-share-grid, .cp-share-grid-filter { + display: none; + } + } + .cp-share-grid-filter { + display: flex; + input { + flex: 1; + margin-bottom: 0 !important; + &::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */ + color: @colortheme_alertify-primary-text; + opacity: 1; /* Firefox */ + } + } + margin-bottom: 15px; + } + .cp-share-friend { + width: 70px; + height: 70px; + display: flex; + flex-flow: column; + justify-content: center; + align-items: center; + padding: 5px; + margin-bottom: 6px; + cursor: default; + transition: order 0.5s, background-color 0.5s; + + &.cp-selected { + background-color: @colortheme_alertify-primary; + color: @colortheme_alertify-primary-text; + order: -1 !important; + } + .cp-share-friend-name { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + width: 100%; + text-align: center; + } + border: 1px solid @colortheme_alertify-primary; + &.cp-fake-friend { + visibility: hidden; + } + } +} + + diff --git a/customize.dist/src/outer.css b/customize.dist/src/outer.css new file mode 100644 index 000000000..b36fb2c10 --- /dev/null +++ b/customize.dist/src/outer.css @@ -0,0 +1,15 @@ +html, body { + margin: 0px; + padding: 0px; +} +#sbox-iframe, #sbox-share-iframe, #sbox-filePicker-iframe { + position: fixed; + top:0; left:0; + bottom:0; right:0; + width:100%; + height: 100%; + border: 0; + margin:0; + padding:0; + overflow:hidden; +} diff --git a/www/admin/index.html b/www/admin/index.html index e3f7eacc4..79a96c97b 100644 --- a/www/admin/index.html +++ b/www/admin/index.html @@ -6,33 +6,7 @@ - +