Merge branch 'staging' into mute
This commit is contained in:
@@ -160,6 +160,9 @@
|
||||
margin-bottom: @alertify_padding-base;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
.alertify-tabs {
|
||||
max-height: 100%;
|
||||
@@ -223,14 +226,22 @@
|
||||
background-color: @alertify-input-fg;
|
||||
color: @cryptpad_text_col;
|
||||
border: 1px solid @alertify-input-bg;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: @alertify_padding-base;
|
||||
width: 100%;
|
||||
font-size: 100%;
|
||||
padding: @alertify_padding-base;
|
||||
&[readonly] {
|
||||
background-color: @alertify-light-bg;
|
||||
color: @cryptpad_text_col;
|
||||
border-color: @alertify-input-fg;
|
||||
border-color: @alertify-light-bg;
|
||||
}
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow: hidden;
|
||||
padding: 8px;
|
||||
&[readonly] {
|
||||
resize: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -417,5 +428,33 @@
|
||||
overflow-x: auto;
|
||||
}
|
||||
}
|
||||
// Bootstrap Alerts
|
||||
.alert {
|
||||
margin: 0px 0px @alertify_padding-base 0px;
|
||||
font-size: 12px;
|
||||
padding: 5px;
|
||||
border-radius: 0px;
|
||||
i {
|
||||
margin-right: 10px;
|
||||
}
|
||||
&.alert-primary {
|
||||
background-color: @alertify-base;
|
||||
color: @alertify-fg;
|
||||
border-color: @alertify-fg;
|
||||
a {
|
||||
color: @alertify-fg;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
&.dismissable {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
span.fa-times {
|
||||
font-size: @colortheme_app-font-size;
|
||||
margin-left: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
@import (reference) "./tools.less";
|
||||
@import (reference) "./colortheme-all.less";
|
||||
.avatar_vars(
|
||||
@width: 30px
|
||||
) {
|
||||
@avatar-width: @width;
|
||||
@avatar-font-size: @width / 1.2;
|
||||
@avatar-default-bg: #D9D8D8;
|
||||
@avatar-default-fg: darken(@avatar-default-bg, 40%);
|
||||
}
|
||||
.avatar_main(@width: 30px) {
|
||||
--LessLoader_require: LessLoader_currentFile();
|
||||
@@ -30,16 +33,16 @@
|
||||
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
.cp-avatar-default {
|
||||
.tools_unselectable();
|
||||
background: white;
|
||||
color: black;
|
||||
background: @avatar-default-bg;
|
||||
color: @avatar-default-fg;
|
||||
font-size: @avatar-font-size;
|
||||
font-size: var(--avatar-font-size);
|
||||
text-transform: capitalize;
|
||||
}
|
||||
media-tag {
|
||||
min-height: @avatar-width;
|
||||
|
||||
@@ -1,12 +1,16 @@
|
||||
@import (reference) "./colortheme-all.less";
|
||||
|
||||
@import (reference) "./variables.less";
|
||||
.modals-ui-elements_main() {
|
||||
--LessLoader_require: LessLoader_currentFile();
|
||||
}
|
||||
& {
|
||||
.cp-spacer {
|
||||
height: @variables_padding;
|
||||
}
|
||||
// Share modal
|
||||
.msg.cp-inline-radio-group {
|
||||
overflow: unset !important;
|
||||
padding: 0px @variables_padding;
|
||||
.radio-group {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@import (reference) "./colortheme-all.less";
|
||||
.password_main() {
|
||||
--LessLoader_require: LessLoader_currentFile();
|
||||
}
|
||||
@@ -17,7 +18,7 @@
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
background-color: rgba(0,0,0,0.1);
|
||||
color: darken(@colortheme_alertify-primary, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,16 +6,18 @@
|
||||
--LessLoader_require: LessLoader_currentFile();
|
||||
};
|
||||
& {
|
||||
|
||||
.cp-usergrid-container {
|
||||
margin-bottom: 12px !important; // even when last child of .msg
|
||||
.cp-usergrid-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: -3px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
&:not(.large) {
|
||||
.cp-usergrid-grid {
|
||||
margin: -3px;
|
||||
margin-bottom: 6px;
|
||||
max-height: 130px;
|
||||
overflow-y: auto;
|
||||
@media screen and (max-height: 515px) {
|
||||
max-height: unset; // remove double scrollbar
|
||||
}
|
||||
}
|
||||
&.cp-usergrid-empty {
|
||||
@@ -28,17 +30,22 @@
|
||||
input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
margin-bottom: 0 !important;
|
||||
height: 38px;
|
||||
&::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
|
||||
color: @cryptpad_color_grey;
|
||||
opacity: 1; /* Firefox */
|
||||
}
|
||||
}
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 10px;
|
||||
&:empty {
|
||||
margin: 0;
|
||||
display: none;
|
||||
}
|
||||
button:last-child {
|
||||
margin-right: 0px !important;
|
||||
}
|
||||
}
|
||||
.cp-usergrid-user {
|
||||
width: 70px;
|
||||
@@ -58,33 +65,48 @@
|
||||
background-color: @colortheme_alertify-primary;
|
||||
color: @colortheme_alertify-primary-text;
|
||||
order: -1 !important;
|
||||
.cp-usergrid-avatar {
|
||||
media-tag, .cp-avatar-default {
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
}
|
||||
.cp-usergrid-user-avatar {
|
||||
min-height: 40px;
|
||||
}
|
||||
|
||||
.cp-usergrid-user-name {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
line-height: 20px;
|
||||
flex: 1;
|
||||
}
|
||||
border: 1px solid @colortheme_alertify-primary;
|
||||
|
||||
&:not(.large) {
|
||||
.avatar_main(40px);
|
||||
}
|
||||
&.large {
|
||||
.avatar_main(25px);
|
||||
width: 140px;
|
||||
width: 145px;
|
||||
height: 35px;
|
||||
flex-flow: row;
|
||||
margin: 0;
|
||||
margin-right: 15px;
|
||||
margin-bottom: 1px;
|
||||
&:nth-child(3n) {
|
||||
margin-right: 0;
|
||||
margin: 3px;
|
||||
flex-basis: calc(33.3333333% - 6px);
|
||||
flex-shrink: 1;
|
||||
min-width: 0;
|
||||
.cp-usergrid-user-name {
|
||||
margin-left: 5px;
|
||||
text-align: left;
|
||||
line-height: 150%;
|
||||
color: @cryptpad_text_col;
|
||||
}
|
||||
}
|
||||
&.cp-selected {
|
||||
.cp-usergrid-user-name {
|
||||
color: @colortheme_alertify-primary-text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user