session-desktop/stylesheets/_session_left_pane.scss

180 lines
3.6 KiB
SCSS
Raw Normal View History

$session-compose-margin: 20px;
.module-conversation {
2020-08-31 01:46:03 +02:00
// default conversation list item text color
&__user__profile {
&-number,
&-name {
font-weight: bold;
font-size: var(--font-size-md);
2020-08-31 01:46:03 +02:00
color: var(--color-text-subtle);
2020-08-31 01:46:03 +02:00
}
}
&-list-item {
transition: $session-transition-duration;
&:hover {
background: var(--color-clickable-hovered);
2020-01-16 05:04:44 +01:00
}
&--is-selected {
background: var(--color-conversation-item-selected);
.module-conversation__user__profile-number,
.module-conversation__user__profile-name,
.module-conversation-list-item__message__text {
color: var(--color-text);
2020-01-16 05:04:44 +01:00
}
}
&--has-unread {
border-left: var(--border-unread);
background: var(--color-conversation-item-has-unread);
}
&__unread-count {
2022-05-16 02:06:25 +02:00
color: var(--color-text);
background: var(--color-clickable-hovered);
2020-01-14 03:28:31 +01:00
position: static !important;
font-weight: 700 !important;
box-shadow: none !important;
margin: 0 !important;
flex-shrink: 0;
}
&__header__date,
&__header__date--has-unread {
flex-grow: 1 !important;
text-align: end !important;
}
&__message__text {
color: $session-shade-17;
&--has-unread {
color: var(--color-text);
}
}
&__header__name {
flex-grow: 0;
padding-inline-end: 5px;
}
&__header__name--with-unread .module-conversation__user__profile-number,
&__header__name--with-unread .module-conversation__user__profile-name {
color: var(--color-text);
}
}
}
.module-left-pane {
width: $session-left-pane-width;
position: relative;
2020-11-13 04:29:59 +01:00
height: 100vh;
flex-shrink: 0;
&-session {
display: flex;
Integration tests (#975) * add first integration test Session Checking window title Checking window count Can restore from seed * FIXME torevert once found why this crash on app close * [test] add join valid open group test * [test] validate cannot join two times the same open group * [test] move common things to common.js * [test] move tests to separate files * [test] clean * [test] add send message to open group test * [test] lint * [test] rename hooks -> common * [test] add 15s delay before considering test as slow * upgrade electron 8.0.3 and spectron 10.0.0 * [test] signin from seed: validate pubkey * Replace spellchecker in favor of typo-js * [test] refactor common calls to common.js * [test] add two different pubkey, mnemonic and displayname * [test] FIXME unsafe eval needed for now * [test] add: add friends test * [test] working multi instance tests * [test] FIXME disable snodeproxy * [test] update yarn.lock * [test] make tests more robust with restart from scratch each test * [test] add link of two devices test and hard rm of apps before start (rm -r) * remove unused file * [test] lint * [test] add registration from generated pubkey test * [test] add beginning of network stub * [test] stub "token" endpoint * [test] add test of one message on pub group pull * [test] add starting port randomize. looks to help for some bad start with multi instance * [test] add stub for one to one chats (sessions) * [test] clean code * [test] finish add friend test and stub snode server * [test] stub calls during link device test * [test] add a flag to show some logs on stubbed snode * [test] finish link of two device test. check both pubkey matches * [test] add and use function to wrap erase+start+login+stub app * [test] add method to login as friend and closed group test&messages * Revert "[test] FIXME unsafe eval needed for now" This reverts commit de5322fdae6cdab8e3b9bd9a52b7d172c9bc2d26. * [test] apply review * [test] fix lint * [test] fix existing test with new spectron version * [test] fix lint * [test] refactor page objects * [test] add delete account test * [test] add unlink of two device test * [test] make tiny waitForExists -> isExisting * [test] add checks of link new device buttons * upgrade fs-extra@9.0.0 * address pr review * [test] fix spell_check test Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
2020-03-25 01:42:53 +01:00
height: 100vh;
}
&__header {
display: flex;
flex-direction: row;
2020-02-12 05:50:23 +01:00
justify-content: space-between;
align-items: center;
2020-02-14 01:55:15 +01:00
height: $main-view-header-height;
padding-inline-end: 7px;
2020-08-24 06:10:40 +02:00
transition: $session-transition-duration;
}
&__title {
padding-inline-end: $session-margin-sm;
padding-inline-start: $session-margin-sm;
transition: $session-transition-duration;
flex-grow: 1;
}
&-overlay {
background: var(--color-left-pane-overlay-background);
display: flex;
flex-direction: column;
2020-07-14 05:12:07 +02:00
flex-grow: 1;
align-items: center;
2020-05-26 05:30:40 +02:00
overflow-y: auto;
overflow-x: hidden;
2020-07-14 05:12:07 +02:00
.session-icon .exit {
padding: 13px;
}
.exit {
margin-top: 10px;
margin-inline-start: 13px;
align-self: flex-start;
}
.session-search-input {
margin: 10px $session-compose-margin 0 $session-compose-margin;
width: -webkit-fill-available;
}
.session-id-editable {
2020-07-14 05:12:07 +02:00
width: 90%;
textarea::-webkit-inner-spin-button {
margin: 0px 20px;
width: -webkit-fill-available;
flex-shrink: 0;
}
}
.session-id-editable-disabled {
border: none;
}
.session-button {
width: fit-content;
2020-01-31 03:47:29 +01:00
margin-top: 1rem;
margin-bottom: 3rem;
flex-shrink: 0;
}
}
}
2020-11-11 00:01:17 +01:00
.conversation.placeholder {
margin: auto;
.container {
display: flex;
height: 100%;
}
2020-08-25 07:57:37 +02:00
}
.session-full-logo {
2020-08-25 07:57:37 +02:00
display: flex;
flex-direction: column;
align-items: center;
margin: auto;
.session-brand-logo {
height: 180px;
2021-04-22 10:03:58 +02:00
filter: brightness(0) saturate(100%) invert(75%) sepia(84%) saturate(3272%) hue-rotate(103deg)
brightness(106%) contrast(103%);
2020-08-25 07:57:37 +02:00
}
.session-text-logo {
margin-top: 10px;
width: 250px;
filter: var(--filter-session-text);
2020-08-25 07:57:37 +02:00
transition: 0s;
.path {
fill: red;
}
2020-08-25 07:57:37 +02:00
}
}