mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
mobile css setup
This commit is contained in:
29
templates/panel/header/taskbar/mobile.scss
Normal file
29
templates/panel/header/taskbar/mobile.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
.taskbar__action:first-child {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.taskbar__spacer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.taskbar__icon {
|
||||
width: 1rem;
|
||||
margin: auto 5px;
|
||||
}
|
||||
@@ -1,14 +1,11 @@
|
||||
<ul class="help-text">
|
||||
<ol class="help-text">
|
||||
<li class="help-text__instructions">
|
||||
<span class="help-text__serial-num">1</span>
|
||||
Add sitekey
|
||||
</li>
|
||||
<li class="help-text__instructions">
|
||||
<span class="help-text__serial-num">2</span>
|
||||
Add client-side code snippets in places that you want to protext
|
||||
</li>
|
||||
<li class="help-text__instructions">
|
||||
<span class="help-text__serial-num">3</span>
|
||||
Add servers-side verification logic
|
||||
</li>
|
||||
</ul>
|
||||
</ol>
|
||||
|
||||
@@ -29,8 +29,7 @@
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.help-text__serial-num {
|
||||
display: inline-flex;
|
||||
li.help-text__instructions::marker {
|
||||
background-color: $violet;
|
||||
color: $light-text;
|
||||
width: 30px;
|
||||
@@ -41,8 +40,6 @@
|
||||
}
|
||||
|
||||
.help-text__instructions {
|
||||
display: inline-block;
|
||||
list-style: none;
|
||||
font-size: 19px;
|
||||
font-weight: 500;
|
||||
padding: 10px;
|
||||
|
||||
23
templates/panel/help-banner/mobile.scss
Normal file
23
templates/panel/help-banner/mobile.scss
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
@import '../../reset';
|
||||
@import '../../vars';
|
||||
|
||||
.help-text {
|
||||
flex-direction: column;
|
||||
}
|
||||
24
templates/panel/navbar/mobile.scss
Normal file
24
templates/panel/navbar/mobile.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
.secondary-menu {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.secondary-menu__lsit {
|
||||
position: sticky;
|
||||
}
|
||||
Reference in New Issue
Block a user