sitekey form mobile styling

This commit is contained in:
realaravinth 2021-05-26 12:36:47 +05:30
parent 32e46586e4
commit 3d8cd9daed
No known key found for this signature in database
GPG key ID: AD9F0F08E855ED88
9 changed files with 82 additions and 1 deletions

2
Cross.toml Normal file
View file

@ -0,0 +1,2 @@
[target.aarch64-unknown-linux-musl]
image = "realaravinth/cross:aarch64-unknown-linux-musl-postgres"

View file

@ -18,6 +18,8 @@
import './mobile.scss';
import './auth/css/mobile.scss';
import './components/details-footer/mobile.scss';
import './panel/css/mobile.scss';
import './panel/header/taskbar/mobile.scss';
import './panel/navbar/mobile.scss';
import './panel/help-banner/mobile.scss';
import './panel/sitekey/add/css/mobile.scss';

View file

@ -0,0 +1,21 @@
/*
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.inner-container {
max-width: 90%;
}

View file

@ -22,7 +22,7 @@
/>
</label>
<label class="sitekey-form__level-label--hidden" for="add">
Add level
<span class="sitekey-form__add-level-btn-spacer">Add level</span>
<input
class="sitekey-form__level-add-level-button"
type="button"

View file

@ -85,6 +85,11 @@
flex: 2;
}
.sitekey-form__add-level-btn-spacer {
color: $white;
}
.sitekey-form__level-add-level-button {
@include violet-button;
}

View file

@ -0,0 +1,40 @@
/*
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
.sitekey__level-container {
flex-direction: column;
}
.sitekey-form__level-input {
width: 100%;
}
.sitekey-form__level-label--hidden {
width: 100%;
}
.sitekey-form__level-add-level-button {
margin: auto;
}
.sitekey-form__add-level-btn-spacer {
display: none;
}
.sitekey-form__level-label {
width: 100%;
}

View file

@ -0,0 +1,6 @@
FROM rustembedded/cross:aarch64-unknown-linux-musl
RUN dpkg --add-architecture arm64 && \
apt-get update && \
DEBIAN_FRONTEND=noninteractive \
apt-get install --assume-yes postgresql

View file

@ -0,0 +1 @@
RUN dpkg --add-architecture arm64 && apt-get update && apt-get install --assume-yes postgresql:arm64 postgresql-devel

View file

@ -0,0 +1,4 @@
FROM rustembedded/cross:x86_64-unknown-linux-musl
RUN dpkg --add-architecture arm64 && \
apt-get update &&
apt-get install --assume-yes postgresql-13:x86_64