Merge branch 'staging' into communities-trim
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
@alertify-input-fg: @colortheme_modal-input-fg;
|
||||
|
||||
input:not(.form-control), textarea {
|
||||
background-color: @alertify-input-fg;
|
||||
// background-color: @alertify-input-fg;
|
||||
color: @cryptpad_text_col;
|
||||
border: 1px solid @alertify-input-bg;
|
||||
width: 100%;
|
||||
@@ -23,6 +23,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
input:not(.form-control) {
|
||||
height: @variables_input-height;
|
||||
}
|
||||
|
||||
div.cp-alertify-type {
|
||||
display: flex;
|
||||
input {
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
--LessLoader_require: LessLoader_currentFile();
|
||||
};
|
||||
& {
|
||||
@corner-button-ok: #2c9b00;
|
||||
@corner-button-cancel: #990000;
|
||||
@corner-link: #ffff7a;
|
||||
@corner-blue: @colortheme_logo-1;
|
||||
@corner-white: @colortheme_base;
|
||||
|
||||
@keyframes appear {
|
||||
0% {
|
||||
@@ -27,21 +27,23 @@
|
||||
|
||||
.cp-corner-container {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
border-top-left-radius: 200px;
|
||||
padding: 15px;
|
||||
text-align: right;
|
||||
background-color: @colortheme_logo-1;
|
||||
color: @colortheme_base;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
width: 350px;
|
||||
padding: 10px;
|
||||
background-color: fade(@corner-blue, 95%);
|
||||
border: 1px solid @corner-blue;
|
||||
color: @corner-white;
|
||||
z-index: 9999;
|
||||
transform-origin: bottom right;
|
||||
animation: appear 0.8s ease-in-out;
|
||||
box-shadow: 0 0 10px 0 @colortheme_logo-1;
|
||||
//transform: scale(0.1);
|
||||
//transform: scale(1);
|
||||
//box-shadow: 0 0 10px 0 @corner-blue;
|
||||
|
||||
&.cp-corner-alt {
|
||||
background-color: fade(@corner-white, 95%);
|
||||
border: 1px solid @corner-blue;
|
||||
color: @corner-blue;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
font-size: 1.5em;
|
||||
@@ -64,7 +66,7 @@
|
||||
line-height: 15px;
|
||||
display: none;
|
||||
&:hover {
|
||||
color: darken(@colortheme_base, 15%);
|
||||
color: darken(@corner-white, 15%);
|
||||
}
|
||||
}
|
||||
.cp-corner-minimize {
|
||||
@@ -86,46 +88,95 @@
|
||||
}
|
||||
}
|
||||
&.cp-corner-big {
|
||||
width: 400px;
|
||||
height: 250px;
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
.cp-corner-dontshow {
|
||||
cursor: pointer;
|
||||
.fa {
|
||||
margin-right: 0.3em;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
&:hover {
|
||||
color: darken(@corner-white, 10%);
|
||||
}
|
||||
}
|
||||
&.cp-corner-alt {
|
||||
.cp-corner-dontshow {
|
||||
&:hover {
|
||||
color: lighten(@corner-blue, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cp-corner-actions {
|
||||
min-height: 30px;
|
||||
margin: 15px auto;
|
||||
display: inline-block;
|
||||
margin: 10px auto;
|
||||
display: block;
|
||||
text-align: right;
|
||||
}
|
||||
.cp-corner-footer {
|
||||
font-style: italic;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
.cp-corner-footer, .cp-corner-text {
|
||||
a {
|
||||
color: @corner-link;
|
||||
color: @corner-white;
|
||||
text-decoration: underline;
|
||||
&:hover {
|
||||
color: darken(@corner-link, 20%);
|
||||
color: darken(@corner-white, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.cp-corner-alt a {
|
||||
color: @corner-blue;
|
||||
&:hover {
|
||||
color: lighten(@corner-blue, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
button {
|
||||
border: 0px;
|
||||
padding: 5px;
|
||||
color: @colortheme_base;
|
||||
margin-left: 5px;
|
||||
color: @corner-white;
|
||||
&:not(:first-child) {
|
||||
margin-left: 10px;
|
||||
}
|
||||
outline: none;
|
||||
text-transform: uppercase;
|
||||
border: 1px solid @corner-white;
|
||||
.fa, .cptools {
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
&.cp-corner-primary {
|
||||
background-color: @corner-button-ok;
|
||||
font-weight: bold;
|
||||
background-color: @corner-white;
|
||||
color: @corner-blue;
|
||||
&:hover {
|
||||
background-color: lighten(@corner-button-ok, 10%);
|
||||
background-color: lighten(@corner-blue, 50%);
|
||||
border-color: lighten(@corner-blue, 50%);
|
||||
}
|
||||
}
|
||||
&.cp-corner-cancel {
|
||||
background-color: @corner-button-cancel;
|
||||
margin-left: 10px;
|
||||
background-color: @corner-blue;
|
||||
color: @corner-white;
|
||||
&:hover {
|
||||
background-color: lighten(@corner-button-cancel, 10%);
|
||||
background-color: darken(@corner-blue, 10%);
|
||||
}
|
||||
}
|
||||
}
|
||||
&.cp-corner-alt button {
|
||||
border-color: @corner-blue;
|
||||
&.cp-corner-primary {
|
||||
background-color: @corner-blue;
|
||||
color: @corner-white;
|
||||
&:hover {
|
||||
background-color: darken(@corner-blue, 10%);
|
||||
border-color: darken(@corner-blue, 10%);
|
||||
}
|
||||
}
|
||||
&.cp-corner-cancel {
|
||||
background-color: @corner-white;
|
||||
color: @corner-blue;
|
||||
&:hover {
|
||||
background-color: lighten(@corner-blue, 50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
@notif-height: 50px;
|
||||
.cp-notifications-container {
|
||||
max-width: 300px;
|
||||
width: 300px;
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
& hr {
|
||||
@@ -16,6 +17,14 @@
|
||||
.cp-notification {
|
||||
min-height: @notif-height;
|
||||
display: flex;
|
||||
.cp-avatar {
|
||||
.avatar_main(30px);
|
||||
padding: 0 5px;
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
background-color: rgba(0,0,0,0.1);
|
||||
}
|
||||
}
|
||||
.cp-notification-content {
|
||||
flex: 1;
|
||||
align-items: stretch;
|
||||
|
||||
@@ -117,6 +117,7 @@
|
||||
//border-radius: 0 0.25em 0.25em 0;
|
||||
//border: 1px solid #adadad;
|
||||
border-left: 0px;
|
||||
height: @variables_input-height;
|
||||
}
|
||||
}
|
||||
&>div {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
// Elements size
|
||||
@variables_bar-height: 32px;
|
||||
@variables_input-height: 38px;
|
||||
|
||||
// Used in modal.less and alertify.less
|
||||
@variables_padding: 12px;
|
||||
|
||||
Reference in New Issue
Block a user