mirror of
https://github.com/Damillora/Shian.git
synced 2024-11-23 09:57:33 +00:00
Decouple backgrounds from Shian
This commit is contained in:
parent
cde2df5f7f
commit
47b8fa80a6
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) 2019 Damillora
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@damillora/shian",
|
"name": "@damillora/shian",
|
||||||
"description": "Common component library for nanao.moe",
|
"description": "Common component library for nanao.moe",
|
||||||
"version": "0.2.0",
|
"version": "0.2.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": {
|
"author": {
|
||||||
"email": "developer@damillora.com"
|
"email": "developer@damillora.com"
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
@import './utilities/responsive';
|
@import './utilities/responsive';
|
||||||
@import './utilities/transition';
|
@import './utilities/transition';
|
||||||
@import './utilities/spacing';
|
@import './utilities/spacing';
|
||||||
@import './utilities/backgrounds/283-yuika';
|
|
||||||
@import './utilities/backgrounds/765-yuriko';
|
|
||||||
|
|
||||||
@import './common/theme';
|
@import './common/theme';
|
||||||
@import './common/base';
|
@import './common/base';
|
||||||
@ -16,4 +14,4 @@
|
|||||||
@import './components/projectitem';
|
@import './components/projectitem';
|
||||||
@import './components/gameitem';
|
@import './components/gameitem';
|
||||||
@import './components/copyarea';
|
@import './components/copyarea';
|
||||||
@import './components/floatingyuriko';
|
@import './components/floatingyuriko';
|
||||||
|
@ -17,13 +17,9 @@
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@include transition;
|
@include transition;
|
||||||
@include bg-283-yuika;
|
|
||||||
|
|
||||||
opacity: 0%;
|
opacity: 0%;
|
||||||
top: -23vh;
|
top: -23vh;
|
||||||
&--yuriko {
|
|
||||||
@include bg-765-yuriko;
|
|
||||||
}
|
|
||||||
&--enabled {
|
&--enabled {
|
||||||
opacity: 100%;
|
opacity: 100%;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -11,10 +11,6 @@
|
|||||||
&__background {
|
&__background {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@include bg-283-yuika;
|
|
||||||
&--yuriko {
|
|
||||||
@include bg-765-yuriko;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
&__overlay {
|
&__overlay {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
Loading…
Reference in New Issue
Block a user