-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
version 1.1.0 - code only, no build yet
- Loading branch information
Showing
7 changed files
with
366 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
/* line 6, ../sass/_content.sass */ | ||
.offline-ui .offline-ui-retry:before { | ||
content: "Reconnect"; | ||
} | ||
/* line 11, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-up .offline-ui-content:before { | ||
content: "Your computer is connected to the internet."; | ||
} | ||
@media (max-width: 1024px) { | ||
/* line 11, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-up .offline-ui-content:before { | ||
content: "Your device is connected to the internet."; | ||
} | ||
} | ||
@media (max-width: 568px) { | ||
/* line 11, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-up .offline-ui-content:before { | ||
content: "Your device is connected."; | ||
} | ||
} | ||
/* line 22, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down .offline-ui-content:before { | ||
content: "Your computer lost its internet connection."; | ||
} | ||
@media (max-width: 1024px) { | ||
/* line 22, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down .offline-ui-content:before { | ||
content: "Your device lost its internet connection."; | ||
} | ||
} | ||
@media (max-width: 568px) { | ||
/* line 22, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down .offline-ui-content:before { | ||
content: "Your device isn't connected."; | ||
} | ||
} | ||
/* line 33, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-connecting .offline-ui-content:before, .offline-ui.offline-ui-down.offline-ui-connecting-2s .offline-ui-content:before { | ||
content: "Attempting to reconnect..."; | ||
} | ||
/* line 42, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="second"]:before { | ||
content: "Connection lost. Reconnecting in " attr(data-retry-in-value) " seconds..."; | ||
} | ||
@media (max-width: 568px) { | ||
/* line 42, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="second"]:before { | ||
content: "Reconnecting in " attr(data-retry-in-value) "s..."; | ||
} | ||
} | ||
/* line 50, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="second"][data-retry-in-value="1"]:before { | ||
content: "Connection lost. Reconnecting in " attr(data-retry-in-value) " second..."; | ||
} | ||
@media (max-width: 568px) { | ||
/* line 50, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="second"][data-retry-in-value="1"]:before { | ||
content: "Reconnecting in " attr(data-retry-in-value) "s..."; | ||
} | ||
} | ||
/* line 58, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="minute"]:before { | ||
content: "Connection lost. Reconnecting in " attr(data-retry-in-value) " minutes..."; | ||
} | ||
@media (max-width: 568px) { | ||
/* line 58, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="minute"]:before { | ||
content: "Reconnecting in " attr(data-retry-in-value) "m..."; | ||
} | ||
} | ||
/* line 66, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="minute"][data-retry-in-value="1"]:before { | ||
content: "Connection lost. Reconnecting in " attr(data-retry-in-value) " minute..."; | ||
} | ||
@media (max-width: 568px) { | ||
/* line 66, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="minute"][data-retry-in-value="1"]:before { | ||
content: "Reconnecting in " attr(data-retry-in-value) "m..."; | ||
} | ||
} | ||
/* line 74, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="hour"]:before { | ||
content: "Connection lost. Reconnecting in " attr(data-retry-in-value) " hours..."; | ||
} | ||
@media (max-width: 568px) { | ||
/* line 74, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="hour"]:before { | ||
content: "Reconnecting in " attr(data-retry-in-value) "h..."; | ||
} | ||
} | ||
/* line 82, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="hour"][data-retry-in-value="1"]:before { | ||
content: "Connection lost. Reconnecting in " attr(data-retry-in-value) " hour..."; | ||
} | ||
@media (max-width: 568px) { | ||
/* line 82, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-waiting .offline-ui-content[data-retry-in-unit="hour"][data-retry-in-value="1"]:before { | ||
content: "Reconnecting in " attr(data-retry-in-value) "h..."; | ||
} | ||
} | ||
/* line 90, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-reconnect-failed-2s.offline-ui-waiting .offline-ui-retry { | ||
display: none; | ||
} | ||
/* line 93, ../sass/_content.sass */ | ||
.offline-ui.offline-ui-down.offline-ui-reconnect-failed-2s .offline-ui-content:before { | ||
content: "Connection attempt failed."; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
/* line 3, ../sass/_offline-theme-base-indicator.sass */ | ||
.offline-ui, .offline-ui *, .offline-ui:before, .offline-ui:after, .offline-ui *:before, .offline-ui *:after { | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
|
||
/* line 6, ../sass/_offline-theme-base-indicator.sass */ | ||
.offline-ui { | ||
display: none; | ||
position: fixed; | ||
background: white; | ||
z-index: 2000; | ||
display: inline-block; | ||
} | ||
/* line 13, ../sass/_offline-theme-base-indicator.sass */ | ||
.offline-ui .offline-ui-retry { | ||
display: none; | ||
} | ||
/* line 16, ../sass/_offline-theme-base-indicator.sass */ | ||
.offline-ui.offline-ui-up { | ||
display: block; | ||
} | ||
/* line 19, ../sass/_offline-theme-base-indicator.sass */ | ||
.offline-ui.offline-ui-down { | ||
display: block; | ||
} | ||
|
||
/* line 8, ../sass/offline-theme-dark-indicator.sass */ | ||
.offline-ui { | ||
-webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); | ||
-moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); | ||
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); | ||
-webkit-border-radius: 4px 4px 0 0; | ||
-moz-border-radius: 4px 4px 0 0; | ||
-ms-border-radius: 4px 4px 0 0; | ||
-o-border-radius: 4px 4px 0 0; | ||
border-radius: 4px 4px 0 0; | ||
font-family: "Helvetica Neue", sans-serif; | ||
font-weight: 300; | ||
padding: 1em; | ||
background: black; | ||
color: #cccccc; | ||
bottom: 0; | ||
left: 20px; | ||
} | ||
/* line 19, ../sass/offline-theme-dark-indicator.sass */ | ||
.offline-ui .offline-ui-content { | ||
padding-left: 1.5em; | ||
} | ||
/* line 22, ../sass/offline-theme-dark-indicator.sass */ | ||
.offline-ui .offline-ui-content:after { | ||
-webkit-border-radius: 50%; | ||
-moz-border-radius: 50%; | ||
-ms-border-radius: 50%; | ||
-o-border-radius: 50%; | ||
border-radius: 50%; | ||
content: " "; | ||
display: block; | ||
position: absolute; | ||
top: 0; | ||
bottom: 0; | ||
left: 1em; | ||
margin: auto; | ||
height: 0.8em; | ||
width: 0.8em; | ||
} | ||
/* line 36, ../sass/offline-theme-dark-indicator.sass */ | ||
.offline-ui.offline-ui-up .offline-ui-content:after { | ||
background: #80d580; | ||
} | ||
/* line 41, ../sass/offline-theme-dark-indicator.sass */ | ||
.offline-ui.offline-ui-down .offline-ui-content:after { | ||
background: #e24949; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.