mini.css/docs/modules.html

124 lines
11 KiB
HTML
Raw Normal View History

2016-09-14 12:25:08 +00:00
<!DOCTYPE html>
2017-02-07 10:23:53 +00:00
<html lang="en">
2016-09-14 12:25:08 +00:00
<head>
2017-02-02 22:27:22 +00:00
<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/v2.1.0/dist/mini-default.min.css">
2017-02-07 10:23:53 +00:00
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<title>mini.css - Modules</title>
<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
<meta name="keywords" content="mini, mini.css, CSS, framework, minimal, responsive, style-agnostic, front-end, frontend, Sass, modules">
<meta name="author" content="Angelos Chalaris (chalarangelo)">
<meta property="og:title" content="mini.css - Minimal, responsive, style-agnostic CSS framework">
<meta property="og:description" content="mini.css is a tiny CSS framework designed to build quick, modern and responsive websites."/>
<meta property="og:type" content="website"/><meta property="og:image" content="page_thumb.PNG">
<meta property="og:url" content="https://chalarangelo.github.io/mini.css/"><link rel="icon" type="image/png" href="favicon.png">
<style>
2017-02-07 14:32:10 +00:00
#header-logo { position:relative; top: -4px; display: inline; height: 28px; width: 28px; margin-top: 4px; background: #558b2f; border-radius: 1px; padding: 4px; }
2017-02-07 10:23:53 +00:00
.box-centered { text-align: center; } .box-colored { background: #0277bd; border-radius: 2px; padding: 14px; margin-bottom: 8px; min-height: 14px;} .box-colored.red { background: #e53935; }
.box-centered > .card.fluid {-webkit-box-pack: start; -webkit-box-align: start; -webkit-justify-content: flex-start; justify-content: flex-start; -webkit-align-self: auto; align-self: auto; } [class^='col-'] .card.fluid { margin: 2px 0 20px; } .box-left { text-align: left; }
</style>
2016-09-14 12:25:08 +00:00
</head>
2017-02-02 22:27:22 +00:00
<body>
2017-02-07 10:23:53 +00:00
<header class="sticky">
2017-02-07 14:32:10 +00:00
<a href="index.html" class="logo"><img src="mini-logo.svg" id="header-logo">&nbsp;<span style="position: relative; top:-12px;"><span style="font-size: 1.35em;">m</span>ini<span style="font-size:0.65em; color: #558b2f;">.css</span></span></a>
2017-02-07 10:23:53 +00:00
<div style="display: inline; overflow: auto;">
<a href="index.html" class="button">Introduction</a> <a href="modules.html" class="button">Modules</a>
<a href="flavors.html" class="button">Flavors</a> <a href="customization.html" class="button">Customization</a>
<a href="quick_reference.html" class="button">Quick Reference</a>
<a href="https://github.com/Chalarangelo/mini.css" class="button"><i class="fa fa-github" aria-hidden="true" style="font-size: 1.4em; position: relative; bottom: -2px; margin-right: 2px;"></i>&nbsp;Github</a>
</div>
</header>
2016-12-15 23:48:15 +00:00
<!-- Insert your page content here-->
<main><div class="container">
<div class="row" style="padding-top: 40px;">
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-lg-10 col-lg-offset-1">
2016-12-15 23:48:15 +00:00
<h1>Modules</h1>
<p><strong>mini.css</strong> uses modules as its base building blocks. Each module contains one or more components that affect the same part of the user experience. Below you can see a quick overview of all the modules that compose <strong>mini.css</strong>.</p><br>
</div>
2016-09-15 10:50:39 +00:00
</div>
2016-12-15 23:48:15 +00:00
<div class="row box-centered">
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-md-6 col-lg-5 col-lg-offset-1 row">
2016-12-15 23:48:15 +00:00
<div class="card fluid">
<h2 class="section"><mark class="primary"><i class="fa fa-font fa-fw" aria-hidden="true"></i></mark>&nbsp;Core</h2>
<p class="section box-left">The <strong>core</strong> module contains basic reset and fix rules, based on <a href="http://necolas.github.io/normalize.css/">Normalize.css</a> v5.0.0, along with lots of custom typography rules. Most textual HTML5 elements are styled by this module, so you can start writing your pages immediately without worrying about font families, weights, sizes, line heights, paddings and the like.</p>
<a href="core.html" class="button section">See more</a>
2016-09-15 10:50:39 +00:00
</div>
2016-12-15 23:48:15 +00:00
</div>
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-md-6 col-lg-5 row">
2016-12-15 23:48:15 +00:00
<div class="card fluid">
<h2 class="section"><mark class="secondary"><i class="fa fa-th-large fa-fw" aria-hidden="true"></i></mark>&nbsp;Grid</h2>
<p class="section box-left">The <strong>grid</strong> module provides you with a modern, responsive grid system based on the Flexible Layout Module (commonly known as <em>flexbox</em>). The structure of the grid is simple and logical, allowing you to quickly build your pages from scratch. Setting the layout for a page is easy and will behave the way you want them to on mobile devices and smaller screens.</p>
<a href="grid.html" class="button section">See more</a>
2016-09-15 10:50:39 +00:00
</div>
2016-12-15 23:48:15 +00:00
</div>
2016-10-11 11:33:07 +00:00
</div>
2016-12-15 23:48:15 +00:00
<div class="row box-centered">
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-md-6 col-lg-5 col-lg-offset-1 row">
2016-12-15 23:48:15 +00:00
<div class="card fluid">
<h2 class="section"><mark class="primary"><i class="fa fa-compass fa-fw" aria-hidden="true"></i></mark>&nbsp;Navigation</h2>
<p class="section box-left">The <strong>navigation</strong> module seeks to remedy the problems of vertical and horizontal navigation design paradigms, by combining the two for a better presentational effect. HTML5 navigational elements are at the heart of the module, allowing you to quickly build your navigation without complicated structures and hacks.</p>
<a href="navigation.html" class="button section">See more</a>
</div>
</div>
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-md-6 col-lg-5 row">
2016-12-15 23:48:15 +00:00
<div class="card fluid">
<h2 class="section"><mark class="tertiary"><i class="fa fa-keyboard-o fa-fw" aria-hidden="true"></i></mark>&nbsp;Input Control</h2>
<p class="section box-left">The <strong>input_control</strong> module contains rules that affect forms, input elements, buttons, checkboxes and radio buttons. All of these elements's styles are predefined, allowing you to create modern, responsive forms quickly. Layout alternatives are also provided if you want your forms to look a certain way.</p>
<a href="input_control.html" class="button section">See more</a>
2016-09-19 10:25:48 +00:00
</div>
</div>
2016-12-15 23:48:15 +00:00
</div>
<div class="row box-centered">
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-md-6 col-lg-5 col-lg-offset-1 row">
2016-12-15 23:48:15 +00:00
<div class="card fluid">
<h2 class="section"><mark class="primary"><i class="fa fa-table fa-fw" aria-hidden="true"></i></mark>&nbsp;Table</h2>
<p class="section box-left">The <strong>table</strong> module provides styling and responsiveness for tables. Simple rules and accessible design paradigms have been used to make creating tables quick and easy. Large tables will collapse to cards when on smaller devices or, if you don't want that, they can be locked into their default, desktop view.</p>
<a href="table.html" class="button section">See more</a>
2016-09-19 10:25:48 +00:00
</div>
</div>
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-md-6 col-lg-5 row">
2016-12-15 23:48:15 +00:00
<div class="card fluid">
<h2 class="section"><mark class="secondary"><i class="fa fa-id-card-o fa-fw" aria-hidden="true"></i></mark>&nbsp;Card</h2>
<p class="section box-left">The <strong>card</strong> module provides you with modern, responsive, general-purpose containers for your page's contents. They are very easy to use and their structure is really simple and versatile. Layouts will respond to smaller screens, realigning the cards in a manner that makes your page mobile-friendly.</p>
<a href="card.html" class="button section">See more</a>
2016-09-19 10:25:48 +00:00
</div>
</div>
</div>
2016-12-15 23:48:15 +00:00
<div class="row box-centered">
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-md-6 col-lg-5 col-lg-offset-1 row">
2016-12-15 23:48:15 +00:00
<div class="card fluid">
<h2 class="section"><mark class="secondary"><i class="fa fa-files-o fa-fw" aria-hidden="true"></i></mark>&nbsp;Tab</h2>
<p class="section box-left">The <strong>tab</strong> module aims to combine multiple components and design paradigms, like collapses, accordions, carousels and tabs, into one general-purpose component. Tabs are very simple in structure, responsive on mobile and they allow for layout customization so that you can turn them into accordions or collapses whenever you want.</p>
<a href="tab.html" class="button section">See more</a>
</div>
</div>
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-md-6 col-lg-5 row">
2016-12-15 23:48:15 +00:00
<div class="card fluid">
<h2 class="section"><mark class="secondary"><i class="fa fa-tags fa-fw" aria-hidden="true"></i></mark>&nbsp;Contextual</h2>
<p class="section box-left">The <strong>contextual</strong> module provides you with simple tags, marks and highlights for your pages, allowing you to easily emphasize parts of your text. The contextual alerts aim to replace the commonly used modal dialog design paradigm with a more modern one. HTML5 elements and simple rules are used in order to make important messages and pieces of content stand out easily.</p>
<a href="contextual.html" class="button section">See more</a>
</div>
2016-09-14 12:25:08 +00:00
</div>
</div>
2016-12-15 23:48:15 +00:00
<div class="row box-centered" style="padding-bottom: 40px;">
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-md-6 col-lg-5 col-lg-offset-1 row">
2016-12-15 23:48:15 +00:00
<div class="card fluid">
2016-12-16 21:25:19 +00:00
<h2 class="section"><mark class="tertiary"><i class="fa fa-spinner fa-fw" aria-hidden="true"></i></mark>&nbsp;Progress</h2>
2016-12-15 23:48:15 +00:00
<p class="section box-left">The <strong>progress</strong> module gives you full control over the presentation of progress and loading on your pages. Apart from progress bars and color variants for them, spinner elements are provided to help communicate that something is loading.</p>
<a href="progress.html" class="button section">See more</a>
</div>
</div>
2017-02-02 22:27:22 +00:00
<div class="col-sm-12 col-md-6 col-lg-5 row">
2016-12-15 23:48:15 +00:00
<div class="card fluid">
<h2 class="section"><mark class="tertiary"><i class="fa fa-wrench fa-fw" aria-hidden="true"></i></mark>&nbsp;Utility</h2>
<p class="section box-left">The <strong>utility</strong> module contains all the utilities and helper classes that you might want when designing a website or application. They solve common design problems efficiently and provide you with generic rules you can easily apply everywhere.</p>
<a href="utility.html" class="button section">See more</a>
</div>
</div>
</div>
</div></main>
<!-- End of page content-->
2017-01-08 16:40:56 +00:00
<footer><strong>mini.css</strong> was designed and built with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://github.com/Chalarangelo">@Chalarangelo</a>. It is licensed under the <a href="https://github.com/Chalarangelo/mini.css/blob/master/LICENSE">MIT License</a>. You can view the project's source code on <a href="https://github.com/Chalarangelo/mini.css">Github</a>.</footer>
2016-09-14 12:25:08 +00:00
</body>
2017-02-02 22:27:22 +00:00
</html>