webpack add and config, src
This commit is contained in:
parent
be6d9259d0
commit
12049ab2ce
25 changed files with 219 additions and 5 deletions
64
src/css/fontello.css
vendored
Normal file
64
src/css/fontello.css
vendored
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.eot?35911474');
|
||||
src: url('../font/fontello.eot?35911474#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff2?35911474') format('woff2'),
|
||||
url('../font/fontello.woff?35911474') format('woff'),
|
||||
url('../font/fontello.ttf?35911474') format('truetype'),
|
||||
url('../font/fontello.svg?35911474#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
||||
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
||||
/*
|
||||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.svg?35911474#fontello') format('svg');
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
[class^="icon-"]:before, [class*=" icon-"]:before {
|
||||
font-family: "fontello";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: never;
|
||||
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
margin-right: .2em;
|
||||
text-align: center;
|
||||
/* opacity: .8; */
|
||||
|
||||
/* For safety - reset parent styles, that can break glyph codes*/
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
|
||||
/* fix buttons height, for twitter bootstrap */
|
||||
line-height: 1em;
|
||||
|
||||
/* Animation center compensation - margins should be symmetric */
|
||||
/* remove if not needed */
|
||||
margin-left: .2em;
|
||||
|
||||
/* you can be more comfortable with increased icons size */
|
||||
/* font-size: 120%; */
|
||||
|
||||
/* Font smoothing. That was taken from TWBS */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
/* Uncomment for 3D effect */
|
||||
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
||||
}
|
||||
|
||||
.icon-cancel:before { content: '\e800'; } /* '' */
|
||||
.icon-cancel-circled:before { content: '\e801'; } /* '' */
|
||||
.icon-ok:before { content: '\e802'; } /* '' */
|
||||
.icon-ok-circled:before { content: '\e803'; } /* '' */
|
||||
.icon-clock:before { content: '\e804'; } /* '' */
|
||||
.icon-info-circled:before { content: '\e805'; } /* '' */
|
||||
.icon-ok-squared:before { content: '\f14a'; } /* '' */
|
||||
443
src/css/style.css
Normal file
443
src/css/style.css
Normal file
|
|
@ -0,0 +1,443 @@
|
|||
/* Font license info
|
||||
|
||||
## Font Awesome
|
||||
|
||||
Copyright (C) 2016 by Dave Gandy
|
||||
|
||||
Author: Dave Gandy
|
||||
License: SIL ()
|
||||
Homepage: http://fortawesome.github.com/Font-Awesome/
|
||||
|
||||
|
||||
## Entypo
|
||||
|
||||
Copyright (C) 2012 by Daniel Bruce
|
||||
|
||||
Author: Daniel Bruce
|
||||
License: SIL (http://scripts.sil.org/OFL)
|
||||
Homepage: http://www.entypo.com
|
||||
*/
|
||||
|
||||
:root {
|
||||
--rt-main: #1e4d6c;
|
||||
}
|
||||
|
||||
html {
|
||||
font-size: 17px;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Heebo', sans-serif;
|
||||
color: #fff;
|
||||
background-color: #050d19;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #1e4d6c;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #2e5d7c;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track,
|
||||
::-webkit-scrollbar-track-piece {
|
||||
background: url("../img/scrollbar-track.png") repeat-y !important;
|
||||
}
|
||||
|
||||
::-webkit-resizer {
|
||||
background-color: #050d19;
|
||||
color: #1e4d6c;
|
||||
}
|
||||
|
||||
#background {
|
||||
position: fixed;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url("../img/hk-background.jpg");
|
||||
background-size: auto 100%;
|
||||
background-position: center top;
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#content {
|
||||
max-width: 550px;
|
||||
margin: 0 auto;
|
||||
padding: 0 .6rem;
|
||||
position: relative;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
b {
|
||||
font-weight: 500;
|
||||
color: #aac7d4;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.7rem;
|
||||
color: #aac7d4;
|
||||
margin: 0.6rem 0;
|
||||
}
|
||||
|
||||
#h1-title {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: center;
|
||||
margin: 0.6rem 0;
|
||||
color: rgba(231, 251, 255, 0.6);
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: 'Consolas', monospace;
|
||||
font-size: 0.75rem;
|
||||
display: inline-block;
|
||||
background-color: rgba(128, 128, 128, 0.5);
|
||||
margin: 0.4rem 0;
|
||||
padding: 0.16rem 0.5rem;
|
||||
border: 1px solid rgba(231, 251, 255, 0.6);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
input {
|
||||
font-family: 'Heebo', sans-serif;
|
||||
font-size: 1rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-family: 'Consolas', monospace;
|
||||
font-size: 0.8rem;
|
||||
text-align: left;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
color: #fff;
|
||||
caret-color: #fff;
|
||||
border: 1px solid #e3ebf7;
|
||||
padding: 2px;
|
||||
margin: 2px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
overflow-wrap: normal;
|
||||
}
|
||||
|
||||
textarea:focus {
|
||||
border-color: rgba(0, 0, 0, 0);
|
||||
box-shadow: 0 0 4px 2px #fff;
|
||||
outline: 0;
|
||||
/* outline: #fff 2px solid;
|
||||
outline-offset: 1px; */
|
||||
}
|
||||
|
||||
textarea::placeholder {
|
||||
color: rgba(255, 255, 255, 0.5);
|
||||
font-size: 1rem;
|
||||
text-align: center;
|
||||
caret-color: #fff;
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
max-width: 500px;
|
||||
margin: 0.5rem 0.5rem 0.5rem 0.25rem;
|
||||
}
|
||||
|
||||
#save-area {
|
||||
width: 100%;
|
||||
height: 5.65rem;
|
||||
margin: 0.5rem 2px 0.3rem 2px;
|
||||
}
|
||||
|
||||
.buttons {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.input-buttons {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.checkboxes {
|
||||
margin-top: 0rem;
|
||||
}
|
||||
|
||||
.button {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: max-content;
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
font-family: 'Heebo', sans-serif;
|
||||
text-align: center;
|
||||
background-color: #1e4d6c;
|
||||
color: #aac7d4;
|
||||
border: 2px solid #183c55;
|
||||
padding: 0.3rem 1rem;
|
||||
margin: 0.25rem 0.5rem 0.25rem 0.25rem;
|
||||
}
|
||||
|
||||
.button:first-child {
|
||||
margin-left: 0.25rem;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: #2e5d7c;
|
||||
border-color: #2e5d7c;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.button:focus {
|
||||
outline: 2px solid #5e8dac;
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.centered {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 400px) {
|
||||
.buttons {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.input-buttons {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.centered {
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.checkboxes {
|
||||
margin-top: 0.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0.6rem;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
.horizontal-line {
|
||||
margin: 1rem 0;
|
||||
height: 1.5rem;
|
||||
width: 100%;
|
||||
background-image: url("../img/fleur-divide.png");
|
||||
background-size: auto 100%;
|
||||
background-position: center top;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.smalltext {
|
||||
font-size: 0.8rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a,
|
||||
a:active,
|
||||
a:visited {
|
||||
color: #aac7d4;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #d9f3ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.icon-cancel {
|
||||
color: #f03a17;
|
||||
}
|
||||
|
||||
.icon-ok-squared {
|
||||
color: #16c60c;
|
||||
}
|
||||
|
||||
.icon-info-circled {
|
||||
color: #479ae7;
|
||||
}
|
||||
|
||||
.flex-container {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: row;
|
||||
align-items: normal;
|
||||
justify-content: left;
|
||||
}
|
||||
|
||||
.flex-row {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.align-center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.health-mask,
|
||||
.soul-orb,
|
||||
.geo-symbol {
|
||||
width: auto;
|
||||
height: 1.48rem;
|
||||
margin: 0 0 0 0.3rem;
|
||||
}
|
||||
|
||||
.soul-orb {
|
||||
height: 1.3rem;
|
||||
}
|
||||
|
||||
.geo-symbol {
|
||||
margin-right: 0.15rem;
|
||||
}
|
||||
|
||||
.padding-left {
|
||||
padding-left: 1.4rem;
|
||||
height: 1.47rem;
|
||||
}
|
||||
|
||||
.p-left-small {
|
||||
padding-left: 0.3rem;
|
||||
height: 1.47rem;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.radio,
|
||||
.checkbox {
|
||||
position: relative;
|
||||
display: block;
|
||||
left: -40px;
|
||||
padding: 4px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.radio-label,
|
||||
.checkbox-label {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding: 0 0 0 1.8rem;
|
||||
margin: 0.25rem 1rem 0.25rem 0.5rem;
|
||||
cursor: pointer;
|
||||
font-size: 1rem;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
width: max-content;
|
||||
}
|
||||
|
||||
.checkbox-label:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.radiomark,
|
||||
.checkmark {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 22px;
|
||||
width: 22px;
|
||||
background-color: #aac7d4;
|
||||
border: 1px solid #1e4d6c;
|
||||
border: 1px solid var(--rt-main);
|
||||
}
|
||||
|
||||
.radiomark {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/* Hide the browser's default checkbox */
|
||||
.radio-label input,
|
||||
.checkbox-label input {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
height: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
/* On mouse-over change background color */
|
||||
.radio-label:hover input~.radiomark,
|
||||
.checkbox-label:hover input~.checkmark {
|
||||
background-color: #d9f3ff;
|
||||
}
|
||||
|
||||
/* When the checkbox is checked change background color */
|
||||
.radio-label input:checked~.radiomark,
|
||||
.checkbox-label input:checked~.checkmark {
|
||||
background-color: #1e4d6c;
|
||||
background-color: var(--rt-main);
|
||||
}
|
||||
|
||||
/* When the checkbox is checked change background color on hover */
|
||||
.radio-label:hover input:checked~.radiomark,
|
||||
.checkbox-label:hover input:checked~.checkmark {
|
||||
background-color: #2e5d7c;
|
||||
border-color: #2e5d7c;
|
||||
}
|
||||
|
||||
/* Create the checkmark/indicator (hidden when not checked) */
|
||||
.radiomark:after,
|
||||
.checkmark:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Show the checkmark when checked */
|
||||
.radio-label input:checked~.radiomark:after,
|
||||
.checkbox-label input:checked~.checkmark:after {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Style the checkmark/indicator */
|
||||
.checkbox-label .checkmark:after {
|
||||
left: 7px;
|
||||
top: 2px;
|
||||
width: 6px;
|
||||
height: 12px;
|
||||
border: solid #aac7d4;
|
||||
border-width: 0 2px 2px 0;
|
||||
-webkit-transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
/* Style the checkmark/indicator */
|
||||
.radio-label .radiomark:after {
|
||||
top: 7px;
|
||||
left: 7px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: #000;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue