Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize tooling #151

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["es2015", "stage-0"]
"presets": ["@babel/preset-env"]
}
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

86 changes: 56 additions & 30 deletions dist/notie.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,57 @@
-ms-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5); }
@media screen and (max-width: 900px) {
.notie-container {
font-size: 1.4rem; } }
@media screen and (max-width: 750px) {
.notie-container {
font-size: 1.2rem; } }
@media screen and (max-width: 400px) {
.notie-container {
font-size: 1rem; } }
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 900px) {
.notie-container {
font-size: 1.4rem;
}
}
@media screen and (max-width: 750px) {
.notie-container {
font-size: 1.2rem;
}
}
@media screen and (max-width: 400px) {
.notie-container {
font-size: 1rem;
}
}

.notie-background-success {
background-color: #57BF57; }
background-color: #57BF57;
}

.notie-background-warning {
background-color: #D6A14D; }
background-color: #D6A14D;
}

.notie-background-error {
background-color: #E1715B; }
background-color: #E1715B;
}

.notie-background-info {
background-color: #4D82D6; }
background-color: #4D82D6;
}

.notie-background-neutral {
background-color: #A0A0A0; }
background-color: #A0A0A0;
}

.notie-background-overlay {
background-color: #FFFFFF; }
background-color: #FFFFFF;
}

.notie-textbox {
color: #FFFFFF;
padding: 20px; }
padding: 20px;
}

.notie-textbox-inner {
margin: 0 auto;
max-width: 900px; }
max-width: 900px;
}

.notie-overlay {
height: 100%;
Expand All @@ -55,29 +70,35 @@
position: fixed;
top: 0;
width: 100%;
z-index: 2147483646; }
z-index: 2147483646;
}

.notie-button {
color: #FFFFFF;
padding: 10px;
cursor: pointer; }
cursor: pointer;
}

.notie-element {
color: #FFFFFF;
padding: 10px; }
padding: 10px;
}

.notie-element-half {
display: inline-block;
width: 50%;
box-sizing: border-box; }
box-sizing: border-box;
}

.notie-element-third {
display: inline-block;
width: 33.3333%;
box-sizing: border-box; }
box-sizing: border-box;
}

.notie-alert {
cursor: pointer; }
cursor: pointer;
}

.notie-input-field {
background-color: #FFFFFF;
Expand All @@ -88,11 +109,13 @@
padding: 10px;
text-align: center;
width: 100%;
box-sizing: border-box; }
box-sizing: border-box;
}

.notie-select-choice-repeated {
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
box-sizing: border-box; }
box-sizing: border-box;
}

.notie-date-selector-inner {
margin: 0 auto;
Expand All @@ -101,9 +124,12 @@
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none; }
.notie-date-selector-inner [contenteditable], .notie-date-selector-inner [contenteditable]:focus {
outline: 0px solid transparent; }
user-select: none;
}
.notie-date-selector-inner [contenteditable], .notie-date-selector-inner [contenteditable]:focus {
outline: 0px solid transparent;
}

.notie-date-selector-up {
transform: rotate(180deg); }
transform: rotate(180deg);
}
Loading