mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
feat: styled settings background and password box
This commit is contained in:
parent
1b48997ca8
commit
a26cbdf4c7
|
@ -582,6 +582,7 @@ label {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
background-color: var(--background-secondary-color);
|
||||||
|
|
||||||
&__password-lock {
|
&__password-lock {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -598,21 +599,22 @@ label {
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
width: 600px;
|
width: 600px;
|
||||||
|
|
||||||
background: var(--color-cell-background);
|
background: var(--background-primary-color);
|
||||||
color: var(--color-text);
|
color: var(--text-primary-color);
|
||||||
|
|
||||||
border: 1px solid var(--color-darker-gray-color);
|
border: 1px solid var(--border-color);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO Theming
|
||||||
#qr svg,
|
#qr svg,
|
||||||
.qr-image svg {
|
.qr-image svg {
|
||||||
width: $session-modal-size-sm;
|
width: $session-modal-size-sm;
|
||||||
height: $session-modal-size-sm;
|
height: $session-modal-size-sm;
|
||||||
padding: var(--margins-xs);
|
padding: var(--margins-xs);
|
||||||
background-color: var(--color-white-color);
|
background-color: var(--white-color);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -84,18 +84,22 @@ const SessionInfo = () => {
|
||||||
|
|
||||||
const StyledPasswordInput = styled.input`
|
const StyledPasswordInput = styled.input`
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: var(--color-input-background);
|
background: var(--text-box-background-color);
|
||||||
color: var(--color-text);
|
color: var(--text-box-text-user-color);
|
||||||
|
|
||||||
padding: var(--margins-xs) var(--margins-md);
|
padding: var(--margins-xs) var(--margins-md);
|
||||||
margin-bottom: var(--margins-lg);
|
margin-bottom: var(--margins-lg);
|
||||||
outline: none;
|
outline: none;
|
||||||
border: none;
|
border: 1px solid var(--border-color);
|
||||||
border-radius: 2px;
|
border-radius: 7px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
letter-spacing: 5px;
|
letter-spacing: 5px;
|
||||||
font-family: var(--font-default);
|
font-family: var(--font-default);
|
||||||
|
|
||||||
|
::placeholder {
|
||||||
|
color: var(--text-box-text-control-color);
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledH3 = styled.h3`
|
const StyledH3 = styled.h3`
|
||||||
|
|
|
@ -11,7 +11,7 @@ const StyledSettingsHeader = styled.div`
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: var(--main-view-header-height);
|
height: var(--main-view-header-height);
|
||||||
background: var(--color-cell-background);
|
border-bottom: 1px solid var(--border-color);
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledHeaderTittle = styled.div`
|
const StyledHeaderTittle = styled.div`
|
||||||
|
|
|
@ -485,6 +485,7 @@ export const SessionGlobalStyles = createGlobalStyle`
|
||||||
/* TODO Theming Clarify what those transparent colors mean */
|
/* TODO Theming Clarify what those transparent colors mean */
|
||||||
|
|
||||||
/* Text Box */
|
/* Text Box */
|
||||||
|
/* Also used for inputs specifically password box input */
|
||||||
--text-box-background-color: var(--background-primary-color);
|
--text-box-background-color: var(--background-primary-color);
|
||||||
--text-box-text-control-color: ${THEMES.CLASSIC_LIGHT.COLOR1};
|
--text-box-text-control-color: ${THEMES.CLASSIC_LIGHT.COLOR1};
|
||||||
--text-box-text-user-color: var(--text-primary-color);
|
--text-box-text-user-color: var(--text-primary-color);
|
||||||
|
|
Loading…
Reference in a new issue