Browse Source

Merge branch 'release/20190102'

master
Sam Black 1 year ago
parent
commit
39e846c233
Signed by: samwwwblack GPG Key ID: 0FF0223994EA47D8
38 changed files with 8657 additions and 7689 deletions
  1. +4
    -4
      assets/fontawesome/LICENSE.txt
  2. +3
    -7
      assets/fontawesome/css/svg-with-js.css
  3. +3843
    -0
      assets/fontawesome/js/all.js
  4. +0
    -3153
      assets/fontawesome/js/fontawesome-all.js
  5. +1
    -1
      assets/uikit/LICENSE.md
  6. +1
    -1
      assets/uikit/scss/components/accordion.scss
  7. +9
    -1
      assets/uikit/scss/components/background.scss
  8. +37
    -45
      assets/uikit/scss/components/base.scss
  9. +14
    -17
      assets/uikit/scss/components/button.scss
  10. +3
    -0
      assets/uikit/scss/components/container.scss
  11. +21
    -0
      assets/uikit/scss/components/divider.scss
  12. +2
    -3
      assets/uikit/scss/components/form.scss
  13. +2
    -5
      assets/uikit/scss/components/icon.scss
  14. +2
    -4
      assets/uikit/scss/components/iconnav.scss
  15. +7
    -3
      assets/uikit/scss/components/leader.scss
  16. +5
    -3
      assets/uikit/scss/components/lightbox.scss
  17. +3
    -1
      assets/uikit/scss/components/list.scss
  18. +1
    -1
      assets/uikit/scss/components/navbar.scss
  19. +11
    -21
      assets/uikit/scss/components/offcanvas.scss
  20. +0
    -6
      assets/uikit/scss/components/sortable.scss
  21. +2
    -5
      assets/uikit/scss/components/svg.scss
  22. +9
    -10
      assets/uikit/scss/components/table.scss
  23. +3
    -0
      assets/uikit/scss/components/text.scss
  24. +2
    -4
      assets/uikit/scss/components/thumbnav.scss
  25. +1
    -1
      assets/uikit/scss/components/utility.scss
  26. +2
    -2
      assets/uikit/scss/components/visibility.scss
  27. +14
    -47
      assets/uikit/scss/components/width.scss
  28. +1086
    -1077
      assets/uikit/scss/mixins-theme.scss
  29. +714
    -706
      assets/uikit/scss/mixins.scss
  30. +1
    -0
      assets/uikit/scss/theme/accordion.scss
  31. +9
    -1
      assets/uikit/scss/theme/divider.scss
  32. +522
    -522
      assets/uikit/scss/variables-theme.scss
  33. +514
    -515
      assets/uikit/scss/variables.scss
  34. +1799
    -1514
      assets/uikit/uikit.js
  35. +4
    -4
      build.py
  36. +1
    -0
      requirements.txt
  37. +4
    -4
      templates/_base.html
  38. +1
    -1
      templates/privacy.html

+ 4
- 4
assets/fontawesome/LICENSE.txt View File

@@ -3,14 +3,14 @@ Font Awesome Free License

Font Awesome Free is free, open source, and GPL friendly. You can use it for
commercial projects, open source projects, or really almost whatever you want.
Full Font Awesome Free license: https://fontawesome.com/license.
Full Font Awesome Free license: https://fontawesome.com/license/free.

# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons
packaged as SVG and JS file types.

# Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL)
In the Font Awesome Free download, the SIL OLF license applies to all icons
In the Font Awesome Free download, the SIL OFL license applies to all icons
packaged as web and desktop font files.

# Code: MIT License (https://opensource.org/licenses/MIT)
@@ -18,13 +18,13 @@ In the Font Awesome Free download, the MIT license applies to all non-font and
non-icon files.

# Attribution
Attribution is required by MIT, SIL OLF, and CC BY licenses. Downloaded Font
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
Awesome Free files already contain embedded comments with sufficient
attribution, so you shouldn't need to do anything additional when using these
files normally.

We've kept attribution comments terse, so we ask that you do not actively work
to remove them from files, especially code. They're a great way for folks to
to remove them from files, especially code. They're a great way for folks to
learn about Font Awesome.

# Brand Icons


assets/fontawesome/css/fa-svg-with-js.css → assets/fontawesome/css/svg-with-js.css View File

@@ -1,7 +1,3 @@
/*!
* Font Awesome Free 5.0.10 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
*/
svg:not(:root).svg-inline--fa {
overflow: visible; }

@@ -304,7 +300,7 @@ svg:not(:root).svg-inline--fa {
display: inline-block;
height: 2em;
position: relative;
width: 2em; }
width: 2.5em; }

.fa-stack-1x,
.fa-stack-2x {
@@ -317,11 +313,11 @@ svg:not(:root).svg-inline--fa {

.svg-inline--fa.fa-stack-1x {
height: 1em;
width: 1em; }
width: 1.25em; }

.svg-inline--fa.fa-stack-2x {
height: 2em;
width: 2em; }
width: 2.5em; }

.fa-inverse {
color: #fff; }

+ 3843
- 0
assets/fontawesome/js/all.js
File diff suppressed because it is too large
View File


+ 0
- 3153
assets/fontawesome/js/fontawesome-all.js
File diff suppressed because it is too large
View File


+ 1
- 1
assets/uikit/LICENSE.md View File

@@ -1,4 +1,4 @@
Copyright (c) YOOtheme GmbH
Copyright (c) 2013-2018 YOOtheme GmbH, getuikit.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:



+ 1
- 1
assets/uikit/scss/components/accordion.scss View File

@@ -109,7 +109,7 @@ $accordion-content-margin-top: $global-margin !default;
// ========================================================================

$inverse-accordion-title-color: $inverse-global-emphasis-color !default;
$inverse-accordion-title-hover-color: $inverse-global-inverse-color !default;
$inverse-accordion-title-hover-color: $inverse-global-color !default;





+ 9
- 1
assets/uikit/scss/components/background.scss View File

@@ -65,7 +65,15 @@ $background-secondary-background: $global-secondary-background !d
/* Attachment
========================================================================== */

.uk-background-fixed { background-attachment: fixed; }
/*
* 1. Fix bug introduced in Chrome 67: the background image is not visible if any element on the page uses `translate3d`
*/

.uk-background-fixed {
background-attachment: fixed;
/* 1 */
backface-visibility: hidden;
}

/*
* Exclude touch devices because `fixed` doesn't work on iOS and Android


+ 37
- 45
assets/uikit/scss/components/base.scss View File

@@ -152,19 +152,18 @@ a:hover,
========================================================================== */

/*
* 1. Remove the bottom border in Chrome 57-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
* 1. Add an underline text decoration in Safari, Edge and IE.
* 2. Add `dotted` style in Safari.
* Note: The shorthand declaration `underline dotted` is not supported in Safari, Edge and IE.
*/

abbr[title] {
/* 1 */
border-bottom: none;
/* 2 */
text-decoration: underline;
text-decoration: underline dotted;
/* 2 */
-webkit-text-decoration-style: dotted;
}


/*
* Add the correct font weight in Chrome, Edge, and Safari.
*/
@@ -259,13 +258,12 @@ svg,
video { vertical-align: middle; }

/*
* Responsiveness
* 1. Set a maximum width
* 2. Auto scale the height. Only needed if `height` attribute is present
* 2. Corrects `max-width` behavior if padding and border are used
* 1. Add responsiveness.
* 2. Auto-scale the height. Only needed if `height` attribute is present.
* 3. Corrects responsive `max-width` behavior if padding and border are used.
* 4. Exclude SVGs for IE11 because they don't preserve their aspect ratio.
*/

audio,
canvas,
img,
video {
@@ -277,6 +275,17 @@ video {
box-sizing: border-box;
}

/* 4 */
@supports (display: block) {

svg {
max-width: 100%;
height: auto;
box-sizing: border-box;
}

}

/*
* Hide the overflow in IE.
*/
@@ -290,6 +299,13 @@ svg:not(:root) { overflow: hidden; }

img:not([src]) { visibility: hidden; }

/*
* Iframe
* Remove border in all browsers
*/

iframe { border: 0; }


/* Block elements
========================================================================== */
@@ -502,12 +518,6 @@ pre code { font-family: $base-pre-font-family; }
/* Selection pseudo-element
========================================================================== */

::-moz-selection {
background: $base-selection-background;
color: $base-selection-color;
text-shadow: none;
}

::selection {
background: $base-selection-background;
color: $base-selection-color;
@@ -541,30 +551,6 @@ summary { display: list-item; }
template { display: none; }


/* Iframe
========================================================================== */

iframe { border: 0; }


/* Prevent the 300ms delay for touchscreen interactions
========================================================================== */

/*
* Most browsers prevent the 300ms delay automatically for sites that use the `width=device-width` property.
* For Safari on iOS 9.3+, IE 11 and Edge on desktops and IE 11 on Windows Phone 8.1 it must be applied manually.
*/

a,
area,
button,
input,
label,
select,
summary,
textarea { touch-action: manipulation; }


/* Pass media breakpoints to JS
========================================================================== */

@@ -572,11 +558,17 @@ textarea { touch-action: manipulation; }
* Breakpoints
*/

.var-media-s::before { content: '#{$breakpoint-small}'; }
.var-media-m::before { content: '#{$breakpoint-medium}'; }
.var-media-l::before { content: '#{$breakpoint-large}'; }
.var-media-xl::before { content: '#{$breakpoint-xlarge}'; }
.uk-breakpoint-s::before { content: '#{$breakpoint-small}'; }
.uk-breakpoint-m::before { content: '#{$breakpoint-medium}'; }
.uk-breakpoint-l::before { content: '#{$breakpoint-large}'; }
.uk-breakpoint-xl::before { content: '#{$breakpoint-xlarge}'; }

:root {
--uk-breakpoint-s: $breakpoint-small;
--uk-breakpoint-m: $breakpoint-medium;
--uk-breakpoint-l: $breakpoint-large;
--uk-breakpoint-xl: $breakpoint-xlarge;
}

// Hooks
// ========================================================================


+ 14
- 17
assets/uikit/scss/components/button.scss View File

@@ -84,15 +84,14 @@ $button-link-disabled-color: $global-muted-color !default;
/*
* 1. Remove margins in Chrome, Safari and Opera.
* 2. Remove borders for `button`.
* 3. Remove border-radius in Chrome.
* 4. Address `overflow` set to `hidden` in IE.
* 5. Correct `font` properties and `color` not being inherited for `button`.
* 6. Remove the inheritance of text transform in Edge, Firefox, and IE.
* 7. Style
* 8. `line-height` is used to create a height because it also centers the text vertically for `a` elements.
* 3. Address `overflow` set to `hidden` in IE.
* 4. Correct `font` properties and `color` not being inherited for `button`.
* 5. Remove the inheritance of text transform in Edge, Firefox, and IE.
* 6. Style
* 7. `line-height` is used to create a height because it also centers the text vertically for `a` elements.
* Better would be to use height and flexbox to center the text vertically but flexbox doesn't work in Firefox on `button` elements.
* 9. Align text if button has a width
* 10. Required for `a`.
* 8. Align text if button has a width
* 9. Required for `a`.
*/

.uk-button {
@@ -101,25 +100,23 @@ $button-link-disabled-color: $global-muted-color !default;
/* 2 */
border: none;
/* 3 */
border-radius: 0;
/* 4 */
overflow: visible;
/* 5 */
/* 4 */
font: inherit;
color: inherit;
/* 6 */
/* 5 */
text-transform: none;
/* 7 */
/* 6 */
display: inline-block;
box-sizing: border-box;
padding: 0 $button-padding-horizontal;
vertical-align: middle;
font-size: $button-font-size;
/* 8 */
/* 7 */
line-height: $button-line-height;
/* 9 */
/* 8 */
text-align: center;
/* 10 */
/* 9 */
text-decoration: none;
@if(mixin-exists(hook-button)) {@include hook-button();}
}
@@ -137,7 +134,7 @@ $button-link-disabled-color: $global-muted-color !default;

/* Hover */
.uk-button:hover {
/* 8 */
/* 9 */
text-decoration: none;
@if(mixin-exists(hook-button-hover)) {@include hook-button-hover();}
}


+ 3
- 0
assets/uikit/scss/components/container.scss View File

@@ -14,6 +14,7 @@
// ========================================================================

$container-max-width: 1200px !default;
$container-xsmall-max-width: 750px !default;
$container-small-max-width: 900px !default;
$container-large-max-width: 1600px !default;

@@ -91,6 +92,8 @@ $container-padding-horizontal-m: $global-medium-gutter !default;
/* Size modifier
========================================================================== */

.uk-container-xsmall { max-width: $container-xsmall-max-width; }

.uk-container-small { max-width: $container-small-max-width; }

.uk-container-large { max-width: $container-large-max-width; }


+ 21
- 0
assets/uikit/scss/components/divider.scss View File

@@ -3,6 +3,7 @@
//
// Component: `uk-divider-icon`
// `uk-divider-small`
// `uk-divider-vertical`
//
// ========================================================================

@@ -26,6 +27,10 @@ $divider-small-width: 100px !default;
$divider-small-border-width: $global-border-width !default;
$divider-small-border: $global-border !default;

$divider-vertical-height: 100px !default;
$divider-vertical-border-width: $global-border-width !default;
$divider-vertical-border: $global-border !default;


/* ========================================================================
Component: Divider
@@ -102,6 +107,19 @@ $divider-small-border: $global-border !default;
}


/* Vertical
========================================================================== */

.uk-divider-vertical {
width: 1px;
height: $divider-vertical-height;
margin-left: auto;
margin-right: auto;
border-left: $divider-vertical-border-width solid $divider-vertical-border;
@if(mixin-exists(hook-divider-vertical)) {@include hook-divider-vertical();}
}


// Hooks
// ========================================================================

@@ -112,6 +130,7 @@ $divider-small-border: $global-border !default;
// @mixin hook-divider-icon-line-left(){}
// @mixin hook-divider-icon-line-right(){}
// @mixin hook-divider-small(){}
// @mixin hook-divider-vertical(){}
// @mixin hook-divider-misc(){}


@@ -121,9 +140,11 @@ $divider-small-border: $global-border !default;
$inverse-divider-icon-color: $inverse-global-border !default;
$inverse-divider-icon-line-border: $inverse-global-border !default;
$inverse-divider-small-border: $inverse-global-border !default;
$inverse-divider-vertical-border: $inverse-global-border !default;



// @mixin hook-inverse-divider-icon(){}
// @mixin hook-inverse-divider-icon-line(){}
// @mixin hook-inverse-divider-small(){}
// @mixin hook-inverse-divider-vertical(){}

+ 2
- 3
assets/uikit/scss/components/form.scss View File

@@ -97,7 +97,6 @@ $form-horizontal-controls-margin-left: 215px !default;
$form-horizontal-controls-text-padding-top: 7px !default;

$form-icon-width: $form-height !default;
$form-icon-font-size: $global-font-size !default;
$form-icon-color: $global-muted-color !default;
$form-icon-hover-color: $global-color !default;

@@ -300,10 +299,10 @@ $internal-form-checkbox-indeterminate-image: "data:image/svg+xml;charset=UTF-8,%
* Placeholder
*/

.uk-input:-ms-input-placeholder { color: $form-placeholder-color !important; }
.uk-input::-ms-input-placeholder { color: $form-placeholder-color !important; }
.uk-input::placeholder { color: $form-placeholder-color; }

.uk-textarea:-ms-input-placeholder { color: $form-placeholder-color !important; }
.uk-textarea::-ms-input-placeholder { color: $form-placeholder-color !important; }
.uk-textarea::placeholder { color: $form-placeholder-color; }




+ 2
- 5
assets/uikit/scss/components/icon.scss View File

@@ -90,13 +90,10 @@ button.uk-icon:not(:disabled) { cursor: pointer; }

/*
* Set the fill and stroke color of all SVG elements to the current text color
* 1. Fix for uppercase attribute names in Edge. Will be fixed in Windows 10 builds 16251+
*/

.uk-icon [fill*='#']:not(.uk-preserve),
.uk-icon [FILL*='#']:not(.uk-preserve) { fill: currentcolor; } // 1
.uk-icon [stroke*='#']:not(.uk-preserve),
.uk-icon [STROKE*='#']:not(.uk-preserve) { stroke: currentcolor; } // 1
.uk-icon:not(.uk-preserve) [fill*='#']:not(.uk-preserve) { fill: currentcolor; }
.uk-icon:not(.uk-preserve) [stroke*='#']:not(.uk-preserve) { stroke: currentcolor; }

/*
* Fix Firefox blurry SVG rendering: https://bugzilla.mozilla.org/show_bug.cgi?id=1046835


+ 2
- 4
assets/uikit/scss/components/iconnav.scss View File

@@ -47,14 +47,12 @@ $iconnav-item-active-color: $global-color !default;
}

/*
* 1. Space is allocated solely based on content dimensions: 0 0 auto
* 2. Gutter
* Space is allocated based on content dimensions, but shrinks: 0 1 auto
* 1. Gutter
*/

.uk-iconnav > * {
/* 1 */
flex: none;
/* 2 */
padding-left: $iconnav-margin-horizontal;
}



+ 7
- 3
assets/uikit/scss/components/leader.scss View File

@@ -9,7 +9,7 @@
// Variables
// ========================================================================

$leader-fill-content: '.' !default;
$leader-fill-content: unquote('.') !default;
$leader-fill-margin-left: $global-small-gutter !default;


@@ -45,8 +45,12 @@ $leader-fill-margin-left: $global-small-gutter !default;

.uk-leader-fill.uk-leader-hide::after { display: none; }

/* Pass fill character to JS */
.var-leader-fill:before { content: $leader-fill-content; }
/*
* Pass fill character to JS
*/

.uk-leader-fill-content::before { content: '#{$leader-fill-content}'; }
:root { --uk-leader-fill-content: $leader-fill-content; }


// Hooks


+ 5
- 3
assets/uikit/scss/components/lightbox.scss View File

@@ -23,6 +23,8 @@ $lightbox-z-index: $global-z-index + 10 !default;
$lightbox-background: #000 !default;

$lightbox-item-color: rgba(255,255,255,0.7) !default;
$lightbox-item-max-width: 100vw !default;
$lightbox-item-max-height: 100vh !default;

$lightbox-toolbar-padding-vertical: 10px !default;
$lightbox-toolbar-padding-horizontal: 10px !default;
@@ -128,8 +130,8 @@ $lightbox-button-hover-color: #fff !default;

/* 5 */
.uk-lightbox-items > * > * {
max-width: 100vw;
max-height: 100vh;
max-width: $lightbox-item-max-width;
max-height: $lightbox-item-max-height;
}

.uk-lightbox-items > * > :not(iframe) {
@@ -149,7 +151,7 @@ $lightbox-button-hover-color: #fff !default;
@if(mixin-exists(hook-lightbox-toolbar)) {@include hook-lightbox-toolbar();}
}

.uk-lightbox-toolbar * { color: $lightbox-toolbar-color; }
.uk-lightbox-toolbar > * { color: $lightbox-toolbar-color; }


/* Toolbar Icon (Close)


+ 3
- 1
assets/uikit/scss/components/list.scss View File

@@ -113,6 +113,7 @@ $internal-list-bullet-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D

/*
* Bullet
* 1. Reset display `table` which causes issues in combination with multi column layouts.
*/

.uk-list-bullet > li {
@@ -130,7 +131,8 @@ $internal-list-bullet-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D
@include svg-fill($internal-list-bullet-image, "#000", $list-bullet-icon-color);
background-repeat: no-repeat;
background-position: 50% 50%;
float: left;
/* 1 */
display: block;
@if(mixin-exists(hook-list-bullet)) {@include hook-list-bullet();}
}



+ 1
- 1
assets/uikit/scss/components/navbar.scss View File

@@ -222,7 +222,7 @@ $navbar-dropbar-z-index: $global-z-index - 20 !default;
align-items: center;
/* 2 */
box-sizing: border-box;
height: $navbar-nav-item-height;
min-height: $navbar-nav-item-height;
padding: 0 $navbar-nav-item-padding-horizontal;
/* 3 */
font-size: $navbar-nav-item-font-size;


+ 11
- 21
assets/uikit/scss/components/offcanvas.scss View File

@@ -5,7 +5,6 @@
//
// Sub-objects: `uk-offcanvas-bar`
// `uk-offcanvas-container`
// `uk-offcanvas-content`
// `uk-offcanvas-page`
//
// Adopted: `uk-offcanvas-close`
@@ -14,7 +13,7 @@
// `uk-offcanvas-bar-animation`
// `uk-offcanvas-reveal`
// `uk-offcanvas-overlay`
// `uk-offcanvas-content-animation`
// `uk-offcanvas-container-animation`
//
// States: `uk-open`
//
@@ -232,7 +231,7 @@ $offcanvas-overlay-background: rgba(0,0,0,0.1) !default;
.uk-offcanvas-overlay.uk-open::before { opacity: 1; }


/* Container
/* Prevent scrolling
========================================================================== */

/*
@@ -243,49 +242,40 @@ $offcanvas-overlay-background: rgba(0,0,0,0.1) !default;
.uk-offcanvas-page,
.uk-offcanvas-container { overflow-x: hidden; }

/*
* Prevent all scrollbars if overlay is used
*/

.uk-offcanvas-container-overlay { overflow: hidden; }


/* Content
/* Container
========================================================================== */

/*
* Prepare slide-out animation (Used in reveal and push mode)
* Using `position: left` instead of `transform` because position `fixed` elements like sticky navbars
* lose their fixed state and behaves like `absolute` within a transformed container
* Note: JS sets a fixed width and height so the page can slide-out without shrinking
* 1. Smooth scrolling
* 1. Provide a fixed width and prevent shrinking
*/

.uk-offcanvas-container .uk-offcanvas-content {
.uk-offcanvas-container {
position: relative;
left: 0;
transition: left 0.3s ease-out;
/* 1 */
-webkit-overflow-scrolling: touch;
box-sizing: border-box;
width: 100%;
}

/* Disable scrolling if overlay mode */
.uk-offcanvas-overlay .uk-offcanvas-content { overflow-y: hidden; }

/*
* Activate slide-out animation
*/

:not(.uk-offcanvas-flip) > .uk-offcanvas-content-animation { left: $offcanvas-bar-width; }
:not(.uk-offcanvas-flip).uk-offcanvas-container-animation { left: $offcanvas-bar-width; }

.uk-offcanvas-flip > .uk-offcanvas-content-animation { left: (-$offcanvas-bar-width); }
.uk-offcanvas-flip.uk-offcanvas-container-animation { left: (-$offcanvas-bar-width); }

/* Tablet landscape and bigger */
@media (min-width: $breakpoint-medium) {

:not(.uk-offcanvas-flip) > .uk-offcanvas-content-animation { left: $offcanvas-bar-width-m; }
:not(.uk-offcanvas-flip).uk-offcanvas-container-animation { left: $offcanvas-bar-width-m; }

.uk-offcanvas-flip > .uk-offcanvas-content-animation { left: (-$offcanvas-bar-width-m); }
.uk-offcanvas-flip.uk-offcanvas-container-animation { left: (-$offcanvas-bar-width-m); }

}



+ 0
- 6
assets/uikit/scss/components/sortable.scss View File

@@ -33,12 +33,6 @@ $sortable-empty-height: 50px !default;
@if(mixin-exists(hook-sortable)) {@include hook-sortable();}
}

/*
* Deactivate browser touch actions in IE11 and Edge
*/

.uk-sortable > * { touch-action: none; }

/*
* Deactivate pointer-events on SVGs in Safari
*/


+ 2
- 5
assets/uikit/scss/components/svg.scss View File

@@ -13,16 +13,13 @@
/*
* 1. Fill all SVG elements with the current text color if no `fill` attribute is set
* 2. Set the fill and stroke color of all SVG elements to the current text color
* 3. Fix for uppercase attribute names in Edge. Will be fixed in Windows 10 builds 16251+
*/

/* 1 */
.uk-svg,
/* 2 */
.uk-svg:not(.uk-preserve) [fill*='#']:not(.uk-preserve),
.uk-svg:not(.uk-preserve) [FILL*='#']:not(.uk-preserve) { fill: currentcolor; } // 3
.uk-svg:not(.uk-preserve) [stroke*='#']:not(.uk-preserve),
.uk-svg:not(.uk-preserve) [STROKE*='#']:not(.uk-preserve) { stroke: currentcolor; } // 3
.uk-svg:not(.uk-preserve) [fill*='#']:not(.uk-preserve) { fill: currentcolor; }
.uk-svg:not(.uk-preserve) [stroke*='#']:not(.uk-preserve) { stroke: currentcolor; }

/*
* Fix Firefox blurry SVG rendering: https://bugzilla.mozilla.org/show_bug.cgi?id=1046835


+ 9
- 10
assets/uikit/scss/components/table.scss View File

@@ -134,16 +134,6 @@ $table-expand-min-width: 150px !default;
}


/* Row
========================================================================== */

.uk-table > tr.uk-active,
.uk-table tbody tr.uk-active {
background: $table-row-active-background;
@if(mixin-exists(hook-table-row-active)) {@include hook-table-row-active();}
}


/* Alignment modifier
========================================================================== */

@@ -186,6 +176,15 @@ $table-expand-min-width: 150px !default;
}


/* Active state
========================================================================== */

.uk-table > tr.uk-active,
.uk-table tbody tr.uk-active {
background: $table-row-active-background;
@if(mixin-exists(hook-table-row-active)) {@include hook-table-row-active();}
}

/* Size modifier
========================================================================== */



+ 3
- 0
assets/uikit/scss/components/text.scss View File

@@ -26,6 +26,7 @@ $text-large-line-height: 1.5 !default;
$text-bold-font-weight: bolder !default;

$text-muted-color: $global-muted-color !default;
$text-emphasis-color: $global-emphasis-color !default;
$text-primary-color: $global-primary-background !default;
$text-success-color: $global-success-background !default;
$text-warning-color: $global-warning-background !default;
@@ -91,6 +92,7 @@ $text-background-color: $global-primary-background !def
========================================================================== */

.uk-text-muted { color: $text-muted-color !important; }
.uk-text-emphasis { color: $text-emphasis-color !important; }
.uk-text-primary { color: $text-primary-color !important; }
.uk-text-success { color: $text-success-color !important; }
.uk-text-warning { color: $text-warning-color !important; }
@@ -250,6 +252,7 @@ td.uk-text-break { word-break: break-all; }
$inverse-text-lead-color: $inverse-global-color !default;
$inverse-text-meta-color: $inverse-global-muted-color !default;
$inverse-text-muted-color: $inverse-global-muted-color !default;
$inverse-text-emphasis-color: $inverse-global-emphasis-color !default;
$inverse-text-primary-color: $inverse-global-color !default;




+ 2
- 4
assets/uikit/scss/components/thumbnav.scss View File

@@ -41,14 +41,12 @@ $thumbnav-margin-vertical: $thumbnav-margin-horizontal !de
}

/*
* 1. Space is allocated solely based on content dimensions: 0 0 auto
* 2. Gutter
* Space is allocated based on content dimensions, but shrinks: 0 1 auto
* 1. Gutter
*/

.uk-thumbnav > * {
/* 1 */
flex: none;
/* 2 */
padding-left: $thumbnav-margin-horizontal;
}



+ 1
- 1
assets/uikit/scss/components/utility.scss View File

@@ -213,7 +213,6 @@ $dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3)
*/

.uk-preserve-width,
.uk-preserve-width audio,
.uk-preserve-width canvas,
.uk-preserve-width img,
.uk-preserve-width svg,
@@ -259,6 +258,7 @@ $dragover-box-shadow: 0 0 20px rgba(100,100,100,0.3)
========================================================================== */

.uk-border-circle { border-radius: 50%; }
.uk-border-pill { border-radius: 500px; }
.uk-border-rounded { border-radius: $border-rounded-border-radius; }

/*


+ 2
- 2
assets/uikit/scss/components/visibility.scss View File

@@ -97,7 +97,7 @@

/*
* Hidden
* Can't use `display: hidden` because it's not focusable. This is accessible through keyboard.
* Can't use `display: none` because it's not accessible through keyboard.
*/

.uk-visible-toggle:not(:hover):not(.uk-hover) .uk-hidden-hover:not(:focus) {
@@ -111,7 +111,7 @@

/*
* Invisible
* Can't use `visibility: hidden` because it's not focusable. This is accessible through keyboard.
* Can't use `visibility: hidden` because it's not accessible through keyboard.
*/

.uk-visible-toggle:not(:hover):not(.uk-hover) .uk-invisible-hover:not(:focus) { opacity: 0 !important; }


+ 14
- 47
assets/uikit/scss/components/width.scss View File

@@ -39,27 +39,16 @@ $width-xxlarge-width: 750px !default;
.uk-child-width-auto > * { width: auto; }

/*
* Instead of 0, 1px is needed to make cell wrap into next row if predecessor is 100% wide
* and the grid gutter is 0 pixels wide
*/

.uk-child-width-expand > * { width: 1px; }

/*
* 1. Make `width: 1px` work, because according to the spec flex items won’t shrink
* below their minimum content size. To change this, set the min-width.
* Only needed for Firefox. All other browsers ignore this.
*
* 2. `width` is ignored when wrapping flex items in Safari
* https://github.com/philipwalton/flexbugs#11-min-and-max-size-declarations-are-ignored-when-wrapping-flex-items
* 1. Reset the `min-width`, which is set to auto by default, because
* flex items won't shrink below their minimum intrinsic content size.
* Using `1px` instead of `0`, so items still wrap into the next line,
* if they have zero width and padding and the predecessor is 100% wide.
*/

.uk-child-width-expand > :not([class*='uk-width']) {
flex: 1;
/* 1 */
min-width: 0;
/* 2 */
flex-basis: 1px;
min-width: 1px;
}

/* Phone landscape and bigger */
@@ -73,12 +62,9 @@ $width-xxlarge-width: 750px !default;
.uk-child-width-1-6\@s > * { width: unquote('calc(100% * 1 / 6.001)'); }

.uk-child-width-auto\@s > * { width: auto; }
.uk-child-width-expand\@s > * { width: 1px; }

.uk-child-width-expand\@s > :not([class*='uk-width']) {
flex: 1;
min-width: 0;
flex-basis: 1px;
min-width: 1px;
}

}
@@ -94,12 +80,9 @@ $width-xxlarge-width: 750px !default;
.uk-child-width-1-6\@m > * { width: unquote('calc(100% * 1 / 6.001)'); }

.uk-child-width-auto\@m > * { width: auto; }
.uk-child-width-expand\@m > * { width: 1px; }

.uk-child-width-expand\@m > :not([class*='uk-width']) {
flex: 1;
min-width: 0;
flex-basis: 1px;
min-width: 1px;
}

}
@@ -115,12 +98,9 @@ $width-xxlarge-width: 750px !default;
.uk-child-width-1-6\@l > * { width: unquote('calc(100% * 1 / 6.001)'); }

.uk-child-width-auto\@l > * { width: auto; }
.uk-child-width-expand\@l > * { width: 1px; }

.uk-child-width-expand\@l > :not([class*='uk-width']) {
flex: 1;
min-width: 0;
flex-basis: 1px;
min-width: 1px;
}

}
@@ -136,12 +116,9 @@ $width-xxlarge-width: 750px !default;
.uk-child-width-1-6\@xl > * { width: unquote('calc(100% * 1 / 6.001)'); }

.uk-child-width-auto\@xl > * { width: auto; }
.uk-child-width-expand\@xl > * { width: 1px; }

.uk-child-width-expand\@xl > :not([class*='uk-width']) {
flex: 1;
min-width: 0;
flex-basis: 1px;
min-width: 1px;
}

}
@@ -194,10 +171,8 @@ $width-xxlarge-width: 750px !default;

/* Expand */
.uk-width-expand {
width: 1px;
flex: 1;
min-width: 0;
flex-basis: 1px;
min-width: 1px;
}

/* Phone landscape and bigger */
@@ -239,10 +214,8 @@ $width-xxlarge-width: 750px !default;

/* Expand */
.uk-width-expand\@s {
width: 1px;
flex: 1;
min-width: 0;
flex-basis: 1px;
min-width: 1px;
}

}
@@ -286,10 +259,8 @@ $width-xxlarge-width: 750px !default;

/* Expand */
.uk-width-expand\@m {
width: 1px;
flex: 1;
min-width: 0;
flex-basis: 1px;
min-width: 1px;
}

}
@@ -333,10 +304,8 @@ $width-xxlarge-width: 750px !default;

/* Expand */
.uk-width-expand\@l {
width: 1px;
flex: 1;
min-width: 0;
flex-basis: 1px;
min-width: 1px;
}

}
@@ -380,10 +349,8 @@ $width-xxlarge-width: 750px !default;

/* Expand */
.uk-width-expand\@xl {
width: 1px;
flex: 1;
min-width: 0;
flex-basis: 1px;
min-width: 1px;
}

}


+ 1086
- 1077
assets/uikit/scss/mixins-theme.scss
File diff suppressed because it is too large
View File


+ 714
- 706
assets/uikit/scss/mixins.scss
File diff suppressed because it is too large
View File


+ 1
- 0
assets/uikit/scss/theme/accordion.scss View File

@@ -11,6 +11,7 @@
// New
//

$accordion-icon-margin-left: 10px !default;
$accordion-icon-color: $global-color !default;
$internal-accordion-open-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22#000%22%20width%3D%2213%22%20height%3D%221%22%20x%3D%220%22%20y%3D%226%22%20%2F%3E%0A%3C%2Fsvg%3E" !default;
$internal-accordion-close-image: "data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2213%22%20height%3D%2213%22%20viewBox%3D%220%200%2013%2013%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Crect%20fill%3D%22#000%22%20width%3D%2213%22%20height%3D%221%22%20x%3D%220%22%20y%3D%226%22%20%2F%3E%0A%20%20%20%20%3Crect%20fill%3D%22#000%22%20width%3D%221%22%20height%3D%2213%22%20x%3D%226%22%20y%3D%220%22%20%2F%3E%0A%3C%2Fsvg%3E" !default;


+ 9
- 1
assets/uikit/scss/theme/divider.scss View File

@@ -26,6 +26,12 @@
// @mixin hook-divider-small(){}


// Vertical
// ========================================================================

// @mixin hook-divider-vertical(){}


// Miscellaneous
// ========================================================================

@@ -38,4 +44,6 @@
// @mixin hook-inverse-divider-icon(){}
// @mixin hook-inverse-divider-icon-line(){}

// @mixin hook-inverse-divider-small(){}
// @mixin hook-inverse-divider-small(){}

// @mixin hook-inverse-divider-vertical(){}

+ 522
- 522
assets/uikit/scss/variables-theme.scss
File diff suppressed because it is too large
View File


+ 514
- 515
assets/uikit/scss/variables.scss
File diff suppressed because it is too large
View File


+ 1799
- 1514
assets/uikit/uikit.js
File diff suppressed because it is too large
View File


+ 4
- 4
build.py View File

@@ -25,7 +25,6 @@ import subprocess
import time

import click
import staticjinja
import webassets

from datetime import datetime
@@ -33,6 +32,7 @@ from http.server import HTTPServer
from http.server import SimpleHTTPRequestHandler
from multiprocessing import Lock
from multiprocessing import Process
from staticjinja import Site
from webassets.ext.jinja2 import AssetsExtension

logger = logging.getLogger(__name__)
@@ -90,14 +90,14 @@ def generate_assets(assets_path, output_path, debug=False):
# Javascript
js_lapwing = webassets.Bundle("uikit/uikit.js",
"website/js/faconfig.js", # This must be before fontawesome.js
"fontawesome/js/fontawesome-all.js",
"fontawesome/js/all.js",
filters="uglifyjs",
output="js/lapwing.%(version)s.js")
webasset_env.register("js_lapwing", js_lapwing)

# SCSS -> CSS
css_lapwing = webassets.Bundle("website/scss/lapwing.scss",
"fontawesome/css/fa-svg-with-js.css",
"fontawesome/css/svg-with-js.css",
filters="libsass,cssutils",
output="css/lapwing.%(version)s.css")
webasset_env.register("css_lapwing", css_lapwing)
@@ -216,7 +216,7 @@ def build_website(minimize=False, lock=None):
env_globals["datestamp_{}".format(datestamp)] = git_date_stamp(
datestamp_file)

renderer = staticjinja.make_site(config["templates"], config["output"],
renderer = Site.make_site(config["templates"], config["output"],
extensions=[AssetsExtension])
# We need to add webassets and globals to the Jinja Environment
renderer._env.assets_environment = webassets_env


+ 1
- 0
requirements.txt View File

@@ -4,3 +4,4 @@ staticjinja
webassets >= 0.12.1
cssmin
libsass
cssutils

+ 4
- 4
templates/_base.html View File

@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html>
<head lang="en">
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<title>{{ site_name }}</title>
<meta name="description" content="{{ site_name }}" />
@@ -26,7 +26,7 @@

</div>
{% assets "js_lapwing" %}
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
<script src="{{ ASSET_URL }}"></script>
{% endassets %}
{% block page_js %}{% endblock %}
</body>


+ 1
- 1
templates/privacy.html View File

@@ -77,7 +77,7 @@
<p>
If you have updates, objections or other inquiries about our use of your personal data,
please email Sam Black, the {{ site_name }} data controller,
using <a href="mailto:contact@lapwing.org">contact@lapwing.org</a>.
using <a href="mailto:gdpr@lapwing.org">gdpr@lapwing.org</a>.
</p>
</section>



Loading…
Cancel
Save