mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
Improve styling
This commit is contained in:
parent
c8a6d109ce
commit
144d647540
@ -15,6 +15,10 @@ export default class QRCodeView extends Component {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.qr-code img {
|
||||
width: 150px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
`
|
||||
|
||||
create_template ({ template }) {
|
||||
|
@ -27,19 +27,20 @@ export default class StepHeading extends Component {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
border-radius: 50%;
|
||||
background-color: #3e5362;
|
||||
color: #FFFFFF;
|
||||
font-size: 20px;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.text {
|
||||
margin-left: 20px;
|
||||
font-size: 30px;
|
||||
margin-left: 10px;
|
||||
font-size: 18px;
|
||||
color: hsl(220, 25%, 31%);
|
||||
font-weight: 500;
|
||||
}
|
||||
`
|
||||
|
||||
|
@ -9,6 +9,7 @@ export default class StepView extends Component {
|
||||
|
||||
static CSS = `
|
||||
#wrapper { display: none }
|
||||
* { -webkit-font-smoothing: antialiased;}
|
||||
`;
|
||||
|
||||
create_template ({ template }) {
|
||||
|
@ -202,7 +202,7 @@ const UIWindow2FASetup = async function UIWindow2FASetup () {
|
||||
}
|
||||
},
|
||||
|
||||
title: 'Instant Login!',
|
||||
title: '2FA Setup',
|
||||
app: 'instant-login',
|
||||
single_instance: true,
|
||||
icon: null,
|
||||
|
@ -28,7 +28,7 @@ async function UIWindowDownloadDirProg(options){
|
||||
h += `<p style="text-align:left; padding-left:20px; padding-right:20px; overflow:hidden; width: 310px; text-overflow: ellipsis; white-space: nowrap; float:left; font-size:14px;" class="dir-dl-status">${options.defaultText ?? i18n('preparing')}</p>`;
|
||||
|
||||
const el_window = await UIWindow({
|
||||
title: 'Instant Login!',
|
||||
title: 'Download Directory Progress',
|
||||
app: 'instant-login',
|
||||
single_instance: true,
|
||||
icon: null,
|
||||
|
@ -35,7 +35,7 @@ async function UIWindowLoginInProgress(options){
|
||||
h += `</div>`;
|
||||
|
||||
const el_window = await UIWindow({
|
||||
title: 'Instant Login!',
|
||||
title: 'Authenticating...',
|
||||
app: 'change-passowrd',
|
||||
single_instance: true,
|
||||
icon: null,
|
||||
|
@ -36,7 +36,7 @@ async function UIWindowQR(options){
|
||||
|
||||
let h = '';
|
||||
// close button containing the multiplication sign
|
||||
// h += `<div class="qr-code-window-close-btn generic-close-window-button"> × </div>`;
|
||||
h += `<div class="qr-code-window-close-btn generic-close-window-button"> × </div>`;
|
||||
h += `<div class="otp-qr-code">`;
|
||||
h += `<h1 style="text-align: center; font-size: 16px; padding: 10px; font-weight: 400; margin: -10px 10px 20px 10px; -webkit-font-smoothing: antialiased; color: #5f626d;">${
|
||||
i18n(options.message_i18n_key || 'scan_qr_generic')
|
||||
|
Loading…
Reference in New Issue
Block a user