From 8b01fef7bcb55d748644ca2ccd95c8703ea3c02d Mon Sep 17 00:00:00 2001 From: Tony Air Date: Sat, 20 Feb 2021 13:00:59 +0700 Subject: [PATCH] IMPR: styling improvements --- src/html/Elements/Accordion.html | 186 ++++++------ src/html/Elements/Content.html | 265 +++++++++------- src/html/Elements/ElementsList.html | 42 ++- src/html/Footer.html | 20 +- src/html/_components/LoadingSpinner.html | 7 - src/index.html | 18 +- src/js/_components/_main.js | 1 + src/js/app.js | 30 +- src/scss/_components/_ui.elemental.scss | 77 ++--- src/scss/_components/_ui.main.graphql.scss | 28 -- src/scss/_components/_ui.main.scss | 332 +++++---------------- src/scss/_layout.scss | 115 +------ src/scss/_typography.scss | 19 +- src/scss/_variables.scss | 102 ++++--- src/scss/types/editor.scss | 79 +++-- webpack.config.js | 1 + webpack.config.serve.js | 16 +- webpack.yml | 1 + 18 files changed, 590 insertions(+), 749 deletions(-) delete mode 100644 src/scss/_components/_ui.main.graphql.scss diff --git a/src/html/Elements/Accordion.html b/src/html/Elements/Accordion.html index 88c074f..85ca64c 100644 --- a/src/html/Elements/Accordion.html +++ b/src/html/Elements/Accordion.html @@ -2,105 +2,105 @@
Some content ...
-
-
-
-
-
- -
-
-
-
-

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

-
-
-
+
+
+

+ +

+
+
+ This is the first item's accordion body. It is + hidden by default, until the collapse plugin adds the + appropriate classes that we use to style each element. These + classes control the overall appearance, as well as the showing + and hiding via CSS transitions. You can modify any of this with + custom CSS or overriding our default variables. It's also worth + noting that just about any HTML can go within the + .accordion-body, though the transition does limit + overflow.
-
-
-
-
- -
-
-
-
-

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

-
-
-
+
+

+ +

+
+
+ This is the second item's accordion body. It is + hidden by default, until the collapse plugin adds the + appropriate classes that we use to style each element. These + classes control the overall appearance, as well as the showing + and hiding via CSS transitions. You can modify any of this with + custom CSS or overriding our default variables. It's also worth + noting that just about any HTML can go within the + .accordion-body, though the transition does limit + overflow.
-
-
-
-
- -
-
-
-
-

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

-
-
-
+
+

+ +

+
+
+ This is the third item's accordion body. It is + hidden by default, until the collapse plugin adds the + appropriate classes that we use to style each element. These + classes control the overall appearance, as well as the showing + and hiding via CSS transitions. You can modify any of this with + custom CSS or overriding our default variables. It's also worth + noting that just about any HTML can go within the + .accordion-body, though the transition does limit + overflow.
-
-
-
-
- -
-
-
-
-

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

-
-
-
-
-
-
-
\ No newline at end of file +
diff --git a/src/html/Elements/Content.html b/src/html/Elements/Content.html index cf698f6..3d58782 100644 --- a/src/html/Elements/Content.html +++ b/src/html/Elements/Content.html @@ -1,112 +1,171 @@ -
+

Content Demo

Quick start

  1. Clone quick start repository

    -
    git clone https://github.com/a2nt/webpack-bootstrap-ui-kit-quick-start.git
    -
  2. -
  3. -

    Install npm packages

    -
    +				
    +git clone https://github.com/a2nt/webpack-bootstrap-ui-kit-quick-start.git
    +
  4. +
  5. +

    Install npm packages

    +
     				cd ./webpack-bootstrap-ui-kit-quick-start.git
     				npm install
    -			
    -
  6. -
  7. -

    Edit ./src files

    -
  8. -
  9. -

    Start development server at https://127.0.0.1:8001/:

    -
    yarn start
    -

    Compile:

    -
    yarn build
    -
  10. -
-

Header #2

-

Test ImageContent Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

-
    -
  1. - First -
      -
    • First
    • -
    • - Second -
        -
      1. First
      2. -
      3. Second
      4. -
      5. Third
      6. -
      -
        -
      • First
      • -
      • Second
      • -
      • Third
      • -
      -
    • -
    • Content Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

    • -
    -
  2. -
  3. -

    {paragraph} Second

    -

    {paragraph} Second #2

    -
  4. -
  5. Content Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

  6. -
-

Table #1: Default

- - - - - - - - - - - - - - - - - - - - - - - - - -
#1#2#3
#1-1#1-2#1-3
#2-1#2-2#2-3
#3-1#3-2#3-3
-

Content Text Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

-

Table #2: Border-less

- - - - - - - - - - - - - - - - - - - - - - - - - -
#1#2#3
#1-1#1-2#1-3
#2-1#2-2#2-3
#3-1#3-2#3-3
+ + +
  • +

    Edit ./src files

    +
  • +
  • +

    Start development server at https://127.0.0.1:8001/:

    +
    yarn start
    +

    Compile:

    +
    yarn build
    +
  • + +

    + Header #2 + +

    +

    + Test ImageContent Text Lorem Ipsum is simply dummy text of the printing and + typesetting industry. Lorem Ipsum has been the industry's standard + dummy text ever since the 1500s, when an unknown printer took a + galley of type and scrambled it to make a type specimen book. It has + survived not only five centuries, but also the leap into electronic + typesetting, remaining essentially unchanged. It was popularised in + the 1960s with the release of Letraset sheets containing Lorem Ipsum + passages, and more recently with desktop publishing software like + Aldus PageMaker including versions of Lorem Ipsum. +

    +
      +
    1. + First +
        +
      • First
      • +
      • + Second +
          +
        1. First
        2. +
        3. Second
        4. +
        5. Third
        6. +
        +
          +
        • First
        • +
        • Second
        • +
        • Third
        • +
        +
      • +
      • +

        + Content Text Lorem Ipsum is simply dummy text of the + printing and typesetting industry. Lorem Ipsum has + been the industry's standard dummy text ever since + the 1500s, when an unknown printer took a galley of + type and scrambled it to make a type specimen book. + It has survived not only five centuries, but also + the leap into electronic typesetting, remaining + essentially unchanged. It was popularised in the + 1960s with the release of Letraset sheets containing + Lorem Ipsum passages, and more recently with desktop + publishing software like Aldus PageMaker including + versions of Lorem Ipsum. +

        +
      • +
      +
    2. +
    3. +

      {paragraph} Second

      +

      {paragraph} Second #2

      +
    4. +
    5. +

      + Content Text Lorem Ipsum is simply dummy text of the + printing and typesetting industry. Lorem Ipsum has been the + industry's standard dummy text ever since the 1500s, when an + unknown printer took a galley of type and scrambled it to + make a type specimen book. It has survived not only five + centuries, but also the leap into electronic typesetting, + remaining essentially unchanged. It was popularised in the + 1960s with the release of Letraset sheets containing Lorem + Ipsum passages, and more recently with desktop publishing + software like Aldus PageMaker including versions of Lorem + Ipsum. +

      +
    6. +
    +

    Responsive Table #1: Default

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Header #1Header #2Header #3
    #1-1#1-2#1-3
    #2-1#2-2#2-3
    #3-1#3-2#3-3
    +

    + Content Text Lorem Ipsum is simply dummy text of the printing and + typesetting industry. Lorem Ipsum has been the industry's standard + dummy text ever since the 1500s, when an unknown printer took a + galley of type and scrambled it to make a type specimen book. It has + survived not only five centuries, but also the leap into electronic + typesetting, remaining essentially unchanged. It was popularised in + the 1960s with the release of Letraset sheets containing Lorem Ipsum + passages, and more recently with desktop publishing software like + Aldus PageMaker including versions of Lorem Ipsum. +

    +

    Responsive Table #2: Border-less

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    Header #1Header #2Header #3
    #1-1#1-2#1-3
    #2-1#2-2#2-3
    #3-1#3-2#3-3
    +
    -
    \ No newline at end of file diff --git a/src/html/Elements/ElementsList.html b/src/html/Elements/ElementsList.html index 2e6d9bf..1a7cb91 100644 --- a/src/html/Elements/ElementsList.html +++ b/src/html/Elements/ElementsList.html @@ -3,40 +3,64 @@ Some content ...
    -
    +
    - Some kind image + Some kind image
    -
    +
    - Some kind image + Some kind image
    -
    +
    - Some kind image + Some kind image
    -
    +
    - Some kind image + Some kind image
    -
    \ No newline at end of file +
    diff --git a/src/html/Footer.html b/src/html/Footer.html index 67559dd..e5468bd 100644 --- a/src/html/Footer.html +++ b/src/html/Footer.html @@ -19,8 +19,11 @@