Popup design
This commit is contained in:
37
goodies/chrome-extension/popup/css/background.css
Normal file
37
goodies/chrome-extension/popup/css/background.css
Normal file
@@ -0,0 +1,37 @@
|
||||
body {
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
margin: 0 !important;
|
||||
}
|
||||
body .bgmask {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
z-index: -8;
|
||||
background-image: linear-gradient(#0000 50%, #04254e);
|
||||
}
|
||||
|
||||
body .bggatter {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
z-index: -9;
|
||||
-webkit-mask-image: url("../image/grid.png");
|
||||
background-color: #5954a4;
|
||||
}
|
||||
|
||||
body .bggatter__wrapper {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
overflow: hidden;
|
||||
z-index: -9;
|
||||
}
|
||||
|
||||
body .bgdrop {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
z-index: -10;
|
||||
background-color: #04254e;
|
||||
}
|
28
goodies/chrome-extension/popup/css/button.css
Normal file
28
goodies/chrome-extension/popup/css/button.css
Normal file
@@ -0,0 +1,28 @@
|
||||
button {
|
||||
padding: 0.5em 2em;
|
||||
color: #04254e;
|
||||
font-size: 14pt;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
color 0.15s ease,
|
||||
transform 0.15s ease;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
/*background-color: #5954a4;*/
|
||||
color: #fff;
|
||||
animation: color-cycle;
|
||||
animation-duration: 1s;
|
||||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
@keyframes color-cycle {
|
||||
0% {background-color: #ff6666; transform: scale(1.075);}
|
||||
16.67% {background-color: #c966ff;}
|
||||
33.33% {background-color: #6678ff;}
|
||||
50% {background-color: #66edff; transform: scale(1.15);}
|
||||
66.66% {background-color: #66ff70;}
|
||||
83.33% {background-color: #fcff66;}
|
||||
100% {background-color: #ff6666; transform: scale(1.075);}
|
||||
}
|
1
goodies/chrome-extension/popup/css/font/include.css
Normal file
1
goodies/chrome-extension/popup/css/font/include.css
Normal file
@@ -0,0 +1 @@
|
||||
@import "zilla-slab.css"
|
49
goodies/chrome-extension/popup/css/font/zilla-slab.css
Normal file
49
goodies/chrome-extension/popup/css/font/zilla-slab.css
Normal file
@@ -0,0 +1,49 @@
|
||||
@font-face {
|
||||
font-family: "ZillaSlab";
|
||||
src: url("../../font/zilla-slab/ZillaSlab-Regular.ttf") format('truetype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "ZillaSlab";
|
||||
src: url("../../font/zilla-slab/ZillaSlab-Italic.ttf") format('truetype');
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "ZillaSlab";
|
||||
src: url("../../font/zilla-slab/ZillaSlab-Bold.ttf") format('truetype');
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "ZillaSlab";
|
||||
src: url("../../font/zilla-slab/ZillaSlab-BoldItalic.ttf") format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "ZillaSlab";
|
||||
src: url("../../font/zilla-slab/ZillaSlab-Light.ttf") format('truetype');
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "ZillaSlab";
|
||||
src: url("../../font/zilla-slab/ZillaSlab-Light.ttf") format('truetype');
|
||||
font-weight: lighter;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "ZillaSlab";
|
||||
src: url("../../font/zilla-slab/ZillaSlab-Medium.ttf") format('truetype');
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "ZillaSlab";
|
||||
src: url("../../font/zilla-slab/ZillaSlab-Medium.ttf") format('truetype');
|
||||
font-weight: 500;
|
||||
font-style: italic;
|
||||
}
|
14
goodies/chrome-extension/popup/css/form.css
Normal file
14
goodies/chrome-extension/popup/css/form.css
Normal file
@@ -0,0 +1,14 @@
|
||||
label {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
input {
|
||||
border-radius: 5px;
|
||||
height: 25pt;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea {
|
||||
color: #04254e;
|
||||
font-size: 14pt;
|
||||
}
|
23
goodies/chrome-extension/popup/css/modular.css
Normal file
23
goodies/chrome-extension/popup/css/modular.css
Normal file
@@ -0,0 +1,23 @@
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.pt-1 {
|
||||
padding-top: 1em;
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.flex-col {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.justify-content-center {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.align-items-center {
|
||||
align-items: center;
|
||||
}
|
15
goodies/chrome-extension/popup/css/typography.css
Normal file
15
goodies/chrome-extension/popup/css/typography.css
Normal file
@@ -0,0 +1,15 @@
|
||||
* {
|
||||
font-family: 'ZillaSlab' !important;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
p,
|
||||
a,
|
||||
label {
|
||||
font-size: 14pt;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
line-height: 1em;
|
||||
}
|
Reference in New Issue
Block a user