initial commit

This commit is contained in:
air66
2019-07-24 18:16:32 +01:00
commit 5efebf4ded
8591 changed files with 899103 additions and 0 deletions

103
app/js/script.js Normal file
View File

@@ -0,0 +1,103 @@
$( document ).ready(function() {
// Get the theme URL
var url;
if ($('meta[name=pluginURL]').attr("content")) {
url = $('meta[name=pluginURL]').attr("content");
} else {
// If for some reason we can't find the URL attribute
url = "/user/plugins/air66Theme";
}
// Detect login page
if ($("body").hasClass("login")) {
$("#login").prepend('<img class="air66-logo" src="' + url + '/dist/images/a66-logo.svg" alt="Air 66 Design Ltd Logo">');
}
// Remove the YOURLS header
$("header[role=banner]").hide();
$("header[role=banner]").remove();
// remove help link in nav
$('#admin_menu_help_link').remove();
$('#admin_menu').append('<li class="admin_menu_toplevel"><a href="https://air66design.com" target="_blank">Contact Air 66 Design</a></li>');
// Add New A66 header
$("body").prepend($('<header class="site-header">').load(url + '/dist/html/header.php', function() {
// run add header content function
a66_add_header_content();
$('body').prepend('<div class="nav-overlay"></div>');
// add air 66 design link to menu
// Nav icon toggle
$('#menu-icon').click(function(){
$(this).toggleClass('open');
$('nav, .nav-overlay').toggleClass('nav-open');
});
if ($("body").hasClass("index")) {
// Add content padding to suit new URL section
//$("#wrap").css("padding-top", "200px");
// Hide YOURLS new URL section
$("#new_url").hide();
// Grab the nonce id
var nonce = $("#nonce-add").val();
// Remove the YOURLS new URL Section
$("#new_url").remove();
$(".index").prepend($('<div class="form-wrap">').load(url + '/dist/html/form.php', function () {
$("#nonce-add").val(nonce);
}));
} else {
//$("#wrap").css("padding-top", "70px");
}
}));
// Update favicon
$('link[rel="shortcut icon"]').attr('href', url + "/dist/images/favicon.ico")
// wrap index table in table-responsive
$('#main_table').wrap("<div class='table-responsive'></div>");
$( "#main_table" ).addClass( "table" );
// handle p tags
$("p").each(function (index) {
if (/Display/.test($(this).text()) || /Overall/.test($(this).text())) {
// Move info on index page to the bottom
$("main").append("<p>" + $(this).html() + "</p>");
$(this).remove();
} else if (/Powered by/.test($(this).text())) {
// Update footer
var content = $(this).html();
var i = 77
var updated_content = "Running on" + content.slice(13, i) + '& <a href="https://air66design.com/" title="Air 66 Design Ltd" target="_blank">Air 66 Design Ltd</a>' + content.slice(i-1)
$(this).html(updated_content);
}
});
// wrap div around data tabs so can scroll on small screens
$('#stat_tab_stats, #stat_tab_location, #stat_tab_sources, #stat_tab_share').wrapAll('<div class="tab-scroll"></div>');
// remove help link in nav
$('#admin_menu_help_link').remove();
// add header function
function a66_add_header_content() {
$('.site-header').append('<div class="air66-logo-wrap"><a class="air66-logo-link" href="https://air66design.com" target="_blank"><img class="air66-logo" src="' + url + '/dist/images/a66-logo-wh.svg" alt="Air 66 Design Ltd Logo"></a></div>');
}
});// end document.ready

45
app/scss/_bootstrap.scss Normal file
View File

@@ -0,0 +1,45 @@
/*!
* Bootstrap v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors
* Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
@import "../../node_modules/bootstrap/scss/functions";
@import "../../node_modules/bootstrap/scss/variables";
@import "../../node_modules/bootstrap/scss/mixins";
@import "../../node_modules/bootstrap/scss/root";
@import "../../node_modules/bootstrap/scss/reboot";
//@import "../../node_modules/bootstrap/scss/type";
@import "../../node_modules/bootstrap/scss/images";
@import "../../node_modules/bootstrap/scss/code";
@import "../../node_modules/bootstrap/scss/grid";
@import "../../node_modules/bootstrap/scss/tables";
@import "../../node_modules/bootstrap/scss/forms";
@import "../../node_modules/bootstrap/scss/buttons";
@import "../../node_modules/bootstrap/scss/transitions";
@import "../../node_modules/bootstrap/scss/dropdown";
@import "../../node_modules/bootstrap/scss/button-group";
@import "../../node_modules/bootstrap/scss/input-group";
@import "../../node_modules/bootstrap/scss/custom-forms";
@import "../../node_modules/bootstrap/scss/nav";
@import "../../node_modules/bootstrap/scss/navbar";
@import "../../node_modules/bootstrap/scss/card";
@import "../../node_modules/bootstrap/scss/breadcrumb";
@import "../../node_modules/bootstrap/scss/pagination";
@import "../../node_modules/bootstrap/scss/badge";
@import "../../node_modules/bootstrap/scss/jumbotron";
@import "../../node_modules/bootstrap/scss/alert";
@import "../../node_modules/bootstrap/scss/progress";
@import "../../node_modules/bootstrap/scss/media";
@import "../../node_modules/bootstrap/scss/list-group";
@import "../../node_modules/bootstrap/scss/close";
@import "../../node_modules/bootstrap/scss/toasts";
@import "../../node_modules/bootstrap/scss/modal";
@import "../../node_modules/bootstrap/scss/tooltip";
@import "../../node_modules/bootstrap/scss/popover";
@import "../../node_modules/bootstrap/scss/carousel";
@import "../../node_modules/bootstrap/scss/spinners";
@import "../../node_modules/bootstrap/scss/utilities";
@import "../../node_modules/bootstrap/scss/print";

8039
app/scss/style.css Normal file

File diff suppressed because it is too large Load Diff

768
app/scss/style.scss Normal file
View File

@@ -0,0 +1,768 @@
@import "bootstrap";
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
// vars
$primary: #272b35;
$white: #ffffff;
$secondary: #2cd1dd;
$tertiary: #efefef;
$text: #929292;
$footer: darken( $primary, 10% );
// Set up our basic colour scheme
$lightest: #e8e8e8;
$light: white;
$default: #f7f7f7;
$darker: #efefef;
$darkest: #161616;
// Accents
$accent: $secondary;
// $accent_secondary: black;
// Text colours
$title: $primary;
/* GENRAL STYLES */
body {
background-color: $tertiary;
color: $text;
//font-size: 1rem !important;
padding: 0;
* {
font-family: 'Open Sans', sans-serif !important;
}
}
h3 {
margin-top: 15px;
margin-bottom: 15px;
}
p {
margin-top: 1rem;
}
//
// Notification Bar
//
.jquery-notify-bar {
color: #fff;
text-shadow: none;
border: none;
opacity: 1;
box-shadow: none;
font-size: 1rem;
font-weight: normal;
position: static;
margin-top: 126px;
//margin-bottom: -80px;
padding: 10px;
a, a:link, a:active, a:visited {
color: white;
}
}
.jquery-notify-bar.error,
.jquery-notify-bar.fail {
background-color: #FF9800;
color: white;
}
.jquery-notify-bar.success {
color: white;
background-color: #4CAF50;
}
input {
outline: none !important;
padding: 10px;
background: $white !important;
max-width: 100% !important;
}
input.text {
width: 270px !important;
border: 1px solid transparent !important;
}
input.button {
font-weight: normal;
color: $white;
padding: 10px 25px;
margin-top: 15px !important;
background: $secondary !important;
border: none;
text-transform: uppercase;
border-radius: 0;
}
input.button:hover {
background: darken($secondary, 10%) !important;
border: none;
}
select {
width: 150px;
padding: 5px 35px 5px 10px;
// font-size: 0.9em;
border: none;
border-radius: 0;
height: 26px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
color: $text;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAeCAYAAADZ7LXbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJh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1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAKRJREFUeNrs1TEKwkAQheEvIoI2nsk7qFdIq1hoJ3gCC5sUVpY23sDKXnvrYOUBbGITG0kQjQriPlgYhmF/3ryFjbIs82nVfEEBEiAB8k+Q+q1IkqSDNVq4lMy3scIkjuP0FSdbjNHMLys6OwyQVlnXEsOS2QP6OL8jkzlmd70jus86eBT8FIu8PqGXg6oFX6ARGthgX+V1ReFnDJAACZAfhFwHAJI7HF2lZGQaAAAAAElFTkSuQmCC) 96% / 15% no-repeat $white;
margin: 5px 10px;
transition: 0.4s all;
outline: none;
}
select:hover {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T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAKRJREFUeNrs1TEKwkAQheEvIoI2nsk7qFdIq1hoJ3gCC5sUVpY23sDKXnvrYOUBbGITG0kQjQriPlgYhmF/3ryFjbIs82nVfEEBEiAB8k+Q+q1IkqSDNVq4lMy3scIkjuP0FSdbjNHMLys6OwyQVlnXEsOS2QP6OL8jkzlmd70jus86eBT8FIu8PqGXg6oFX6ARGthgX+V1ReFnDJAACZAfhFwHAJI7HF2lZGQaAAAAAElFTkSuQmCC) 96% / 15% no-repeat $white;
}
//
// Login page
//
.login {
.site-header {
display: none;
}
#wrap {
margin: auto;
min-height: calc(100vh - 100px);
}
label {
font-size: 1em;
font-weight: 600;
}
img {
width: 150px;
margin: 30px auto;
display: flex;
}
input.text {
width: 100% !important;
}
input.button {
font-weight: normal;
padding: 10px 25px;
margin-top: 15px !important;
background: $secondary !important;
}
input.button:hover {
background: darken($secondary, 10%) !important;
}
.error {
padding: 10px;
background: $primary;
color: white;
position: fixed;
top: 0;
left: 0;
width: 100%;
margin: 0;
text-align: center;
}
}
/* HEADER */
.site-header {
background: $primary;
z-index: 9;
position: fixed;
top: 0;
left: 0;
width: 100%;
display: grid;
z-index: 11;
grid-template-columns: auto 1fr;
align-items: center;
padding-top: 5px;
padding-bottom: 5px;
padding-left: 20px;
padding-right: 20px;
height: 60px;
.air66-logo-wrap {
text-align: right;
}
.air66-logo {
width: 100px;
max-width: 100%;
}
}
.form-wrap {
position: fixed;
top: 60px;
left: 0;
width: 100%;
z-index: 8;
background: lighten($primary, 10%);
padding: 5px 20px;
#new_url_form {
display: flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
label {
margin: 5px 10px 5px 0;
color: white;
}
input {
vertical-align: middle;
margin: 5px 10px 5px 0;
border-radius: 0;
//width: 250px;
}
#add-button {
padding: 10px 20px;
background-color: $secondary !important;
text-transform: uppercase;
outline: none !important;
border: none;
color: white;
border-radius: 0;
cursor: pointer;
&:hover, &:active, &:focus {
background-color: darken($secondary, 10%);
}
}
}
.button {
margin-top: 0 !important;
}
}
/* MENU ICON */
#menu-icon {
width: 34px; // 60px
height: 27px; // 40px
position: relative;
//margin: 50px auto;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
cursor: pointer;
}
#menu-icon span {
display: block;
position: absolute;
height: 5px;
width: 100%;
background: $white;
border-radius: 9px;
opacity: 1;
left: 0;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .25s ease-in-out;
-moz-transition: .25s ease-in-out;
-o-transition: .25s ease-in-out;
transition: .25s ease-in-out;
}
#menu-icon span:nth-child(1) {
top: 0px;
}
#menu-icon span:nth-child(2),#menu-icon span:nth-child(3) {
top: 11px;
}
#menu-icon span:nth-child(4) {
top: 22px;
}
#menu-icon.open span:nth-child(1) {
top: 18px;
width: 0%;
left: 50%;
}
#menu-icon.open span:nth-child(2) {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}
#menu-icon.open span:nth-child(3) {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}
#menu-icon.open span:nth-child(4) {
top: 18px;
width: 0%;
left: 50%;
}
/* PAGE STYLES */
header[role=banner] {
display: none;
}
#wrap {
background: none;
padding-top: 70px;
//margin-left: 270px;
border: none;
max-width: 100%;
min-height: calc(100vh - 100px);
}
.index #wrap {
padding-top: 126px;
}
#new_url {
display: none;
}
.notice {
width: calc(100% - 22px);
margin: 0;
padding: 0;
border-radius: 0;
background: $accent;
border: 1px solid $accent;
padding: 10px;
p {
color: white;
}
}
#shareboxes {
margin-top: -10px;
}
#sharebox {
width: auto;
margin-right: 0px;
}
#copybox {
width: auto;
}
div.share {
background: $default;
border-radius: 0;
border: none;
padding: 0px 20px 10px;
margin-top: 10px;
min-height: 170px;
height: auto;
input {
width: 100% !important;
}
textarea {
background: $light;
color: $text;
border: none;
padding: 3px;
outline: none;
margin: 1px !important;
box-sizing: border-box;
max-width: 100% !important;
}
#charcount {
padding-left: 5px;
color: $text;
}
#share_links a {
color: $text;
}
}
.tab-scroll {
display: flex;
flex-wrap: nowrap;
overflow-x: auto;
width: 100%;
background: $white;
}
#stat_tab_stats, #stat_tab_location, #stat_tab_sources, #stat_tab_share {
flex: 0 0 auto;
}
/* NAVIGATION */
nav {
background: $primary;
color: $white;
height: 100%;
position: fixed;
top: 0;
left: 0;
transform: translateX(-100%);
padding: 90px 30px;
width: 280px;
max-width: 85%;
z-index: 10;
transition: all 0.4s ease-in-out;
&.nav-open {
transform: translateX(0%);
box-shadow: 5px 0px 12px 0px rgba($primary, 0.6);
}
a, a:link, a:active, a:visited {
color: $white;
text-decoration: none;
font-size: 1rem;
transition: 0.4s all ease-in-out;
}
}
nav a:active:hover, nav a:hover, nav a:link:hover, nav a:visited:hover {
color: $secondary !important;
}
ul#admin_menu li {
color: $white;
font-size: 1rem;
padding: 1px 0;
}
ul#admin_menu li:hover {
list-style-type: none;
color: $white;
}
.nav-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
background: rgba($primary, 0.4);
z-index: 9;
visibility: hidden;
opacity: 0;
transition: all 0.3s ease-in-out;
&.nav-open {
visibility: visible;
opacity: 1;
}
}
//
// Information
//
.infos {
#tabs {
//min-width: 580px;
max-width: 100%;
.tab {
background: $light !important;
}
.wrap_unfloat {
margin-bottom: -10px;
}
ul#headers {
border: none;
padding: 0px;
display: flex !important;
flex-wrap: wrap;
}
li {
color: $text;
}
#historical_clicks li:hover {
background: #5f5f5f !important;
}
ul#headers li a,
#stats_lines li a {
outline: none;
border: none;
border-radius: 0;
background: $light;
color: $text;
padding: 10px 15px 7px 25px;
display: inline-block;
margin-top: 5px;
margin-bottom: 5px;
&:hover {
background: darken($default, 10%);
}
h2 {
font-weight: 400;
font-size: 1em;
}
&.selected {
background: $lightest;
border-bottom: 2px solid $accent;
&:hover {
background: darken($default, 15%);
}
}
}
#stats_lines li a {
padding: 7px 15px;
}
ul.toggle_display {
border: none;
}
svg {
ellipse {
fill: $accent;
}
}
}
}
// TABLE
table.tblSorter {
background-color: $default;
color: $text;
a {
color: $text;
}
small a {
color: darken($white, 50%)
}
thead tr .tablesorter-header {
padding: 10px;
}
tfoot tr {
background-color: $default;
}
thead tr th,
tfoot tr th,
th.header {
background-color: transparent;
border: none;
/* font-size: 8pt; */
padding: 4px;
}
thead tr .tablesorter-headerAsc,
thead tr .tablesorter-headerDesc {
background-color: $lightest !important;
}
tbody td {
color: $text;
padding: 5px;
background-color: $light;
vertical-align: middle;
transition: 0.4s all;
}
tbody tr:hover td {
background-color: $lightest !important;
}
tbody tr.normal-row td {
background: $light;
}
.keyword {
border-left: 8px solid $accent;
}
input.text {
padding: 5px;
margin: 8px 5px !important;
}
.navigation .nav_link a {
background: $light;
border: none;
&:hover {
background: $lightest;
}
}
tr.edit-row td {
background: $default !important;
}
td.actions .button {
margin-top: 5px;
}
// Icons
$icons-list: stats, share, edit, delete;
@each $icon in $icons-list {
@if $icon == delete {
td.actions .button_#{$icon} {
background: red url(images/#{$icon}.png) 0px center no-repeat;
background-size: 23px;
background-position: center;
border: none;
padding: 3px;
border-radius: 2px;
visibility: visible;
&:hover {
background: darken(red, 10%) url(images/#{$icon}.png) 0px center no-repeat;
background-size: 23px;
background-position: center;
}
}
} @else {
td.actions .button_#{$icon} {
background: $secondary url(images/#{$icon}.png) 0px center no-repeat;
background-size: 23px;
background-position: center;
border: none;
padding: 3px;
border-radius: 2px;
visibility: visible;
&:hover {
background: darken($secondary, 10%) url(images/#{$icon}.png) 0px center no-repeat;
background-size: 23px;
background-position: center;
}
}
}
}
}
// calander
.close {
font-size: 1rem;
}
//
// Footer
//
#footer {
bottom: 0;
//width: 230px;
color: #828282;
font-size: 0.8rem;
padding: 10px;
text-align: right;
p {
background: none;
border: none;
max-width: 100%;
font-size: 1em;
a {
background: none;
padding-left: 0;
color: $text;
&:hover {
color: #828282;
}
}
}
}
/* OTHER TIDY UPS */
// hide help page
#admin_menu_help_link {
display: none;
}
/* MEDIA QUERIES */
@media (max-width: 800px) {
.index #wrap {
padding-top: 70px;
}
.form-wrap {
position: relative;
#new_url_form input {
margin: 10px 0;
width: 100% !important;
}
#new_url_form {
flex-direction: column;
align-items: stretch;
}
}
}