mirror of
https://github.com/Chalarangelo/mini.css.git
synced 2025-08-13 09:23:58 +02:00
Updated module comments for easier viewing
This commit is contained in:
47
dist/mini-default.css
vendored
47
dist/mini-default.css
vendored
@@ -1,7 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
Flavor name: Default (mini-default)
|
Flavor name: Default (mini-default)
|
||||||
Author: Angelos Chalaris (chalarangelo@gmail.com)
|
Author: Angelos Chalaris (chalarangelo@gmail.com)
|
||||||
mini.css version: v2.0 (in-production)
|
mini.css version: v2.0.0 (Fermion)
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
Browsers resets and base typography.
|
||||||
*/
|
*/
|
||||||
html {
|
html {
|
||||||
font-size: 16px; }
|
font-size: 16px; }
|
||||||
@@ -142,6 +145,9 @@ a {
|
|||||||
a:hover, a:focus, a:active {
|
a:hover, a:focus, a:active {
|
||||||
opacity: 0.75; }
|
opacity: 0.75; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
Definitions for the grid system.
|
||||||
|
*/
|
||||||
.container {
|
.container {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 10px; }
|
padding: 0 10px; }
|
||||||
@@ -534,6 +540,9 @@ a {
|
|||||||
.col-lg-last {
|
.col-lg-last {
|
||||||
-webkit-order: 999;
|
-webkit-order: 999;
|
||||||
order: 999; } }
|
order: 999; } }
|
||||||
|
/*
|
||||||
|
Definitions for navigation elements.
|
||||||
|
*/
|
||||||
header {
|
header {
|
||||||
display: block;
|
display: block;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
@@ -586,6 +595,9 @@ footer {
|
|||||||
footer a, footer a:visited {
|
footer a, footer a:visited {
|
||||||
color: #039be5; }
|
color: #039be5; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
Definitions for forms and input elements.
|
||||||
|
*/
|
||||||
form {
|
form {
|
||||||
background: #eeeeee;
|
background: #eeeeee;
|
||||||
border: 1px solid #bdbdbd;
|
border: 1px solid #bdbdbd;
|
||||||
@@ -785,6 +797,9 @@ input[type="file"] {
|
|||||||
background: #212121;
|
background: #212121;
|
||||||
content: ''; }
|
content: ''; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
Definitions for the responsive table component.
|
||||||
|
*/
|
||||||
table {
|
table {
|
||||||
border-collapse: separate;
|
border-collapse: separate;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
@@ -962,6 +977,9 @@ table.striped tr:nth-of-type(2n) > td {
|
|||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
table.striped:not(.preset) tr:nth-of-type(2n) {
|
table.striped:not(.preset) tr:nth-of-type(2n) {
|
||||||
background: #eeeeee; } }
|
background: #eeeeee; } }
|
||||||
|
/*
|
||||||
|
Definitions for cards and containers.
|
||||||
|
*/
|
||||||
.card {
|
.card {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
@@ -1000,6 +1018,9 @@ table.striped tr:nth-of-type(2n) > td {
|
|||||||
@media (min-width: 320px) {
|
@media (min-width: 320px) {
|
||||||
.card {
|
.card {
|
||||||
max-width: 320px; } }
|
max-width: 320px; } }
|
||||||
|
/*
|
||||||
|
Definitions for tabs/horizontal accordions.
|
||||||
|
*/
|
||||||
.tabs {
|
.tabs {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@@ -1107,6 +1128,9 @@ table.striped tr:nth-of-type(2n) > td {
|
|||||||
.tabs > [type="radio"] + label + div + [type="radio"] + label {
|
.tabs > [type="radio"] + label + div + [type="radio"] + label {
|
||||||
border: 1px solid #9e9e9e;
|
border: 1px solid #9e9e9e;
|
||||||
border-top: 0; } }
|
border-top: 0; } }
|
||||||
|
/*
|
||||||
|
Definitions for contextual background elements and alerts.
|
||||||
|
*/
|
||||||
mark {
|
mark {
|
||||||
background: #0277bd;
|
background: #0277bd;
|
||||||
color: #fafafa;
|
color: #fafafa;
|
||||||
@@ -1155,6 +1179,9 @@ mark {
|
|||||||
-webkit-animation: alert-anim 6s linear infinite;
|
-webkit-animation: alert-anim 6s linear infinite;
|
||||||
animation: alert-anim 6s linear infinite; }
|
animation: alert-anim 6s linear infinite; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
Definitions for progress elements and spinners.
|
||||||
|
*/
|
||||||
progress {
|
progress {
|
||||||
display: block;
|
display: block;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
@@ -1209,6 +1236,9 @@ progress {
|
|||||||
-webkit-animation: spinner-donut-anim 1.2s linear infinite;
|
-webkit-animation: spinner-donut-anim 1.2s linear infinite;
|
||||||
animation: spinner-donut-anim 1.2s linear infinite; }
|
animation: spinner-donut-anim 1.2s linear infinite; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
Definitions for utilities and helper classes.
|
||||||
|
*/
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none !important; }
|
display: none !important; }
|
||||||
|
|
||||||
@@ -1309,6 +1339,9 @@ ul.breadcrumbs {
|
|||||||
margin-left: auto !important;
|
margin-left: auto !important;
|
||||||
margin-right: auto !important; }
|
margin-right: auto !important; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
Custom elements for forms and input elements.
|
||||||
|
*/
|
||||||
button.primary, [type="button"].primary, [type="submit"].primary,
|
button.primary, [type="button"].primary, [type="submit"].primary,
|
||||||
[type="reset"].primary, .button.primary {
|
[type="reset"].primary, .button.primary {
|
||||||
background: rgba(2, 119, 189, 0.9);
|
background: rgba(2, 119, 189, 0.9);
|
||||||
@@ -1361,6 +1394,9 @@ button.large, [type="button"].large, [type="submit"].large,
|
|||||||
padding: 12px 18px;
|
padding: 12px 18px;
|
||||||
margin: 10px 8px; }
|
margin: 10px 8px; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
Custom elements for cards and containers.
|
||||||
|
*/
|
||||||
@media (min-width: 480px) {
|
@media (min-width: 480px) {
|
||||||
.card.large {
|
.card.large {
|
||||||
max-width: 480px; } }
|
max-width: 480px; } }
|
||||||
@@ -1389,6 +1425,9 @@ button.large, [type="button"].large, [type="submit"].large,
|
|||||||
.card > .section.double-padded {
|
.card > .section.double-padded {
|
||||||
padding: 10px 12px 10px; }
|
padding: 10px 12px 10px; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
Custom contextual background elements and alerts.
|
||||||
|
*/
|
||||||
mark.secondary {
|
mark.secondary {
|
||||||
background: #f44336; }
|
background: #f44336; }
|
||||||
|
|
||||||
@@ -1417,6 +1456,9 @@ mark.inline-block {
|
|||||||
.alert.critical {
|
.alert.critical {
|
||||||
border: 1px solid #d50000; }
|
border: 1px solid #d50000; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
Custom elements for progress elements and spinners.
|
||||||
|
*/
|
||||||
progress.inline {
|
progress.inline {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
@@ -1470,6 +1512,9 @@ progress.nano {
|
|||||||
width: 32px;
|
width: 32px;
|
||||||
height: 32px; }
|
height: 32px; }
|
||||||
|
|
||||||
|
/*
|
||||||
|
Custom elements for utilities and helper classes.
|
||||||
|
*/
|
||||||
.bordered {
|
.bordered {
|
||||||
border: 1px solid rgba(0, 0, 0, 0.25) !important; }
|
border: 1px solid rgba(0, 0, 0, 0.25) !important; }
|
||||||
|
|
||||||
|
@@ -639,3 +639,4 @@
|
|||||||
- Thoroughly tested `close` and `breadcrumbs`. Found dos and don'ts.
|
- Thoroughly tested `close` and `breadcrumbs`. Found dos and don'ts.
|
||||||
- Completed documentation for `utility` module.
|
- Completed documentation for `utility` module.
|
||||||
- Removed `playground.html` page, as it was no longer needed.
|
- Removed `playground.html` page, as it was no longer needed.
|
||||||
|
- Updated comments for modules, so that they can show up in the resulting file.
|
@@ -1,12 +1,10 @@
|
|||||||
// This is a flavor file. Duplicate it and edit it to create your own
|
// This is a flavor file. Duplicate it and edit it to create your own flavor. Read instructions carefully.
|
||||||
// flavor. Read instructions carefully.
|
// Single-line comments, starting with '//' will not be included in your final CSS file. Multiline comments,
|
||||||
// Single-line comments, starting with '//' will not be included in
|
// structured like the flavor description below, will be included in your final CSS file.
|
||||||
// your final CSS file. Multiline comments, structured like the flavor
|
|
||||||
// description below, will be included in your final CSS file.
|
|
||||||
/*
|
/*
|
||||||
Flavor name: Default (mini-default)
|
Flavor name: Default (mini-default)
|
||||||
Author: Angelos Chalaris (chalarangelo@gmail.com)
|
Author: Angelos Chalaris (chalarangelo@gmail.com)
|
||||||
mini.css version: v2.0 (in-production)
|
mini.css version: v2.0.0 (Fermion)
|
||||||
*/
|
*/
|
||||||
// Basic rules for body and typography
|
// Basic rules for body and typography
|
||||||
$fore-color: #212121; // Text and general foreground color
|
$fore-color: #212121; // Text and general foreground color
|
||||||
@@ -518,6 +516,9 @@ $center-block-name: 'center-block'; // Class name for center block
|
|||||||
// Enable mini.css
|
// Enable mini.css
|
||||||
@import '../mini/core';
|
@import '../mini/core';
|
||||||
// Use mixins for forms and inputs
|
// Use mixins for forms and inputs
|
||||||
|
/*
|
||||||
|
Custom elements for forms and input elements.
|
||||||
|
*/
|
||||||
@include make-button-alt-color ($button-variant1-name, $button-variant1-back-color,
|
@include make-button-alt-color ($button-variant1-name, $button-variant1-back-color,
|
||||||
$button-variant1-back-opacity, $button-variant1-hover-back-opacity, $button-variant1-fore-color);
|
$button-variant1-back-opacity, $button-variant1-hover-back-opacity, $button-variant1-fore-color);
|
||||||
@include make-button-alt-color ($button-variant2-name, $button-variant2-back-color,
|
@include make-button-alt-color ($button-variant2-name, $button-variant2-back-color,
|
||||||
@@ -531,6 +532,9 @@ $center-block-name: 'center-block'; // Class name for center block
|
|||||||
@include make-button-alt-style ($button-style2-name, $button-style2-border-style,
|
@include make-button-alt-style ($button-style2-name, $button-style2-border-style,
|
||||||
$button-style2-border-radius, $button-style2-padding, $button-style2-margin);
|
$button-style2-border-radius, $button-style2-padding, $button-style2-margin);
|
||||||
// Use mixins for cards
|
// Use mixins for cards
|
||||||
|
/*
|
||||||
|
Custom elements for cards and containers.
|
||||||
|
*/
|
||||||
@include make-card-alt-size ($card-size1-name, $card-size1-width);
|
@include make-card-alt-size ($card-size1-name, $card-size1-width);
|
||||||
@include make-card-alt-size ($card-size2-name, $card-size2-width);
|
@include make-card-alt-size ($card-size2-name, $card-size2-width);
|
||||||
@include make-card-alt-size ($card-size3-name, $card-size3-width);
|
@include make-card-alt-size ($card-size3-name, $card-size3-width);
|
||||||
@@ -542,6 +546,9 @@ $center-block-name: 'center-block'; // Class name for center block
|
|||||||
$card-section-style2-fore-color);
|
$card-section-style2-fore-color);
|
||||||
@include make-card-section-alt-style ($card-section-padding1-name, $card-section-padding1-padding);
|
@include make-card-section-alt-style ($card-section-padding1-name, $card-section-padding1-padding);
|
||||||
// Use mixins for contextual background elements and alerts
|
// Use mixins for contextual background elements and alerts
|
||||||
|
/*
|
||||||
|
Custom contextual background elements and alerts.
|
||||||
|
*/
|
||||||
@include make-mark-alt-color ($mark-variant1-name, $mark-variant1-back-color);
|
@include make-mark-alt-color ($mark-variant1-name, $mark-variant1-back-color);
|
||||||
@include make-mark-alt-color ($mark-variant2-name, $mark-variant2-back-color);
|
@include make-mark-alt-color ($mark-variant2-name, $mark-variant2-back-color);
|
||||||
@include make-mark-alt-style ($mark-style1-name, $mark-style1-border-style,
|
@include make-mark-alt-style ($mark-style1-name, $mark-style1-border-style,
|
||||||
@@ -553,6 +560,9 @@ $center-block-name: 'center-block'; // Class name for center block
|
|||||||
@include make-alert-alt-style ($alert-style1-name, $alert-style1-border-style, $alert-style1-border-radius);
|
@include make-alert-alt-style ($alert-style1-name, $alert-style1-border-style, $alert-style1-border-radius);
|
||||||
@include make-alert-alt-style ($alert-style2-name, $alert-style2-border-style, $alert-style2-border-radius);
|
@include make-alert-alt-style ($alert-style2-name, $alert-style2-border-style, $alert-style2-border-radius);
|
||||||
// Use mixins for progress elements and spinners
|
// Use mixins for progress elements and spinners
|
||||||
|
/*
|
||||||
|
Custom elements for progress elements and spinners.
|
||||||
|
*/
|
||||||
@include make-progress-inline ($progress-inline-name, $progress-inline-width);
|
@include make-progress-inline ($progress-inline-name, $progress-inline-width);
|
||||||
@include make-progress-alt-color ($progress-variant1-name, $progress-variant1-fore-color);
|
@include make-progress-alt-color ($progress-variant1-name, $progress-variant1-fore-color);
|
||||||
@include make-progress-alt-color ($progress-variant2-name, $progress-variant2-fore-color);
|
@include make-progress-alt-color ($progress-variant2-name, $progress-variant2-fore-color);
|
||||||
@@ -566,6 +576,9 @@ $center-block-name: 'center-block'; // Class name for center block
|
|||||||
@include make-spinner-donut-alt-style ($spinner-donut-style1-name, $spinner-donut-style1-size,
|
@include make-spinner-donut-alt-style ($spinner-donut-style1-name, $spinner-donut-style1-size,
|
||||||
$spinner-donut-style1-border-thickness);
|
$spinner-donut-style1-border-thickness);
|
||||||
// Use mixins for utilities and helper classes
|
// Use mixins for utilities and helper classes
|
||||||
|
/*
|
||||||
|
Custom elements for utilities and helper classes.
|
||||||
|
*/
|
||||||
@include make-border-generic ($border-generic-name);
|
@include make-border-generic ($border-generic-name);
|
||||||
@include make-border-radial-style ($border-radial-style1-name, $border-radial-style1-radius);
|
@include make-border-radial-style ($border-radial-style1-name, $border-radial-style1-radius);
|
||||||
@include make-border-radial-style ($border-radial-style2-name, $border-radial-style2-radius);
|
@include make-border-radial-style ($border-radial-style2-name, $border-radial-style2-radius);
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
// Definitions for cards and containers.
|
/*
|
||||||
|
Definitions for cards and containers.
|
||||||
|
*/
|
||||||
// Dependency: This module depends heavily on the grid system module.
|
// Dependency: This module depends heavily on the grid system module.
|
||||||
// Card styling
|
// Card styling
|
||||||
$card-name: 'card' !default; // Class name for the cards
|
$card-name: 'card' !default; // Class name for the cards
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
// Definitions for contextual background elements and alerts.
|
/*
|
||||||
|
Definitions for contextual background elements and alerts.
|
||||||
|
*/
|
||||||
// Contextual background elements use the mark element as their base.
|
// Contextual background elements use the mark element as their base.
|
||||||
// Default styling for mark. Use mixins for alternate styles.
|
// Default styling for mark. Use mixins for alternate styles.
|
||||||
$mark-inline-block-name: 'inline-block' !default; // Class name for <mark> inline block styling
|
$mark-inline-block-name: 'inline-block' !default; // Class name for <mark> inline block styling
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
// Browsers resets and base typography.
|
/*
|
||||||
|
Browsers resets and base typography.
|
||||||
|
*/
|
||||||
$apply-defaults-to-all: true !default; // Should default values be applied to all elements? (`true` or `false`).
|
$apply-defaults-to-all: true !default; // Should default values be applied to all elements? (`true` or `false`).
|
||||||
$base-root-font-size: 16px !default; // Root font sizing for all elements - In `px` only!
|
$base-root-font-size: 16px !default; // Root font sizing for all elements - In `px` only!
|
||||||
html {
|
html {
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
// Definitions for the grid system.
|
/*
|
||||||
|
Definitions for the grid system.
|
||||||
|
*/
|
||||||
// The grid system uses the flexbox module, meaning it might be incompatible with certain browsers.
|
// The grid system uses the flexbox module, meaning it might be incompatible with certain browsers.
|
||||||
$use-four-step-grid: false !default; // Flag for the grid system choice
|
$use-four-step-grid: false !default; // Flag for the grid system choice
|
||||||
$grid-container-name: 'container' !default; // Class name for the grid system container
|
$grid-container-name: 'container' !default; // Class name for the grid system container
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
// Definitions for forms and input elements.
|
/*
|
||||||
|
Definitions for forms and input elements.
|
||||||
|
*/
|
||||||
// Different elements are styled based on the same set of rules.
|
// Different elements are styled based on the same set of rules.
|
||||||
// Base form styling.
|
// Base form styling.
|
||||||
form {
|
form {
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
// Definitions for navigation elements.
|
/*
|
||||||
|
Definitions for navigation elements.
|
||||||
|
*/
|
||||||
// Different elements are styled based on the same set of rules.
|
// Different elements are styled based on the same set of rules.
|
||||||
// Header styling.
|
// Header styling.
|
||||||
$button-class-name: 'button' !default; // Class name for the button-like elements
|
$button-class-name: 'button' !default; // Class name for the button-like elements
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
// Definitions for progress elements and spinners.
|
/*
|
||||||
|
Definitions for progress elements and spinners.
|
||||||
|
*/
|
||||||
// Progress elements use the progress element as their base.
|
// Progress elements use the progress element as their base.
|
||||||
// Default styling for progress. Use mixins for alternate styles.
|
// Default styling for progress. Use mixins for alternate styles.
|
||||||
$progress-max-value: 100 !default; // Arithmetic max value of <progress>
|
$progress-max-value: 100 !default; // Arithmetic max value of <progress>
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
// Definitions for tabs/horizontal accordions.
|
/*
|
||||||
|
Definitions for tabs/horizontal accordions.
|
||||||
|
*/
|
||||||
// Dependency: This module is somewhat dependent on the grid system.
|
// Dependency: This module is somewhat dependent on the grid system.
|
||||||
// Tab styling
|
// Tab styling
|
||||||
$tab-container-name: 'tabs' !default; // Class name for the tabs container
|
$tab-container-name: 'tabs' !default; // Class name for the tabs container
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
// Definitions for the responsive table component.
|
/*
|
||||||
|
Definitions for the responsive table component.
|
||||||
|
*/
|
||||||
// The tables use the common table elements and syntax.
|
// The tables use the common table elements and syntax.
|
||||||
// Desktop view.
|
// Desktop view.
|
||||||
table {
|
table {
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
// Definitions for utilities and helper classes.
|
/*
|
||||||
|
Definitions for utilities and helper classes.
|
||||||
|
*/
|
||||||
// Hidden elements class. ATTENTION: Uses !important.
|
// Hidden elements class. ATTENTION: Uses !important.
|
||||||
.#{$hidden-name}{
|
.#{$hidden-name}{
|
||||||
display: none !important;
|
display: none !important;
|
||||||
|
Reference in New Issue
Block a user