web-apps/apps/common/mobile/resources/less/material/_collaboration.less

331 lines
6.3 KiB
Plaintext
Raw Normal View History

2019-05-17 14:18:56 +00:00
.page-change {
.block-description {
background-color: #fff;
padding-top: 15px;
padding-bottom: 15px;
margin: 0;
2019-05-24 08:06:14 +00:00
max-width: 100%;
word-wrap: break-word;
2019-05-17 14:18:56 +00:00
}
#user-name {
font-size: 17px;
line-height: 22px;
color: #000000;
margin: 0;
}
#date-change {
font-size: 14px;
line-height: 18px;
2019-05-21 08:02:03 +00:00
color: #6d6d72;
2019-05-17 14:18:56 +00:00
margin: 0;
margin-top: 3px;
}
#text-change {
color: #000000;
font-size: 15px;
2019-05-24 08:06:14 +00:00
line-height: 20px;
2019-05-17 14:18:56 +00:00
margin: 0;
margin-top: 10px;
}
.block-btn {
display: flex;
flex-direction: row;
justify-content: space-around;
margin: 0;
padding: 26px 0;
background-color: #EFEFF4;
#btn-next-change, #btn-reject-change {
margin-left: 20px;
}
#btn-goto-change {
margin-right: 20px;
}
.right-buttons {
display: flex;
}
2019-05-17 14:18:56 +00:00
.link {
display: inline-block;
}
}
}
.container-collaboration {
.navbar .right.close-collaboration {
position: absolute;
right: 5px;
}
2019-05-24 08:06:14 +00:00
.page-content .list-block:first-child {
margin-top: -1px;
}
}
//Edit users
@initialEditUser: #373737;
#user-list {
.item-content {
padding-left: 0;
}
.item-inner {
justify-content: flex-start;
padding-left: 15px;
}
.length {
margin-left: 4px;
}
.color {
min-width: 40px;
min-height: 40px;
margin-right: 20px;
text-align: center;
border-radius: 50px;
line-height: 40px;
color: @initialEditUser;
font-weight: 400;
}
ul:before {
content: none;
}
}
//Comments
.page-comments, .page-add-comment, .page-view-comments, .container-edit-comment, .container-add-reply {
.list-block .item-inner {
display: block;
padding: 16px 0;
word-wrap: break-word;
}
p {
margin: 0;
word-break: break-word;
}
.user-name {
font-size: 16px;
line-height: 22px;
color: #000000;
margin: 0;
}
.comment-date, .reply-date {
font-size: 12px;
line-height: 18px;
color: #6d6d72;
margin: 0;
margin-top: 0px;
}
.comment-text, .reply-text {
color: #000000;
font-size: 15px;
line-height: 25px;
margin: 0;
max-width: 100%;
padding-right: 15px;
}
.reply-item {
padding-right: 16px;
padding-top: 13px;
.header-reply {
display: flex;
justify-content: space-between;
}
.user-name {
padding-top: 3px;
}
}
.comment-quote {
color: @themeColor;
border-left: 1px solid @themeColor;
padding-left: 10px;
margin: 5px 0;
font-size: 15px;
}
.wrap-comment {
padding: 16px 0 0 0;
}
.comment-textarea, .reply-textarea {
margin-top: 10px;
background:transparent;
border:none;
outline:none;
width: 100%;
min-height: 200px;
font-size: 15px;
}
.header-comment {
display: flex;
justify-content: space-between;
padding-right: 16px;
margin-bottom: 13px;
.comment-right {
display: flex;
justify-content: space-between;
width: 70px;
}
.comment-left {
display: flex;
justify-content: space-between;
}
.initials-comment {
height: 40px;
width: 40px;
border-radius: 50px;
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
margin-right: 16px;
font-size: 18px;
}
}
.header-reply {
.reply-left {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.initials-reply {
width: 24px;
height: 24px;
color: #FFFFFF;
font-size: 11px;
display: flex;
justify-content: center;
align-items: center;
margin-right: 16px;
border-radius: 50px;
margin-top: 5px;
}
}
}
.settings.popup .list-block ul.list-reply:last-child:after, .settings.popover .list-block ul.list-reply:last-child:after {
display: none;
}
.container-edit-comment {
.navbar {
background-color: #FFFFFF;
color: @themeColor;
}
}
//view comment
.container-view-comment {
-webkit-transition: height 100ms;
transition: height 100ms;
background-color: #FFFFFF;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
height: 50%;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2), 0px 4px 5px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14);
.page-view-comments {
background-color: #FFFFFF;
.list-block {
margin-bottom: 120px;
ul:before, ul:after {
content: none;
}
.item-inner {
padding: 0;
}
}
}
.toolbar {
position: absolute;
background-color: #FFFFFF;
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2), 0px 4px 5px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14);
&.toolbar-bottom {
top: auto;
}
&:before {
content: none;
}
a {
&.link {
color: @themeColor;
font-size: 16px;
}
}
.toolbar-inner {
display: flex;
justify-content: space-between;
padding: 0 16px;
.button-left {
min-width: 80px;
}
.button-right {
min-width: 62px;
display: flex;
justify-content: space-between;
a {
padding: 0 8px;
}
}
}
}
.swipe-container {
display: flex;
justify-content: center;
height: 40px;
.icon-swipe {
margin-top: 8px;
width: 40px;
height: 4px;
background: rgba(0, 0, 0, 0.12);
border-radius: 2px;
}
}
.list-block {
margin-top: 0;
}
}
.container-view-add-comment, .container-edit-comment, .container-add-reply, container-edit-comment {
height: 100%;
.navbar {
background-color: #FFFFFF;
color: #000;
&:after {
content: '';
position: absolute;
left: 0;
bottom: 0;
right: auto;
top: auto;
height: 1px;
width: 100%;
background-color: #c4c4c4;
display: block;
z-index: 15;
-webkit-transform-origin: 50% 100%;
transform-origin: 50% 100%;
}
.navbar-inner {
justify-content: space-between;
}
a.link i + span {
margin-left: 0;
}
.center {
font-size: 18px;
}
.right {
margin-left: 0;
}
}
.page-add-comment {
background-color: #FFFFFF;
.page-content {
padding: 0 16px 80px;
}
}
.header-comment {
justify-content: flex-start;
}
}
.actions-modal-button.color-red {
color: @red;
2019-05-17 14:18:56 +00:00
}