sitekey form mobile styling
This commit is contained in:
parent
32e46586e4
commit
3d8cd9daed
9 changed files with 82 additions and 1 deletions
2
Cross.toml
Normal file
2
Cross.toml
Normal file
|
@ -0,0 +1,2 @@
|
|||
[target.aarch64-unknown-linux-musl]
|
||||
image = "realaravinth/cross:aarch64-unknown-linux-musl-postgres"
|
|
@ -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';
|
||||
|
|
21
templates/panel/css/mobile.scss
Normal file
21
templates/panel/css/mobile.scss
Normal 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%;
|
||||
}
|
|
@ -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"
|
||||
|
|
|
@ -85,6 +85,11 @@
|
|||
flex: 2;
|
||||
}
|
||||
|
||||
|
||||
.sitekey-form__add-level-btn-spacer {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.sitekey-form__level-add-level-button {
|
||||
@include violet-button;
|
||||
}
|
||||
|
|
40
templates/panel/sitekey/add/css/mobile.scss
Normal file
40
templates/panel/sitekey/add/css/mobile.scss
Normal 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%;
|
||||
}
|
6
utils/aarch64-unknown-linux-musl-dockerfile
Normal file
6
utils/aarch64-unknown-linux-musl-dockerfile
Normal 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
|
1
utils/x86_64-pc-windows-gnu-dockerfile
Normal file
1
utils/x86_64-pc-windows-gnu-dockerfile
Normal file
|
@ -0,0 +1 @@
|
|||
RUN dpkg --add-architecture arm64 && apt-get update && apt-get install --assume-yes postgresql:arm64 postgresql-devel
|
4
utils/x86_64-unknown-linux-musl-dockerfile
Normal file
4
utils/x86_64-unknown-linux-musl-dockerfile
Normal 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
|
Loading…
Reference in a new issue