Sengi-Windows-MacOS-Linux/src/app/components/floating-column/search/search.component.scss

138 lines
2.9 KiB
SCSS
Raw Normal View History

@import "variables";
@import "mixins";
@import "panel";
2018-10-02 03:44:59 +02:00
@import "commons";
2019-05-22 02:42:48 +02:00
@import "buttons";
2020-02-15 02:14:42 +01:00
.panel {
padding-left: 0px;
padding-right: 0px;
}
2018-11-24 04:50:00 +01:00
2018-11-03 04:54:19 +01:00
.form-section {
overflow: auto;
width: 100%;
2020-02-15 02:14:42 +01:00
padding-left: 5px;
2018-11-03 04:54:19 +01:00
}
.form-with-button {
width: calc(100% - #{$button-size});
float: left;
2019-05-22 02:42:48 +02:00
2020-02-15 02:14:42 +01:00
// background-color: $column-color;
// border-color: $button-border-color;
// color: #fff;
// color: rgb(255, 0, 0);
2019-05-22 02:42:48 +02:00
&:focus {
box-shadow: none;
}
2018-11-03 04:54:19 +01:00
2020-02-15 02:14:42 +01:00
font-size: $default-font-size;
height: 29px;
padding: 0 5px 0 5px;
2019-05-22 02:42:48 +02:00
2020-02-15 02:14:42 +01:00
background-color: $status-editor-title-background;
color: $status-editor-color;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
border-width: 0;
margin-bottom: 0;
}
2019-05-22 02:42:48 +02:00
2018-11-03 04:54:19 +01:00
.form-button {
2020-02-15 02:14:42 +01:00
@include clearButton;
2018-11-03 04:54:19 +01:00
transition: all .2s;
2020-02-15 02:14:42 +01:00
background-color: $status-editor-footer-background;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
2018-11-03 04:54:19 +01:00
&:hover {
2020-02-15 02:14:42 +01:00
background-color: lighten($status-editor-footer-background, 20%);
background-color: darken($status-editor-footer-background, 20%);
}
outline: inherit;
&:focus {
background-color: darken($status-editor-footer-background, 20%);
2018-11-03 04:54:19 +01:00
}
2019-05-22 02:42:48 +02:00
2020-02-15 02:14:42 +01:00
width: $button-size;
height: 29px;
// border: none;
// outline: none;
// cursor: pointer;
// background-color: $button-background-color;
// color: $button-color;
// color: whitesmoke;
// transition: all .2s;
// &:hover {
// background-color: $button-background-color-hover;
// color: $button-color-hover;
// }
// border: 1px solid $button-border-color;
// border-width: 1px 1px 1px 0;
2018-11-03 04:54:19 +01:00
}
$search-form-height: 70px;
2020-02-15 02:14:42 +01:00
.search-result-form {
height: $search-form-height;
2020-02-15 02:14:42 +01:00
//padding-left: 10px;
padding-right: 10px;
2020-02-15 02:14:42 +01:00
//border-bottom: 1px solid #222736;
}
.search-result-display {
overflow: auto;
height: calc(100% - #{$search-form-height});
}
.search-results {
// outline: 1px solid greenyellow;
2018-11-03 05:34:56 +01:00
margin-top: 10px; // &:first-of-type{
padding-left: 10px; // margin-top: 10px;
2020-06-15 07:12:39 +02:00
//padding-right: 10px; // margin-top: 10px;
2020-02-15 02:14:42 +01:00
// }
&__title {
text-transform: uppercase;
font-size: 13px;
}
2020-02-15 02:14:42 +01:00
&__hashtag {
2018-11-03 05:34:56 +01:00
border-radius: 2px;
display: block;
padding: 5px;
color: white;
2018-11-03 05:34:56 +01:00
text-decoration: none;
transition: all .3s;
2020-02-15 02:14:42 +01:00
2018-11-03 05:34:56 +01:00
&:hover {
background-color: $button-background-color-hover;
}
2020-02-15 02:14:42 +01:00
2018-11-03 05:34:56 +01:00
border-top: 1px solid $separator-color;
2020-02-15 02:14:42 +01:00
2018-11-03 05:34:56 +01:00
&:last-of-type {
border-bottom: 1px solid $separator-color;
2018-11-03 05:34:56 +01:00
}
}
2020-02-15 02:14:42 +01:00
&__status {
2019-02-20 03:44:09 +01:00
font-size: 15px;
2018-11-03 05:57:39 +01:00
border-top: 1px solid $separator-color;
2020-02-15 02:14:42 +01:00
2018-11-03 05:57:39 +01:00
&:last-of-type {
border-bottom: 1px solid $separator-color;
}
}
}
.account {
2018-11-03 05:34:56 +01:00
display: block;
2020-02-15 02:14:42 +01:00
}