diff --git a/docs/doc-fragments/drawer.js b/docs/doc-fragments/drawer.js index af00a98..5418fd0 100644 --- a/docs/doc-fragments/drawer.js +++ b/docs/doc-fragments/drawer.js @@ -29,7 +29,16 @@ module.exports = { `You can combine the navigation bar element with the drawer menu for better results.`, `Remember to apply the appropriate classes to any and all elements, as indicated in the examples. Failing to do so will result in the drawer menu not rendering or behaving properly.` ], - customization: [], + customization: [ + `Text color can be changed globally by changing the value of the --fore-color variable. This will affect the text color of the toggle button and items inside the drawer container.`, + `Background color for the drawer container can be changed by changing the value of the --drawer-back-color variable.`, + `Border color for the drawer container can be changed by changing the value of the --drawer-border-color variable.`, + `Text color for the drawer close button can be changed by changing the values of the --drawer-close-color.`, + `Background color for the drawer close button when focused or hovered over can be changed by changing the values of the --drawer-hover-back-color.`, + `Universal margin for elements can be changed globally by changing the value of the --universal-margin variable. As a rule of thumb, consider the universal margin to be the distance you want your paragraphs to have from the sides of the screen.`, + `Universal padding for elements can be changed globally by changing the value of the --universal-padding variable.`, + `Universal border radius for elements can be changed globally by changing the value of the --universal-border-radius variable.` + ], modifiers: [ { title : `Persistent drawer`, diff --git a/docs/v3/DEVLOG.md b/docs/v3/DEVLOG.md index 1f8f8dd..30843bb 100644 --- a/docs/v3/DEVLOG.md +++ b/docs/v3/DEVLOG.md @@ -177,8 +177,13 @@ - Documented `card` and `card section` to complete the `layout` module's docs. - Altered the `dark` section colors, didn't really like them. - Cleaned up certain parts of the docs just a little bit. + +## 20171118 - Documented `button` elements and input grouping. - Documented `header`, `footer` and `nav`. + +## 20171119 + - Documented `drawer`. - Implemented search functionality, using `fuse`. It all works pretty well. - Added `index.html` generation code in the build file, this will allow me to not load a script for the versioning. @@ -188,3 +193,10 @@ - Updated links to open in new tabs when they are external. - Generated new favicons. - Everything should be ready to release `v3.0.0-alpha.1` tomorrow. + +## 20171120 + +- Updated `.drawer` documentation to include customization. +- Recompiled default flavor just in case. +- Fixed the devlog showing wrong dates. **Hugging cat** was at it again, it seems! +- Unleashed the first **Gluon** alpha unto the world! diff --git a/docs/v3/docs.html b/docs/v3/docs.html index 5ad66d0..47ac250 100644 --- a/docs/v3/docs.html +++ b/docs/v3/docs.html @@ -45,12 +45,12 @@
opera

 Opera36

android

 Android56

Browser versions officially supported

- - - - - - + + + + + +

Common textual elements

mini.css utilizes the ruleset of Normalize.css v7.0.0 to reliably deal with inconsistencies between browsers, while applying some tasteful defaults on top, such as using native font stack to figure out the best font for each device, setting the background and foreground colors, as well as the size of the text to 16px and its line height to 1.5.

@@ -62,12 +62,12 @@ <sub>Subscript</sub> <sup>Superscript</sup> <hr/>
- +

Best practices

/* Do not do this (use Sass instead) */
 html {
   font-size: 14px;
 }

Don't: Avoid altering the base font size of 16px directly in your CSS code, as it can cause problems with the display of certain elements.

- +

Customization


Headings

@@ -85,9 +85,9 @@ <h5>Heading 5 <small>Subheading</small></h5> <h6>Heading 6 <small>Subheading</small></h6>
- - - + + +

Customization


Images & captions

@@ -98,8 +98,8 @@ <img src="image.png" alt="Image description"/> <figcaption>Image caption</figcaption> </figure>
- - + +

Notes

Customization


@@ -117,9 +117,9 @@ <li>Eat breakfast</li> <li>Go to work</li> </ol>
- - - + + +

Customization


Code & quotations

@@ -134,8 +134,8 @@ return num1 + num2; }</pre> <blockquote cite="www.quotation.source">This is some text quoted from elsewhere.</blockquote>
- - + +

Notes

Customization


@@ -412,7 +412,7 @@ <input type="password" id="password" placeholder="Password"/> </fieldset> </form>
- +

Best practices

<form>
   <fieldset>
     <legend>Simple form</legend>
@@ -501,7 +501,7 @@
   </div>
 </div>

Don't: Avoid combining input groups with the grid system, as there might be overlapping styles.

Notes

- +
- - + +

Notes

Customization


- - + +

Customization


Menu drawer

@@ -607,7 +607,7 @@ <a href="#">Home</a> </div>

Don't: You should not place anything between the checkbox controlling the drawer and the container.

Notes

- +

Customization

- + \ No newline at end of file