From ef0ce64ceed94348c315b9b922e2b581e8a51576 Mon Sep 17 00:00:00 2001 From: Brian Baker <2120496+brianbaker@users.noreply.github.com> Date: Thu, 5 May 2022 15:26:58 -0600 Subject: [PATCH] fix: lint --- docs/src/app-development.md | 2 +- docs/src/css/less/footer.less | 4 +- docs/src/css/less/homepage-gallery.less | 20 +++++----- docs/src/css/less/homepage.less | 14 +++---- docs/src/css/less/mixins.less | 2 +- docs/src/css/less/nav.less | 6 +-- docs/src/css/less/site.less | 2 +- docs/src/sdk-template/layouts/main.handlebars | 38 +++++++++---------- docs/src/template/head.html | 30 +++++++-------- docs/src/webpack.config.js | 2 +- examples/container-amd/index.html | 4 +- examples/container-autoload/index.html | 4 +- examples/container-locale/index.html | 4 +- examples/container/index.html | 4 +- 14 files changed, 72 insertions(+), 64 deletions(-) diff --git a/docs/src/app-development.md b/docs/src/app-development.md index 0c6096c9..06253ea7 100644 --- a/docs/src/app-development.md +++ b/docs/src/app-development.md @@ -141,7 +141,7 @@ To guarantee uniqueness, we have provided an AppID generation service that allow Once you have your AppID, start by setting up your project. You will need at least one file: the **App Manifest**. Create a new file called `manifest.js`. Also, chances are you'll want custom styling and functionality, so go ahead and create `appclass.js` (for your app logic) and `app.css` for your CSS. Your project folder should look like this: -![](./img/project_folder.png 'Setup your project') +![](img/project_folder.png 'Setup your project') Helper [Download the F2 examples](https://openf2.github.io/F2/F2-examples.zip) or read about [setting up a basic container and app](#get-started) in Getting Started. diff --git a/docs/src/css/less/footer.less b/docs/src/css/less/footer.less index e5621bad..71ef522a 100644 --- a/docs/src/css/less/footer.less +++ b/docs/src/css/less/footer.less @@ -15,11 +15,11 @@ footer { h1 { width: @navbar-width; height: @navbar-height; - background: transparent url('/img/logo.png?v=@{version}') top left no-repeat; + background: transparent url('../img/logo.png?v=@{version}') top left no-repeat; .text-hide(); @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { - background-image: url('/img/logo@2x.png?v=@{version}'); + background-image: url('../img/logo@2x.png?v=@{version}'); background-size: @navbar-width @navbar-height; } } diff --git a/docs/src/css/less/homepage-gallery.less b/docs/src/css/less/homepage-gallery.less index f56f2b12..a58c0496 100644 --- a/docs/src/css/less/homepage-gallery.less +++ b/docs/src/css/less/homepage-gallery.less @@ -162,11 +162,11 @@ height: 12px; display: block; outline: none; - background: transparent url('/img/gallery_dot.png?v=@{version}') center + background: transparent url('img/gallery_dot.png?v=@{version}') center center; &.active { - background-image: url('/img/gallery_dot_active.png?v=@{version}'); + background-image: url('img/gallery_dot_active.png?v=@{version}'); } } } @@ -210,7 +210,7 @@ margin: 0; width: 100%; outline: none; - background-image: url('/img/blank.gif?v=@{version}'); + background-image: url('img/blank.gif?v=@{version}'); cursor: pointer; &:hover { @@ -244,7 +244,7 @@ b { float: right; - background-image: url('/img/paddle_prev.png?v=@{version}'); + background-image: url('img/paddle_prev.png?v=@{version}'); } } @@ -257,7 +257,7 @@ b { float: left; - background-image: url('/img/paddle_next.png?v=@{version}'); + background-image: url('img/paddle_next.png?v=@{version}'); } } } @@ -285,7 +285,7 @@ } .layers { - background: transparent url('/img/gallery-multivendor.png?v=@{version}') + background: transparent url('img/gallery-multivendor.png?v=@{version}') center bottom no-repeat; background-size: 300px 143px; @@ -308,16 +308,16 @@ //Compensations for < IE 9 .no-backgroundsize { #gallery-multivendor .layers { - background-image: url('/img/gallery-multivendor-300x143.png?v=@{version}'); + background-image: url('img/gallery-multivendor-300x143.png?v=@{version}'); @media (min-width: @screen-sm-min) { - background-image: url('/img/gallery-multivendor-680x323.png?v=@{version}'); + background-image: url('img/gallery-multivendor-680x323.png?v=@{version}'); } @media (min-width: @screen-md-min) { - background-image: url('/img/gallery-multivendor-540x256.png?v=@{version}'); + background-image: url('img/gallery-multivendor-540x256.png?v=@{version}'); background-position: 95%; } @media (min-width: @screen-lg-min) { - background-image: url('/img/gallery-multivendor-740x351.png?v=@{version}'); + background-image: url('img/gallery-multivendor-740x351.png?v=@{version}'); background-position: right top; } } diff --git a/docs/src/css/less/homepage.less b/docs/src/css/less/homepage.less index bf92f435..bd0dae10 100644 --- a/docs/src/css/less/homepage.less +++ b/docs/src/css/less/homepage.less @@ -2,7 +2,7 @@ .intro { &.aboutbox { @media (min-width: @screen-sm-min) { - background: @navbar-inverse-bg url('/img/header-bg.png?v=@{version}') + background: @navbar-inverse-bg url('img/header-bg.png?v=@{version}') center -228px no-repeat; } @@ -106,31 +106,31 @@ background-position: center center; &.standardized { - background-image: url('/img/icon_standardization.png?v=@{version}'); + background-image: url('img/icon_standardization.png?v=@{version}'); @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { - background-image: url('/img/icon_standardization@2x.png?v=@{version}'); + background-image: url('img/icon_standardization@2x.png?v=@{version}'); background-size: 19px 25px; } } &.efficency { - background-image: url('/img/icon_efficency.png?v=@{version}'); + background-image: url('img/icon_efficency.png?v=@{version}'); @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { - background-image: url('/img/icon_efficency@2x.png?v=@{version}'); + background-image: url('img/icon_efficency@2x.png?v=@{version}'); background-size: 25px 23px; } } &.nimbleness { - background-image: url('/img/icon_nimbleness.png?v=@{version}'); + background-image: url('img/icon_nimbleness.png?v=@{version}'); @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { - background-image: url('/img/icon_nimbleness@2x.png?v=@{version}'); + background-image: url('img/icon_nimbleness@2x.png?v=@{version}'); background-size: 24px 24px; } } diff --git a/docs/src/css/less/mixins.less b/docs/src/css/less/mixins.less index 5d4b121b..bcb9543f 100644 --- a/docs/src/css/less/mixins.less +++ b/docs/src/css/less/mixins.less @@ -208,7 +208,7 @@ height: 43px; display: block; position: absolute; - background: transparent url('/img/howitworks_qmark.png'); + background: transparent url('img/howitworks_qmark.png'); top: -22px; left: 50%; diff --git a/docs/src/css/less/nav.less b/docs/src/css/less/nav.less index 4c5c7a49..bb905cbd 100644 --- a/docs/src/css/less/nav.less +++ b/docs/src/css/less/nav.less @@ -1,7 +1,7 @@ //put this background image only on the home page .home .navbar-inverse { @media (min-width: @screen-sm-min) { - background: @navbar-inverse-bg url('/img/header-bg.png?v=@{version}') center -114px + background: @navbar-inverse-bg url('img/header-bg.png?v=@{version}') center -114px no-repeat; } @@ -48,10 +48,10 @@ } width: @navbar-width; height: @navbar-height; - background: transparent url('/img/logo.png?v=@{version}') top left no-repeat; + background: transparent url('../img/logo.png?v=@{version}') top left no-repeat; @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { - background-image: url('/img/logo@2x.png?v=@{version}'); + background-image: url('../img/logo@2x.png?v=@{version}'); background-size: @navbar-width @navbar-height; } } diff --git a/docs/src/css/less/site.less b/docs/src/css/less/site.less index 267f8383..54185a6b 100644 --- a/docs/src/css/less/site.less +++ b/docs/src/css/less/site.less @@ -190,7 +190,7 @@ dl.faq { top: 46%; left: 0px; content: ''; - background: url('/img/gallery-multivendor-740x351.png?v=@{version}'); + background: url('img/gallery-multivendor-740x351.png?v=@{version}'); .opacity(0.05); transform: rotateX(50deg) rotateZ(0deg) rotateY(0deg) translateY(-14%) translateX(-10%) translateZ(370px); diff --git a/docs/src/sdk-template/layouts/main.handlebars b/docs/src/sdk-template/layouts/main.handlebars index 954cb062..3f5c8db8 100755 --- a/docs/src/sdk-template/layouts/main.handlebars +++ b/docs/src/sdk-template/layouts/main.handlebars @@ -6,27 +6,27 @@ - + - + - - - - - - - - - - - - - + + + + + + + + + + + + + +