Sengi-Windows-MacOS-Linux/src/app/components/create-status/create-status.component.scss

257 lines
5.5 KiB
SCSS
Raw Normal View History

@import "variables";
2019-03-06 05:37:58 +01:00
@import "commons";
@import "panel";
@import "buttons";
@import "mixins";
$btn-send-status-width: 60px;
2019-03-07 01:02:29 +01:00
$counter-width: 90px;
2019-07-23 05:35:42 +02:00
2019-07-27 23:01:47 +02:00
// @import "~@ctrl/ngx-emoji-mart/picker";
.form-control {
margin: 0 0 5px 5px;
width: calc(100% - 10px);
background-color: $column-color;
background-color: $status-editor-background;
border-color: $status-secondary-color;
color: $status-editor-color;
font-size: $default-font-size;
2019-07-23 05:35:42 +02:00
&:focus {
box-shadow: none;
}
2019-07-23 05:35:42 +02:00
&--privacy {
display: inline-block;
2019-03-07 01:02:29 +01:00
width: calc(100% - 15px - #{$btn-send-status-width} - #{$counter-width});
}
}
.status-editor {
2019-07-27 20:11:21 +02:00
position: relative;
font-size: $default-font-size;
2019-08-16 01:14:14 +02:00
margin-bottom: 5px;
&__title {
background-color: $status-editor-title-background;
color: $status-editor-color;
border-top-left-radius: 2px;
border-top-right-radius: 2px;
border-width: 0;
margin-bottom: 0;
}
2019-07-28 02:37:26 +02:00
&__emoji {
position: absolute;
top: 37px;
right: 10px;
&--image {
transition: all .2s;
width: 24px;
height: 24px;
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: gray;
opacity: .7;
&:hover {
filter: none;
-webkit-filter: grayscale(0%);
-moz-filter: grayscale(0%);
-ms-filter: grayscale(0%);
-o-filter: grayscale(0%);
opacity: 1;
}
}
}
2023-08-04 06:48:38 +02:00
&__lang {
position: absolute;
top: 64px;
right: 12px;
font-weight: bolder;
font-size: 12px;
color: #a5a5a5;
text-decoration: none;
display: block;
width: 20px;
height: 19px;
border-radius: 2px;
background-color: rgba(255, 255, 255, 0);
padding: 1px 0 0 2px;
text-transform: uppercase;
&:hover {
text-decoration: none;
color:black;
background-color: #e6e6e6;
}
}
&__content {
border-width: 0;
background-color: $status-editor-background;
color: $status-editor-color;
margin-bottom: 0;
2019-07-27 20:11:21 +02:00
2019-07-25 07:51:11 +02:00
resize: none;
border: none;
overflow: auto;
outline: none;
2019-07-27 20:11:21 +02:00
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
2019-07-25 07:10:48 +02:00
2019-07-25 07:51:11 +02:00
min-height: 110px;
height: 110px;
2019-07-25 07:10:48 +02:00
2019-07-27 20:11:21 +02:00
padding-bottom: 10px;
2019-07-28 02:37:26 +02:00
padding-right: 30px;
2019-07-25 07:51:11 +02:00
//border-bottom: 1px solid black;
2019-07-27 20:11:21 +02:00
&::-webkit-resizer {
width: 0px;
height: 0px;
}
&::-webkit-scrollbar {
width: 0px;
}
}
2019-07-27 20:03:47 +02:00
&__mention-error {
background-color: $status-editor-background;
color: rgb(255, 34, 34);
padding: 5px 10px;
margin: 0 5px;
}
2019-07-26 02:15:33 +02:00
&__autosuggest {
display: block;
margin: 0 5px;
}
&__footer {
2019-07-25 07:10:48 +02:00
height: 34px;
margin: 0 5px;
border-width: 0;
background-color: $status-editor-footer-background;
&--link {
color: $status-editor-footer-link-color;
display: inline-block;
padding: 5px;
margin: 2px 0 0 5px;
}
&--add-poll {
font-size: 16px;
margin: 0 0 0 5px;
position: relative;
top: 0px;
}
&--send-button {
2019-07-27 20:11:21 +02:00
@include clearButton;
transition: all .2s;
float: right;
padding: 0 15px 0 15px;
2019-07-25 07:10:48 +02:00
height: 34px;
background-color: $status-editor-footer-background;
&:hover {
background-color: lighten($status-editor-footer-background, 20%);
background-color: darken($status-editor-footer-background, 20%);
}
2019-09-28 07:55:12 +02:00
outline: inherit;
&:focus {
background-color: darken($status-editor-footer-background, 20%);
}
& span {
2022-12-11 04:19:12 +01:00
position: relative;
top: 1px;
margin: 0;
padding: 0;
}
}
&__counter {
float: right;
2019-07-25 07:10:48 +02:00
height: 34px;
padding: 6px 7px 0 7px;
vertical-align: center;
&--count {
display: block;
margin-right: 40px
}
&--posts {
display: block;
float: right;
}
}
}
}
.btn-custom-primary {
display: inline-block;
width: $btn-send-status-width;
position: relative;
top: -1px;
2019-07-28 02:37:26 +02:00
left: 5px;
font-weight: 500;
2019-07-26 06:01:39 +02:00
}
.context-menu-icon {
position: relative;
left: -3px;
font-size: 12px;
color: #1f1f1f;
2019-07-27 23:01:47 +02:00
}
.emojipicker {
font-size: $default-font-size !important;
2019-09-07 20:31:05 +02:00
}
2019-07-27 23:01:47 +02:00
2019-09-07 20:31:05 +02:00
.scheduler {
display: block;
2019-10-05 05:33:08 +02:00
margin: 0 5px;
border-bottom: 1px solid whitesmoke;
2019-07-27 23:01:47 +02:00
}
2023-08-05 02:23:40 +02:00
.language-warning {
padding: 5px 10px;
color: orange;
&__link {
text-decoration: underline;
color: #f0d124;
&:hover {
color: #d18800;
}
}
}
2019-07-27 23:01:47 +02:00
@import '~@angular/cdk/overlay-prebuilt.css';
// ::ng-deep .cdk-overlay-backdrop {
// // width: 100%;
// // height: 100%;
// border: 3px solid greenyellow;
// background-color: black;
// min-height: 20px;
// }