From 75f83aa49a2f6bee876b4b0bd31e475e9d7f7625 Mon Sep 17 00:00:00 2001 From: HerrHase Date: Wed, 2 Mar 2022 21:37:19 +0100 Subject: [PATCH] adding #7, change documentation --- {public => examples}/components.html | 435 +- .../fonts/IBMPlexMono-Bold.eot | Bin .../fonts/IBMPlexMono-Bold.ttf | Bin .../fonts/IBMPlexMono-Bold.woff | Bin .../fonts/IBMPlexMono-Bold.woff2 | Bin {public => examples}/fonts/IBMPlexMono.eot | Bin {public => examples}/fonts/IBMPlexMono.ttf | Bin {public => examples}/fonts/IBMPlexMono.woff | Bin {public => examples}/fonts/IBMPlexMono.woff2 | Bin examples/helpers.html | 67 + {public => examples}/image.jpg | Bin {public => examples}/impressum.html | 0 {public => examples}/imprint.html | 0 {public => examples}/index.html | 0 {public => examples}/layout.html | 0 {public => examples}/mix-manifest.json | 0 examples/plain-ui.css | 14746 ++++++++++++++++ examples/spritemap.js | 13 + {public => examples}/symbol-defs.svg | 0 public/helpers.html | 105 - public/plain-ui.css | 1 - public/spritemap.js | 1 - src/includes/_grid.scss | 211 - src/includes/_variables.scss | 71 - src/scss/layouts/_grid.scss | 8 +- webpack.mix.js | 6 +- 26 files changed, 14855 insertions(+), 809 deletions(-) rename {public => examples}/components.html (55%) rename {public => examples}/fonts/IBMPlexMono-Bold.eot (100%) rename {public => examples}/fonts/IBMPlexMono-Bold.ttf (100%) rename {public => examples}/fonts/IBMPlexMono-Bold.woff (100%) rename {public => examples}/fonts/IBMPlexMono-Bold.woff2 (100%) rename {public => examples}/fonts/IBMPlexMono.eot (100%) rename {public => examples}/fonts/IBMPlexMono.ttf (100%) rename {public => examples}/fonts/IBMPlexMono.woff (100%) rename {public => examples}/fonts/IBMPlexMono.woff2 (100%) create mode 100644 examples/helpers.html rename {public => examples}/image.jpg (100%) rename {public => examples}/impressum.html (100%) rename {public => examples}/imprint.html (100%) rename {public => examples}/index.html (100%) rename {public => examples}/layout.html (100%) rename {public => examples}/mix-manifest.json (100%) create mode 100644 examples/plain-ui.css create mode 100644 examples/spritemap.js rename {public => examples}/symbol-defs.svg (100%) delete mode 100644 public/helpers.html delete mode 100644 public/plain-ui.css delete mode 100644 public/spritemap.js delete mode 100644 src/includes/_grid.scss delete mode 100644 src/includes/_variables.scss diff --git a/public/components.html b/examples/components.html similarity index 55% rename from public/components.html rename to examples/components.html index b2b3d09..ae6b40d 100644 --- a/public/components.html +++ b/examples/components.html @@ -5,7 +5,7 @@ - Plain UI | Lightweight CSS UI Framework for Building Apps and Websites + Plain UI 0.5 | Lightweight CSS UI Framework for Building Apps and Websites @@ -18,53 +18,17 @@
-

+
Plain UI 0.5 -

-
-
-
- -
-
+

Components

@@ -80,12 +44,7 @@

Badge

-
-<span class="badge"> - Category -</span> - -
+ Category @@ -96,21 +55,6 @@

Bar

-
-<div class="bar"> - <div class="bar__start"> - <button class="button button--transparent"> - <svg class="icon fill-text-contrast marginless" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-close"></use> - </svg> - </button> - </div> - <div class="bar__main"> - Bar - </div> -</div> - -
- -

Field

-
-<div class="field-group"> - <label class="field-label"> - Name - <input class="field-text" /> - </label> -</div> - -
+

+ Field +

-
-<div class="field-group field-group--valid"> - <label class="field-label"> - <svg class="icon" aria-hidden="true"> - <use class="test" xlink:href="symbol-defs.svg#icon-check"></use> - </svg> - Surname - <input class="field-text" /> - </label> -</div> - -
-
-<div class="field-group field-group--error"> - <label class="field-label"> - <svg class="icon" aria-hidden="true"> - <use class="test" xlink:href="symbol-defs.svg#icon-warning"></use> - </svg> - E-Mail - <input class="field-text" /> - </label> - <span class="field-error"> - String is not valid - </span> -</div> - -
-
-<div class="field-group"> - <label class="field-label"> - Towns - <select class="field-choice"> - <option></option> - <option value="lonytown">Lonytown</option> - </select> - </label> -</div> - -
-
-<div class="field-group"> - <label class="field-label"> - <input class="field-choice" type="checkbox" value="true" /> - <svg class="icon field-choice__unchecked" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-checkbox"></use> - </svg> - <svg class="icon field-choice__checked" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-checkbox-checked"></use> - </svg> - Checkbox - </label> -</div> - -
-
-<div class="field-group"> - <label class="field-label"> - <input class="field-choice" type="radio" name="radio" value="true" /> - <svg class="icon field-choice__unchecked" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-circle"></use> - </svg> - <svg class="icon field-choice__checked" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-circle-check"></use> - </svg> - Radio A - </label> - <label class="field-label"> - <input class="field-choice" type="radio" name="radio" value="true" /> - <svg class="icon field-choice__unchecked" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-circle"></use> - </svg> - <svg class="icon field-choice__checked" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-circle-check"></use> - </svg> - Radio B - </label> -</div> - -
-
-<div class="field-group"> - <label class="field-label"> - <input class="field-choice" type="checkbox" name="radio" value="true" /> - <span class="field-switch"></span> - </label> -</div> - -
@@ -429,19 +255,9 @@
-

Icon

-
-<svg class="icon" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-check"></use> -</svg> -<svg class="icon fill-danger" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-camera"></use> -</svg> -<svg class="icon fill-success" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-clock"></use> -</svg> - -
+

+ Icon +

@@ -453,15 +269,9 @@ -

Loading

-
-<div class="loading"> - <span></span> - <span></span> - <span></span> -</div> - -
+

+ Loading +

@@ -471,15 +281,6 @@

Media

-
-<figure class="figure"> - <img class="media" src="/image.jpg" /> - <figcaption class="figure__caption"> - food truck yr franzen pabst - </figcaption> -</figure> - -
@@ -487,35 +288,10 @@
-

Modal

-
-<div class="modal"> - <div class="modal__inner"> - <div class="modal__title t-center"> - <svg class="icon fill-text-contrast" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-close"></use> - </svg> - Delete - </div> - <div class="modal__body"> - Do you really wan't to delete all files? - </div> - <div class="modal__footer"> - <button class="button button--outline button--danger" onclick="closeModal()"> - Confirm - </button> - <button class="button button--outline float-right" onclick="closeModal()"> - Reject - </button> - </div> - </div> -</div> - -
@@ -555,40 +331,6 @@

Panel

-
-<div class="panel"> - <div class="bar"> - <div class="bar__start"> - <button type="button" class="button button--transparent"> - <svg class="icon fill-text-contrast" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-expand"></use> - </svg> - </button> - </div> - <div class="bar__main">Panel</div> - <div class="bar__end"> - <button type="button" class="button button--transparent"> - <svg class="icon fill-text-contrast" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-edit"></use> - </svg> - </button> - <button type="button" class="button button--transparent"> - <svg class="icon fill-text-contrast" aria-hidden="true"> - <use xlink:href="symbol-defs.svg#icon-close"></use> - </svg> - </button> - </div> - </div> - <div class="panel__body"> - <div class="content m-last-child-0"> - <p> - Content - </p> - </div> - </div> -</div> - -
@@ -626,12 +368,7 @@

Progress

-
-<div class="progress"> - <div class="progress__inner" style="width: 20%;"></div> -</div> - -
+
@@ -640,21 +377,6 @@

Sidebar

-
-<div class="sidebar"> - <div class="sidebar__inner"> - <div class="sidebar__body"> - - </div> - <div class="sidebar__footer"> - <button type="button" class="button m-bottom-0"> - Close - </button> - </div> - </div> -</div> - -
@@ -684,35 +406,7 @@

Sidebar + Bar

-
-<div class="sidebar"> - <div class="sidebar__inner"> - - <div class="bar"> - <div class="bar__main"> - Sidebar - </div> - <div class="bar__end"> - <button class="button button--transparent" type="button"> - <svg class="icon fill-text-contrast" aria-hidden="true"> - <use xlink:href="/symbol-defs.svg#icon-close"></use> - </svg> - </button> - </div> - </div> - - <div class="sidebar__body"> - - </div> - <div class="sidebar__footer"> - <button type="button" class="button m-bottom-0"> - Close - </button> - </div> - </div> -</div> - -
+ @@ -756,39 +450,7 @@

Table

-
-<table class="table table--striped table--hover"> - <thead> - <tr class="table__tr"> - <th class="table__th">A</th> - <th class="table__th">B</th> - <th class="table__th">C</th> - <th class="table__th">D</th> - </tr> - </thead> - <tbody> - <tr class="table__tr"> - <td class="table__td">1</td> - <td class="table__td">2</td> - <td class="table__td">3</td> - <td class="table__td">4</td> - </tr> - <tr class="table__tr"> - <td class="table__td">1</td> - <td class="table__td">2</td> - <td class="table__td">3</td> - <td class="table__td">4</td> - </tr> - <tr class="table__tr"> - <td class="table__td">1</td> - <td class="table__td">2</td> - <td class="table__td">3</td> - <td class="table__td">4</td> - </tr> - </tbody> -</table> - -
+ @@ -824,20 +486,7 @@

Tabs

-
-<div class="tabs"> - <a class="tabs__item tabs__item--selected"> - Tab A - </a> - <a class="tabs__item"> - Tab B - </a> - <a class="tabs__item"> - Tab C - </a> -</div> - -
+
Tab A @@ -853,22 +502,7 @@

Tabs + Bar

-
-<div class="bar"> - <div class="tabs tabs--contrast"> - <a class="tabs__item tabs__item--selected"> - Tab A - </a> - <a class="tabs__item"> - Tab B - </a> - <a class="tabs__item"> - Tab C - </a> - </div> -</div> - -
+
@@ -887,26 +521,6 @@

Toast

-
-<div class="toast-wrapper"> - <div class="toast"> - <div class="toast__icon"> - <svg class="icon fill-text-contrast" aria-hidden="true"> - <use xlink:href="/symbol-defs.svg#icon-warning"></use> - </svg> - </div> - <div class="toast__body"> - - </div> - <div class="toast__button"> - <svg class="icon fill-text-contrast" aria-hidden="true"> - <use xlink:href="/symbol-defs.svg#icon-close"></use> - </svg> - </div> - </div> -</div> - -