Sucroa flavour complete
This commit is contained in:
parent
d852fb08c4
commit
8132013431
4 changed files with 144 additions and 786 deletions
676
dist/mini-sucroa-test.html
vendored
676
dist/mini-sucroa-test.html
vendored
|
@ -1,676 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Live demo styled as of 20161121 -->
|
||||
<!-- <link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/21ca8d498f0ff51cdeab7c16606fc06502c7de29/dist/mini-default.min.css"> -->
|
||||
<link rel="stylesheet" href="mini-sucroa.min.css">
|
||||
<title>mini.css - A minimal Sass-y responsive mobile-first style-agnostic CSS framework</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="mini.css - A minimal Sass-y responsive mobile-first style-agnostic CSS framework">
|
||||
<meta name="keywords" content="mini, mini.css, CSS, responsive, framework, mobile first, style agnostic, Sass">
|
||||
<meta name="author" content="Angelos Chalaris (chalarangelo)">
|
||||
<link rel="icon" type="image/png" href="favicon.png">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
|
||||
<style>
|
||||
#header-logo {
|
||||
display: inline; height: 28px; width: 28px; margin-top: 2px; background: #558b2f; border-radius: 1px;
|
||||
margin-left: -3px; padding: 2px;
|
||||
}
|
||||
#top-logo {
|
||||
display: inline-block; height: 66px; width: 70px; margin: 64px auto -30px; border-radius: 1px;
|
||||
background: #558b2f; padding: 8px; padding-top: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.35);
|
||||
}
|
||||
#top-header {
|
||||
color: #f5f5f5; font-size: 2.4em; text-shadow: 0 1px 2px rgba(0,0,0,0.35); margin-bottom: -8px;
|
||||
}
|
||||
#top-version-tag {
|
||||
padding: 3px 5px; font-size: 0.85em; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,0.35);
|
||||
}
|
||||
.box-centered { text-align: center; }
|
||||
.box-colored { background: #0277bd; border-radius: 2px; padding: 14px; margin-bottom: 8px; min-height: 14px;}
|
||||
.box-colored.red { background: #b71c1c; }
|
||||
/*[class^='col-'] .card.fluid { margin: 2px 0 20px; }*/
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<img class="logo" src="mini-logo.svg" id="header-logo"><div style="display: inline; overflow: auto;">
|
||||
<a href="#" class="button">Introduction</a>
|
||||
<a href="#" class="button">Module Overview</a>
|
||||
<a href="#" class="button">Module Demos</a>
|
||||
<a href="#" class="button">Flavors</a>
|
||||
<a href="#" class="button">Customization</a>
|
||||
<a href="https://github.com/Chalarangelo/mini.css" class="button">Github</a>
|
||||
</div>
|
||||
</header>
|
||||
<div class="container">
|
||||
<div class="row" style="padding-top: 20px;">
|
||||
<div class="col-sm-12 col-md">
|
||||
<div class="box-centered">
|
||||
<h2>Minimal</h2>
|
||||
<i class="fa fa-compress fa-4x" aria-hidden="true"></i>
|
||||
<br><br>
|
||||
<p><strong>mini.css</strong> is one of the lightest front-end frameworks on the web: about 5KB gzipped. This helps your websites load faster, while still looking great!</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md">
|
||||
<div class="box-centered">
|
||||
<h2>Reponsive</h2>
|
||||
<i class="fa fa-mobile fa-4x" aria-hidden="true"></i>
|
||||
<br><br>
|
||||
<p><strong>mini.css</strong> is built in such a way that it will look great on most devices and especially phones and tablets. This allows you to easily tailor your websites to different users!</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md">
|
||||
<div class="box-centered">
|
||||
<h2>Style-agnostic</h2>
|
||||
<i class="fa fa-paint-brush fa-4x" aria-hidden="true"></i>
|
||||
<br><br>
|
||||
<p><strong>mini.css</strong> gives you the power of <mark>customization</mark>, using its <mark class="secondary">fully</mark> moddable flavors. This will give you control over how your websites look and allow great <mark class="tertiary">designs to</mark> stand out!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div class="card fluid">
|
||||
<div class="section">
|
||||
<h2>Common textual elements</h2>
|
||||
</div>
|
||||
<div class="section row">
|
||||
<div class="col-sm-12 col-sm-last col-md-4 col-md-normal">
|
||||
<div><br><p>This is a paragraph with some <mark>sample</mark> text. Did you know <strong>mini.css</strong> v2.0 is codenamed <strong>Fermion</strong>? No? Well, now you do! Oh, by <mark class="secondary">the way</mark>, that was some Bold text and here is some <em>text in Italics</em>. Maybe you want to know what our inline elements look like. For example a <a href="https://github.com/Chalarangelo/mini.css">link to the Github repository of mini.css</a> looks like that! <mark class="tertiary">Neat, right?</mark> Maybe you want to see some <code>inline code</code> or some sample <kbd>input</kbd>. Oh, also <small>small text</small> is cool, along with its siblings: the subscript<sub>hi!</sub> and the superscript<sup>hello!</sup>. Finally, check out the horizontal rule, preformatted code block and quotation below.</p>
|
||||
<hr>
|
||||
<pre>function sum(num1, num2) {
|
||||
var num3 = num1 + num2;
|
||||
console.log('Result: ' + num3);
|
||||
}</pre>
|
||||
<blockquote cite="Mr. Quotalot">This is some quoted text from elsewhere.</blockquote><br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-sm-first col-md-8 col-md-normal">
|
||||
<p>The most common HTML5 elements must be things like <code><p></code>aragraphs, bold (<code><strong></code>) & italics (<code><em></code>) text, links (<code><a></code>), horizontal rules (<code><hr></code>) and <code><small></code> text. These, along with a few others, are styled by default using clean, modern design to make your pages look cool and stand out from the rest of the internet.</p>
|
||||
<h3>Sample code</h3>
|
||||
<pre><p>This is a paragraph with some <strong>bold text</strong> and some <em>italics text</em>.</p>
|
||||
<a href="#">This is a link.</a>
|
||||
<small>This is some small text.</small>
|
||||
<sub>Subscript</sub>
|
||||
<sup>Superscript</sup>
|
||||
<code>Inline code</code>
|
||||
<kbd>Keyboard Input</kbd>
|
||||
<hr>
|
||||
<pre>This is some preformatted text.</pre>
|
||||
<blockquote cite="Quotation source">
|
||||
This is some quoted text from another website or person.
|
||||
</blockquote></pre><br>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div>
|
||||
<br><hr>
|
||||
<p>Below you can see a showcase of the features and styles included in the <strong>default</strong> flavor of <strong>mini.css</strong>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div>
|
||||
<h2>Typography <small>Styles for common textual elements</small></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-4">
|
||||
<div><h1>Heading 1 <small>Subheading</small></h1></div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-4">
|
||||
<div><h2>Heading 2 <small>Subheading</small></h2></div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-4">
|
||||
<div><h3>Heading 3 <small>Subheading</small></h3></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-4">
|
||||
<div><h4>Heading 4 <small>Subheading</small></h4></div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-4">
|
||||
<div><h5>Heading 5 <small>Subheading</small></h5></div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-4">
|
||||
<div><h6>Heading 6 <small>Subheading</small></h6></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<blockquote cite="Mr. Quotalot">This is some quoted text from elsewhere.</blockquote><br>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div>
|
||||
<br>
|
||||
<p>This is a paragraph with some sample text. Did you know <strong>mini.css</strong> v2.0 is codenamed <strong>Fermion</strong>? No? Well, now you do! Maybe you want to know what our inline elements look like. For example a <a href="https://github.com/Chalarangelo/mini.css">link to the Github repository of mini.css</a> looks like that! Neat, right? Maybe you want to see some <code>inline code</code> or some sample <kbd>input</kbd>. Oh, also <small>small text</small> is cool, along with its siblings: the subscript<sub>hi!</sub> and the superscript<sup>hello!</sup>. We use <mark>highlights</mark> quite a lot as well. Apart from the primary color, you can also try the <mark class="secondary">secondary</mark> and <mark class="tertiary">tertiary</mark> colors. If you wanna be fancy, maybe use a <mark class="tag">tag</mark> or a <mark class="bubble">bubble</mark>. All of these work well inside headings and the like. To finish our typography tour, check out the preformatted code block below.</p><br>
|
||||
</div>
|
||||
<div>
|
||||
<pre>function sum(num1, num2) {
|
||||
var num3 = num1 + num2;
|
||||
console.log('Result: ' + num3);
|
||||
}</pre>
|
||||
<br>
|
||||
</div>
|
||||
<div class="alert">
|
||||
<h3>This is an alert</h3>
|
||||
<p>Alerts are important</p>
|
||||
</div>
|
||||
<br>
|
||||
<p class="alert urgent">Hi</p>
|
||||
<h2 class="alert critical">Loop</h2>
|
||||
<a class="alert urgent">Hi</a>
|
||||
<h2 class="alert critical">Loop</h2>
|
||||
<br>
|
||||
<div class="alert urgent">
|
||||
<h3>This is an alert</h3>
|
||||
<p>Alerts are important</p>
|
||||
</div>
|
||||
<br>
|
||||
<div class="alert critical">
|
||||
<h3>This is an alert</h3>
|
||||
<p>Alerts are important</p>
|
||||
</div>
|
||||
<br>
|
||||
<div class="alert animated">
|
||||
<h3>This is an alert</h3>
|
||||
<p>Alerts are important</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div>
|
||||
<hr>
|
||||
<h2>Grid system <small>Easy layout using flexbox</small></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div>
|
||||
<p><strong>mini.css</strong> uses the Flexible Layout Module (commonly known as <code>flexbox</code>) to create a grid system for easy page layout. The grid system is not the most feature-rich one, but it contains all the essential components. The <code>container</code> of the grid is fluid by default, meaning it will adjust to fill its parent container. Rows are easily created using the <code>row</code> class and columns can be created using the usual <code>col-SZ-XX</code> syntax where <code>SZ</code> and <code>XX</code> are replaced by a screen size and a number of vertical columns respectively. Columns can also scale themselves automatically if you omit the number of vertical columns in the class name. Similarly, you can use offsets with the <code>col-SZ-offset-XX</code> syntax. The <strong>default</strong> grid is separated into 12 vertical columns. You can see some examples below.</p><br>
|
||||
</p></div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-7">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-2">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-6 col-sm-offset-3">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-4 col-sm-offset-2">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-3 col-sm-offset-1">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
<div class="col-sm-2 col-sm-offset-3">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm col-md-6 col-lg">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
<div class="col-sm col-sm-first col-md-normal col-lg-last">
|
||||
<div class="box-colored red"></div>
|
||||
</div>
|
||||
<div class="col-sm col-lg-6">
|
||||
<div class="box-colored"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div>
|
||||
<hr>
|
||||
<h2>Common Elements <small>Styles for common HTML elements</small></h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="card"><div class="section"><h3>Card with image</h3></div><img class="section media" src="http://placehold.it/800x600"><div class="section"><p>Content</p></div></div>
|
||||
<div class="card"><iframe class="section media" width="1280" height="720" src="https://www.youtube.com/embed/ScMzIvxBSi4" frameborder="0"></iframe><div class="section"><h3>Card with video</h3></div></div>
|
||||
<div class="card"><div class="section"><h3>Normal section</h3></div><div class="section double-padded"><h3>Double-padded section</h3></div></div>
|
||||
<div class="card"><div class="section"><h3>Normal section</h3></div><div class="section light"><h3>Dark section</h3></div><div class="section lighter"><h3>Darker section</h3></div></div>
|
||||
<div class="card inverse"><div class="section"><h3>Inverse card</h3></div><img class="section media" src="http://placehold.it/800x600"><div class="section"><p>Content</p></div><div class="section"><p>More content</p></div></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div>
|
||||
<p><strong>mini.css</strong> adds modern styles for many of the HTML elements.</p><br>
|
||||
<h3>Tables</h3>
|
||||
<p>Tables are responsive and use the <code>data-label</code> attribute to specify the header name for each cell, so that they can be displayed as cards on mobile devices. Here's an example (resize to see mobile display if you are on desktop):</p>
|
||||
<table class="striped">
|
||||
<caption>Hacker List</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Surname</th>
|
||||
<th>Email</th>
|
||||
<th>Handle</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td data-label="Name">John</td>
|
||||
<td data-label="Surname">Smith</td>
|
||||
<td data-label="Email">johnsmith@mail.com</td>
|
||||
<td data-label="Handle">SmithereensJohn</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td data-label="Name">Lisa</td>
|
||||
<td data-label="Surname">Cody</td>
|
||||
<td data-label="Email">codyl@mail.com</td>
|
||||
<td data-label="Handle">Codyl</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td data-label="Name">Max</td>
|
||||
<td data-label="Surname">Roberts</td>
|
||||
<td data-label="Email">terminus@mail.com</td>
|
||||
<td data-label="Handle">T3rm1nu5</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td data-label="Name">Adam</td>
|
||||
<td data-label="Surname">Leeks</td>
|
||||
<td data-label="Email">leekt@mail.com</td>
|
||||
<td data-label="Handle">Leekt</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br>
|
||||
<table style="display: flex; flex-direction: row; overflow: auto; border: 0;">
|
||||
<caption style="display: flex; flex-flow: column wrap; flex: 0 1 auto; align-self: center;">Hacker List</caption>
|
||||
<thead style="display: flex; flex-flow: row wrap; flex: 0 0 auto;">
|
||||
<tr style="display: flex; flex-direction: column;">
|
||||
<th>Name</th>
|
||||
<th>Surname</th>
|
||||
<th>Email</th>
|
||||
<th>Handle</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody style="display: flex; flex-flow: row wrap; flex: 0 0 auto;">
|
||||
<tr style="display: flex; flex-direction: column;">
|
||||
<td data-label="Name">John</td>
|
||||
<td data-label="Surname">Smith</td>
|
||||
<td data-label="Email">johnsmith@mail.com</td>
|
||||
<td data-label="Handle">SmithereensJohn</td>
|
||||
</tr>
|
||||
<tr style="display: flex; flex-direction: column;">
|
||||
<td data-label="Name">Lisa</td>
|
||||
<td data-label="Surname">Cody</td>
|
||||
<td data-label="Email">codyl@mail.com</td>
|
||||
<td data-label="Handle">Codyl</td>
|
||||
</tr>
|
||||
<tr style="display: flex; flex-direction: column;">
|
||||
<td data-label="Name">Max</td>
|
||||
<td data-label="Surname">Roberts</td>
|
||||
<td data-label="Email">terminus@mail.com</td>
|
||||
<td data-label="Handle">T3rm1nu5</td>
|
||||
</tr>
|
||||
<tr style="display: flex; flex-direction: column;">
|
||||
<td data-label="Name">Adam</td>
|
||||
<td data-label="Surname">Leeks</td>
|
||||
<td data-label="Email">leekt@mail.com</td>
|
||||
<td data-label="Handle">Leekt</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br>
|
||||
<h3>Forms</h3>
|
||||
<p>Forms are inline by default and textual <code><input></code>, <code><textarea></code> and <code><select></code> elements have been pre-styled. To make inputs take up more space than their default, simply add something like <code>width="100%"</code>. You can also utilize the grid system to align forms to your liking. Below are some examples:</p>
|
||||
<form>
|
||||
<fieldset>
|
||||
<legend>Inline form (default style):</legend>
|
||||
<div class="input-group"><label for="username">Username</label> <input type="text" value="" id="username" placeholder="username"> </div>
|
||||
<div class="input-group"><label for="mail">Email</label> <input type="email" value="" id="mail" placeholder="mail@server.com"> </div>
|
||||
<div class="input-group"><label for="pwd">Password</label> <input type="password" value="" id="pwd" placeholder="password"></div>
|
||||
</fieldset><br>
|
||||
<fieldset class="container">
|
||||
<legend>Aligned form (using <code>width</code> and grid):</legend>
|
||||
<div class="row">
|
||||
<div class="col-sm-2" style="text-align:right;">
|
||||
<label for="website" style="vertical-align: text-top;">Website</label>
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
<input type="text" value="" id="website" placeholder="website" style="width:85%;">
|
||||
<button>Button</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-2" style="text-align:right;">
|
||||
<label for="weburl" style="vertical-align: text-top;">URL</label>
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
<input type="url" value="" id="weburl" placeholder="https://www.mywebsite.com" style="width:85%;">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-2" style="text-align:right;">
|
||||
<label for="desc" style="vertical-align: text-top;">Description</label>
|
||||
</div>
|
||||
<div class="col-sm">
|
||||
<textarea type="url" value="" id="desc" placeholder="description" style="width:85%;"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset><br>
|
||||
<fieldset>
|
||||
<legend>More inputs</legend>
|
||||
<input disabled value="Disabled">
|
||||
<input readonly value="Readonly">
|
||||
<input type="number" value="4">
|
||||
<select>
|
||||
<option>Test</option>
|
||||
<option>Demo</option>
|
||||
</select>
|
||||
<input type="search" placeholder="search..." value="">
|
||||
</fieldset>
|
||||
</form>
|
||||
<br>
|
||||
<h3>Navigation</h3>
|
||||
<p>Use the <code><header></code>, <code><nav></code> and <code><footer></code> elements to add navigational elements to your page. The <code><header></code> element displays as a non-fixed horizontal bar and can contain a logo along with a set of links or buttons. Style any links using the <code>.button</code> class to give them the proper style. it is suggested that you place the <code><header></code> element outside of your grid system's <code>.container</code> to avoid styling problems. You can see an example below:</p>
|
||||
<header><a href="#" class="logo">Logo</a><button>Link 1</button><a href="#" class="button">Link 2</a><button>Link 3</button></header><br>
|
||||
<p><code><nav></code> implements the traditional navigation sidebar, using simple styling. The sidebar is not fixed by default and it has no specific width set, so you can use the grid system or some Javascript code to show or hide it and decide its size. Use simple links and <code><span></code> elements to add links and categories. The <code>.sublink-1</code> and <code>.sublink-2</code> classes can be added to create links in categories and subcategories. Below you can see an example (sidebar is displayed next to text on medium-large displays, but fills the whole display on phones and smaller screens):</p>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-9">
|
||||
<p>This is some sample content that will show next to the navigation menu. Which means that we'll have to present some more fun facts about <strong>mini.css</strong> to occupy this space. Well, here's a couple:</p>
|
||||
<ul>
|
||||
<li><strong>mini.css</strong> was inspired by Bootstrap and Pure.css. Its original goal was to build a framework with the stylistic fluff of Bootstrap, but nearly the size of Pure.css. The first version, codenamed <strong>Neutrino</strong> was well-received and was mostly a tech demo of what <strong>Fermion</strong> now offers.</li>
|
||||
<li><strong>mini.css</strong> v2.0 has been designed with modern browser compatibility and recent web standards in mind. Part of its aim is to reduce the footprint of websites by providing a customizable base to work with, while cutting down a lot of the fat that comes with premade stylesheets.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-3">
|
||||
<nav>
|
||||
<a href="#">Link 1</a>
|
||||
<a href="#">Link 2</a>
|
||||
<span>Category 1</span>
|
||||
<a href="#" class="sublink-1">Link 3</a>
|
||||
<a href="#" class="sublink-1">Link 4</a>
|
||||
<span class="sublink-1">Category 2</span>
|
||||
<a href="#" class="sublink-2">Link 5</a>
|
||||
<a href="#" class="sublink-2">Link 6</a>
|
||||
<a href="#" class="sublink-1">Link 7</a>
|
||||
<a href="#" >Link 8</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div><br>
|
||||
<p>Finally, use the <code><footer></code> element to create your footer. Add links, images, credits. This element is not meant for main navigation, but many pages use it for some kind of navigation or other. Try to place the <code><footer></code> outside of the grid system for best results. Below is an example:</p>
|
||||
<footer>© 2016 mini.css | <a href="#">About</a> | <a href="#">Terms of use</a></footer>
|
||||
<br>
|
||||
<h3>Buttons</h3>
|
||||
<p>Buttons are already pre-styled in <strong>mini.css</strong> to allow for consistent presentation. However, there is a lot you can do to customize them, as the pre-applied styles are mostly overrides for the default presentation styles. Pre-styled buttons and other button-like inputs can be seen below:</p>
|
||||
<span style="margin:3px;"></span>
|
||||
<button>Normal button</button>
|
||||
<input type="button" value="Input button">
|
||||
<input type="submit" value="Submit button">
|
||||
<input type="reset" value="Reset button">
|
||||
<a href="#" class="button">Link button</a>
|
||||
<button disabled>Disabled button</button><br>
|
||||
<p>Button groups can also be created, utilising the <code>.button-group</code> class. Simply add a set of buttons in it and you're good to go. Check it out below:</p>
|
||||
<div class="button-group">
|
||||
<input type="button" value="Input button">
|
||||
<input type="submit" value="Submit button">
|
||||
<input type="reset" value="Reset button">
|
||||
<button>Normal button</button>
|
||||
<a href="#" class="button">Link button</a>
|
||||
</div>
|
||||
<p>File inputs are a sore spot in most frameworks, as they cannot be easily stylized using CSS. <strong>mini.css</strong> deals with the problem, using a workaround involving labels that use the <code>button</code> class, which applies the exact same style to those labels. Just link it to the <code><input type="file"></code> element of your choice and you're good to go. For example:</p>
|
||||
<span style="margin:3px;"></span><input type="file" id="file-input-demo"><label for="file-input-demo" class="button"><i class="fa fa-upload" aria-hidden="true"></i> Upload file</label><br>
|
||||
<p>There are also different kinds of buttons, specifically <code>primary</code>, <code>secondary</code> and <code>tertiary</code>, as well as <code>small</code> and <code>large</code> buttons. All of these types can be specified as classes. For example:</p>
|
||||
<span style="margin:3px;"></span>
|
||||
<button class="primary">Primary normal button</button>
|
||||
<input type="button" value="Secondary input button" class="secondary">
|
||||
<input type="reset" value="Tertiary reset button" class="tertiary">
|
||||
<input type="submit" value="Large submit button" class="large">
|
||||
<label disabled class="button small primary">Small primary disabled label button</label>
|
||||
<button class="inverse">Inverse button</button>
|
||||
<br><br>
|
||||
<h3>Checkboxes and Radio buttons</h3>
|
||||
<p>Checkboxes and radio buttons are styled using the <a href="https://css-tricks.com/the-checkbox-hack/">checkbox hack</a>, while keeping things simple and adding just the needed consistency for those input types. Place an <code><input></code> (checkbox or radio button) and a linked <code><label></code> inside an <code>.input-group</code> and the controls will style themselves. To allow accessibility for those controls, you can use <code>tabindex="0"</code> on the <code><input></code> elements only. You can see some examples below:</p>
|
||||
<form>
|
||||
<fieldset>
|
||||
<div class="input-group">
|
||||
<input type="checkbox" id="c1" tabindex="0"> <label for="c1">Checkbox</label>
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<input type="checkbox" id="c2" disabled> <label for="c2" disabled>Disabled</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<div class="input-group">
|
||||
<input type="radio" name="radios" value="r1" checked id="r1" tabindex="0"> <label for="r1">Value 1</label>
|
||||
<input type="radio" name="radios" value="r2" id="r2" tabindex="0"> <label for="r2">Value 2</label>
|
||||
<input type="radio" name="radios" value="r3"checked id="r3" tabindex="0"> <label for="r3">Value 3</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
<br>
|
||||
<h3>Progress bars</h3>
|
||||
<p>The <code><progress></code> element is used for progress bars. There are three color variants (default, <code>secondary</code> and <code>tertiary</code>), as well as an <code>inline</code> class that displays the progress bar as an inline block, along with a <code>nano</code> variant for tiny progress bars. Below are some examples:</p>
|
||||
<br>
|
||||
<progress value="45" max="100""></progress><br>
|
||||
<progress value="20" max="100" class="secondary"></progress><br>
|
||||
<progress value="60" max="100" class="tertiary"></progress><br>
|
||||
<p>Inline progress: <progress value="85" max="100" class="inline"></progress></p>
|
||||
<p>Nano progress:</p>
|
||||
<progress class="nano" value="35" max="100"></progress>
|
||||
<hr>
|
||||
<h2>Utilities and Helpers <small>Useful classes for common problems</small></h2>
|
||||
<p>The utilities provided with <strong>mini.css</strong> aim to solve common problems and allow ease of use whenever possible. Some of them are showcased below:</p>
|
||||
<p><span class="bordered">Generic border (using black outline and opacity of 0.25)</span>, <span class="bordered rounded">Radial border style 1</span> & <span class="bordered circular"> 2 </span>.</p>
|
||||
<ul class="breadcrumbs"><li><a href="#">These</a></li><li><a href="#">is</a></li><li><a href="#">what</a></li><li><a href="#">breadcrumbs</a></li><li><a href="#">look</a></li><li><span>like</span></li></ul>
|
||||
<p>You can also use the <code>.hidden</code> class to hide any element you want or the <code>.visually-hidden</code> class for elements that need to be invisible to users but exist in the accessibility tree, set <code>float</code>s to left or right using the <code>.float-left</code> and <code>.float-right</code> classes or clear <code>float</code>s using the <code>.clearfix</code> class, which implements the <a href="http://nicolasgallagher.com/micro-clearfix-hack/">micro clearfix</a> by Nicolas Gallagher. Finally, use the <code>.center-block</code> class to make an element center and display as a block.</p><br>
|
||||
<h2>Cards <small>Modern content containers</small></h2>
|
||||
<p>Cards are some of the most modern and stylish content containers and are widely used in many website types. <strong>mini.css</strong> provides you with the <code>.card</code> class, along with a handful of pre-built styles to help you create beatiful cards for your pages. Note that this module is heavily dependent on the grid system module. To use the cards, simply replace the grid's columns with your cards and you're ready to go. Note that in the examples below, we try to showcase as many features as possible, but there might be something we missed. Also, the <code>.row</code> which acts as the contaienr for the cards has the <code>.cards</code> class applied to it, which helps align the cards horizontally, by automatically shrinking or expanding the spaces between them.</p>
|
||||
<div class="container">
|
||||
<div class="row cards">
|
||||
<div class="card">
|
||||
<img src="catdemo.jpg" class="section media">
|
||||
<div class="section">
|
||||
<h2>Chubby cat</h2>
|
||||
<span>This is a lovely cat!</span>
|
||||
</div>
|
||||
<small class="section">03-11-2016, 09:44 PM</small>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2 class="section">Chubby cat<small>Uploaded Nov, 3rd, 2016</small></h2>
|
||||
<img src="catdemo.jpg" class="section media">
|
||||
<p class="section">This cat is pretty amazing, right? Just look at it!</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<p class="section">Cards are pretty awesome, as you can see.</p>
|
||||
<p class="section">This is a card with three text sections.</p>
|
||||
<p class="section">By the way, here's a link to the <strong>mini.css</strong> <a href="https://github.com/Chalarangelo/mini.css">project repository on Github</a>, just in case.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="section">You can use <code><button></code>s and other similar elements as card sections. Like the button below.</div>
|
||||
<button class="section">Button section</button>
|
||||
</div>
|
||||
<div class="card primary">
|
||||
<p>Cards resize automatically to fit any and all content, allowing you to do anything you want with them. They also align the content automatically, so your sections will always look pretty. Nothing to worry about anymore! By the way, this is a <code>.primary</code> card.</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<h2 class="section dark"><code>.dark</code> heading</h2>
|
||||
<p class="section">Totally normal text.</p>
|
||||
<p class="section primary"><code>.primary</code> section text.</p>
|
||||
</div>
|
||||
<div class="card fluid">
|
||||
<h1 class="section">Fluid</h1>
|
||||
<p class="section">Yes, <code>.fluid</code> cards are also available! You might want to use these in combination with the grid system's columns to achieve a better effect. There's an example below, after the other size variants for the cards. Have a look.</p>
|
||||
</div>
|
||||
<div class="card small">
|
||||
<h2> Small</h2>
|
||||
<p>There are also <code>.small</code> cards. Tiny, cute, small cards.</p>
|
||||
</div>
|
||||
<div class="card large">
|
||||
<div class="section">
|
||||
<h2> Large</h2>
|
||||
<hr>
|
||||
<p>And, of course, there are <code>.large</code> cards.</p>
|
||||
<p>Because you'll need them.</p><br>
|
||||
</div>
|
||||
<input class="section" placeholder="Enter some text here...">
|
||||
</div>
|
||||
<div class="card">
|
||||
<p class="section double-padded">
|
||||
These cards work quite well together, no matter the size. Well, except the <code>.fluid</code> ones which should be used together, without the other cards. Unless you want a fluid card to act as a separator of sorts, which might be desirable. Just use them in columns, like we show you below, it's the best way. By the way, this was a <code>.double-padded</code> section.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-md-3">
|
||||
<div class="card fluid">
|
||||
<h1 class="section double-padded">Card 1</h1>
|
||||
<p>This is the first card. It is placed inside a column.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md">
|
||||
<div class="card fluid">
|
||||
<h1 class="section double-padded">Card 2</h1>
|
||||
<p>This is the second card. It is placed inside a larger column. On smaller displays these will display like a list of cards.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-3">
|
||||
<div class="card fluid">
|
||||
<h1 class="section double-padded">Card 3</h1>
|
||||
<p>This is the third card. It is placed inside a column.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Tabs & accordions<small>Present content any way you like</small></h2>
|
||||
<p><strong>mini.css</strong> provides you with a very modern tab component, that can easily be used for multiple things, like tabbed navigation, single collapses, accordion collapses and even image carousels. This might sound like a lot to do with one component, but the design behind it allows it to be truly versatile and replace all those components. To use the tab component, simply create a container using a <code><div></code> with the <code>.tabs</code> class. Populate it with <code><input type="radio"></code>s, each followed by a linked <code><label></code> and another <code><div></code> which includes the tab's contents. If you want to create an accordion add the <code>.stacked</code> class to the container. The same thing works for collapses as well. Accordions and collapses can also use <code><input type="checkbox"></code>s instead. Carousels can be created similarly, remember to add images to the inner content <code><div></code> and you're good to go. You can see some examples below:</p><br>
|
||||
<div class="tabs stacked">
|
||||
<input type="checkbox" id="collapse" autocomplete="off">
|
||||
<label for="collapse">Single collapse</label>
|
||||
<div>
|
||||
<p>This is some content you can hide and show at will using the above label. Isn't that useful?</p>
|
||||
</div>
|
||||
</div><br>
|
||||
<div class="tabs stacked">
|
||||
<input type="radio" name="accordion" id="a1" autocomplete="off" checked>
|
||||
<label for="a1">Accordion section 1</label>
|
||||
<div>
|
||||
<h3>Section 1 - The amazing versatility of tabs</h3>
|
||||
<p>Yes, this is still based on tabs. Isn't it wonderful how many things you can accomplish using one simple component?</p>
|
||||
</div>
|
||||
<input type="radio" name="accordion" id="a2" autocomplete="off">
|
||||
<label for="a2">Accordion section 2</label>
|
||||
<div>
|
||||
<h3>Section 2 - How accordions work</h3>
|
||||
<p>Accordions are very similar to collapses. Just add multiple <code><input type="radio"></code>s, along with their content and you are ready to go.</p>
|
||||
</div>
|
||||
</div><br>
|
||||
<div class="tabs">
|
||||
<input type="radio" name="tabdemo" id="tab1" checked>
|
||||
<label for="tab1">Tab 1</label>
|
||||
<div>
|
||||
<h3>Tab 1</h3>
|
||||
<p>This is the first tab's content.</p>
|
||||
</div>
|
||||
<input type="radio" name="tabdemo" id="tab2">
|
||||
<label for="tab2">Tab 2</label>
|
||||
<div>
|
||||
<h3>Tab 2</h3>
|
||||
<p>This is the second tab's content.</p>
|
||||
</div>
|
||||
<input type="radio" name="tabdemo" id="tab3">
|
||||
<label for="tab3">Tab 3</label>
|
||||
<div>
|
||||
<h3>Tab 3</h3>
|
||||
<p>This is the third tab's content.</p>
|
||||
</div>
|
||||
<input type="radio" name="tabdemo" id="tab4">
|
||||
<label for="tab4">Tab 4</label>
|
||||
<div>
|
||||
<h3>Tab 4</h3>
|
||||
<p>This is the fourth tab's content.</p>
|
||||
</div>
|
||||
</div><br>
|
||||
<div class="tabs">
|
||||
<input type="radio" name="carousel" id="car1" checked>
|
||||
<label for="car1">Image 1</label>
|
||||
<div>
|
||||
<img src="catdemo.jpg" style="height: 240px; width: auto;">
|
||||
</div>
|
||||
<input type="radio" name="carousel" id="car2">
|
||||
<label for="car2">Image 2</label>
|
||||
<div>
|
||||
<img src="catdemo.jpg" style="height: 480px; width: auto">
|
||||
</div>
|
||||
<input type="radio" name="carousel" id="car3">
|
||||
<label for="car3">Image 3</label>
|
||||
<div>
|
||||
<img src="catdemo.jpg" style="height: 720px; width: auto">
|
||||
</div>
|
||||
</div><br>
|
||||
<h2>Spinners<small>Loading with style</small></h2>
|
||||
<p>Finally, <strong>mini.css</strong> provides you with a couple of spinner variations, <code>.spinner-dot</code> and <code>.spinner-donut</code>. Simply apply these to a <code><div></code> and you are ready to go. Both are showcased below:</p>
|
||||
<p>This is some text with a <code>.spinner-dot</code> spinner. These spinners are designed with normal paragraphs in mind, so some tweaking of the component itself and/or the way it is presented might be requird. Loading looks like this <span class="spinner-dot"></span></p>
|
||||
<p>And this here is a <code>.spinner-donut</code> spinner. It is more versatile and it can also use a couple of variants like <code>.secondary</code> and <code>.tertiary</code>, as shown below:</p>
|
||||
<div class="spinner-donut"></div>
|
||||
<div class="spinner-donut secondary"></div>
|
||||
<div class="spinner-donut tertiary"></div>
|
||||
<div class="spinner-donut large"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer><strong>mini.css</strong> was designed and built 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>
|
||||
</body>
|
||||
</html>
|
168
dist/mini-sucroa.css
vendored
168
dist/mini-sucroa.css
vendored
|
@ -1156,15 +1156,19 @@ table.striped tr:nth-of-type(2n) > td {
|
|||
-webkit-order: 1;
|
||||
order: 1;
|
||||
display: inline-block;
|
||||
height: 26px;
|
||||
height: 28px;
|
||||
cursor: pointer;
|
||||
-webkit-transition: background 0.3s ease 0s;
|
||||
transition: background 0.3s ease 0s;
|
||||
background: #e0e0e0;
|
||||
border: 1px solid #9e9e9e;
|
||||
padding: 8px 12px; }
|
||||
background: #d3cae8;
|
||||
border: 1px solid #a9a2ba;
|
||||
padding: 10px 12px; }
|
||||
.tabs > label:first-of-type {
|
||||
border-top-left-radius: 2px; }
|
||||
.tabs > label:last-of-type {
|
||||
border-top-right-radius: 2px; }
|
||||
.tabs > label:hover, .tabs > label:active, .tabs > label:focus {
|
||||
background: rgba(224, 224, 224, 0.8); }
|
||||
background: rgba(211, 202, 232, 0.8); }
|
||||
.tabs > [type="radio"], .tabs.stacked > [type="checkbox"] {
|
||||
display: none;
|
||||
visibility: hidden; }
|
||||
|
@ -1186,15 +1190,17 @@ table.striped tr:nth-of-type(2n) > td {
|
|||
-webkit-transform-origin: top;
|
||||
transform-origin: top;
|
||||
-webkit-transition: -webkit-transform 0.3s ease 0s, transform 0.3s ease 0s;
|
||||
transition: -webkit-transform 0.3s ease 0s, transform 0.3s ease 0s; }
|
||||
transition: -webkit-transform 0.3s ease 0s, transform 0.3s ease 0s;
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px; }
|
||||
.tabs > [type="radio"] + label + div + [type="radio"] + label, .tabs.stacked > [type="checkbox"] + label + div + [type="radio"] + label {
|
||||
border-left: 0; }
|
||||
.tabs.stacked > [type="checkbox"] + label + div + [type="checkbox"] + label {
|
||||
border-left: 0; }
|
||||
.tabs > [type="radio"]:checked + label, .tabs.stacked > [type="checkbox"]:checked + label {
|
||||
background: #eeeeee; }
|
||||
background: #e8deff; }
|
||||
.tabs > [type="radio"]:checked + label:hover, .tabs > [type="radio"]:checked + label:active, .tabs > [type="radio"]:checked + label:focus, .tabs.stacked > [type="checkbox"]:checked + label:hover, .tabs.stacked > [type="checkbox"]:checked + label:active, .tabs.stacked > [type="checkbox"]:checked + label:focus {
|
||||
background: rgba(238, 238, 238, 0.8); }
|
||||
background: rgba(232, 222, 255, 0.8); }
|
||||
.tabs > [type="radio"]:checked + label + div, .tabs.stacked > [type="checkbox"]:checked + label + div {
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
|
@ -1204,10 +1210,10 @@ table.striped tr:nth-of-type(2n) > td {
|
|||
margin: 0;
|
||||
-webkit-transform: scaleY(1);
|
||||
transform: scaleY(1);
|
||||
background: #fafafa;
|
||||
border: 1px solid #9e9e9e;
|
||||
background: #eee7ff;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-top: 0;
|
||||
padding: 8px;
|
||||
padding: 10px;
|
||||
clip: auto;
|
||||
-webkit-clip-path: inset(0%);
|
||||
clip-path: inset(0%); }
|
||||
|
@ -1219,16 +1225,29 @@ table.striped tr:nth-of-type(2n) > td {
|
|||
.tabs.stacked > label {
|
||||
-webkit-order: initial;
|
||||
order: initial; }
|
||||
.tabs.stacked > label:last-of-type {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px; }
|
||||
.tabs.stacked > label:first-of-type {
|
||||
border-top-right-radius: 2px; }
|
||||
.tabs.stacked > [type="radio"]:checked + label, .tabs.stacked > [type="checkbox"]:checked + label {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
.tabs.stacked > [type="radio"] + label + div, .tabs.stacked > [type="checkbox"] + label + div {
|
||||
-webkit-order: initial;
|
||||
order: initial;
|
||||
-webkit-transform-origin: top;
|
||||
transform-origin: top; }
|
||||
transform-origin: top;
|
||||
border-radius: 0; }
|
||||
.tabs.stacked > [type="radio"] + label + div + [type="radio"] + label, .tabs.stacked > [type="radio"] + label + div + [type="checkbox"] + label, .tabs.stacked > [type="checkbox"] + label + div + [type="radio"] + label, .tabs.stacked > [type="checkbox"] + label + div + [type="checkbox"] + label {
|
||||
border: 1px solid #9e9e9e;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-top: 0; }
|
||||
.tabs.stacked > [type="radio"]:checked + label + div, .tabs.stacked > [type="checkbox"]:checked + label + div {
|
||||
height: auto; }
|
||||
.tabs.stacked > [type="radio"] + label + div:last-of-type, .tabs.stacked > [type="checkbox"] + label + div:last-of-type {
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px; }
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.tabs {
|
||||
|
@ -1238,12 +1257,25 @@ table.striped tr:nth-of-type(2n) > td {
|
|||
.tabs > label {
|
||||
-webkit-order: initial;
|
||||
order: initial; }
|
||||
.tabs > label:first-of-type {
|
||||
border-top-right-radius: 2px; }
|
||||
.tabs > label:last-of-type {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px; }
|
||||
.tabs > [type="radio"]:checked + label {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
.tabs > [type="radio"] + label + div {
|
||||
-webkit-order: initial;
|
||||
order: initial; }
|
||||
order: initial;
|
||||
border-radius: 0; }
|
||||
.tabs > [type="radio"] + label + div + [type="radio"] + label {
|
||||
border: 1px solid #9e9e9e;
|
||||
border-top: 0; } }
|
||||
border: 1px solid #a9a2ba;
|
||||
border-top: 0; }
|
||||
.tabs > [type="radio"] + label + div:last-of-type {
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px; } }
|
||||
/*
|
||||
Definitions for contextual background elements and alerts.
|
||||
*/
|
||||
|
@ -1253,16 +1285,17 @@ mark {
|
|||
font-size: 95%;
|
||||
line-height: 1;
|
||||
border-radius: 2px;
|
||||
padding: 2px 4px;
|
||||
padding: 3px 5px;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.15); }
|
||||
mark.inline-block {
|
||||
display: inline-block; }
|
||||
|
||||
.alert {
|
||||
display: block;
|
||||
background: #eeeeee;
|
||||
border: 1px solid #bdbdbd;
|
||||
margin: 1px 10px;
|
||||
background: #e8deff;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-radius: 2px;
|
||||
margin: 4px 10px;
|
||||
padding: 12px 16px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.26); }
|
||||
|
||||
|
@ -1285,17 +1318,17 @@ mark.inline-block {
|
|||
padding: 5px; }
|
||||
|
||||
.alert.urgent {
|
||||
background: #ffca28; }
|
||||
background: #fe9992; }
|
||||
|
||||
.alert.critical {
|
||||
background: #b71c1c;
|
||||
color: #fafafa; }
|
||||
background: #ac354e;
|
||||
color: #fffddc; }
|
||||
|
||||
.alert.urgent {
|
||||
border: 1px solid #ff8f00; }
|
||||
border: 1px solid #fe6d64; }
|
||||
|
||||
.alert.critical {
|
||||
border: 1px solid #d50000; }
|
||||
border: 1px solid #86293d; }
|
||||
|
||||
/*
|
||||
Definitions for progress elements and spinners.
|
||||
|
@ -1306,34 +1339,34 @@ progress {
|
|||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
height: 14px;
|
||||
height: 16px;
|
||||
width: 100%;
|
||||
border: 0;
|
||||
border-radius: 1px;
|
||||
border-radius: 2px;
|
||||
margin: 2px auto;
|
||||
box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.1), 0 0.5px 0.5px rgba(0, 0, 0, 0.15);
|
||||
background: #eeeeee;
|
||||
color: #01579b; }
|
||||
background: #e8deff;
|
||||
color: #6979c6; }
|
||||
progress::-webkit-progress-value {
|
||||
background: #01579b;
|
||||
border-top-left-radius: 1px;
|
||||
border-bottom-left-radius: 1px; }
|
||||
background: #6979c6;
|
||||
border-top-left-radius: 2px;
|
||||
border-bottom-left-radius: 2px; }
|
||||
progress::-webkit-progress-bar {
|
||||
background: #eeeeee; }
|
||||
background: #e8deff; }
|
||||
progress::-moz-progress-bar {
|
||||
background: #01579b;
|
||||
border-top-left-radius: 1px;
|
||||
border-bottom-left-radius: 1px; }
|
||||
background: #6979c6;
|
||||
border-top-left-radius: 2px;
|
||||
border-bottom-left-radius: 2px; }
|
||||
progress[value="1000"]::-webkit-progress-value {
|
||||
border-radius: 1px; }
|
||||
border-radius: 2px; }
|
||||
progress[value="1000"]::-moz-progress-bar {
|
||||
border-radius: 1px; }
|
||||
border-radius: 2px; }
|
||||
|
||||
@supports (width: calc(100% - 2*8px)) or (width: -webkit-calc(100% - 2*8px)) {
|
||||
@supports (width: calc(100% - 2*10px)) or (width: -webkit-calc(100% - 2*10px)) {
|
||||
progress {
|
||||
width: -webkit-calc(100% - 2*8px);
|
||||
width: calc(100% - 2*8px);
|
||||
margin: 2px 8px; } }
|
||||
width: -webkit-calc(100% - 2*10px);
|
||||
width: calc(100% - 2*10px);
|
||||
margin: 2px 10px; } }
|
||||
@-webkit-keyframes spinner-donut-anim {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg); }
|
||||
|
@ -1346,8 +1379,8 @@ progress {
|
|||
transform: rotate(360deg); } }
|
||||
.spinner-donut {
|
||||
display: inline-block;
|
||||
border: 4px solid #e3f2fd;
|
||||
border-left: 4px solid #1565c0;
|
||||
border: 4px solid #d6daef;
|
||||
border-left: 4px solid #6979c6;
|
||||
border-radius: 50%;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
|
@ -1363,18 +1396,18 @@ progress.inline {
|
|||
width: 60%; }
|
||||
|
||||
progress.secondary {
|
||||
color: #e53935; }
|
||||
color: #d2405f; }
|
||||
progress.secondary::-webkit-progress-value {
|
||||
background: #e53935; }
|
||||
background: #d2405f; }
|
||||
progress.secondary::-moz-progress-bar {
|
||||
background: #e53935; }
|
||||
background: #d2405f; }
|
||||
|
||||
progress.tertiary {
|
||||
color: #689f38; }
|
||||
color: #2b866d; }
|
||||
progress.tertiary::-webkit-progress-value {
|
||||
background: #689f38; }
|
||||
background: #2b866d; }
|
||||
progress.tertiary::-moz-progress-bar {
|
||||
background: #689f38; }
|
||||
background: #2b866d; }
|
||||
|
||||
progress.nano {
|
||||
height: 2px;
|
||||
|
@ -1398,12 +1431,12 @@ progress.nano {
|
|||
width: calc(100% - 2*0);
|
||||
margin: 0 0; } }
|
||||
.spinner-donut.secondary {
|
||||
border: 4px solid #ffebee;
|
||||
border-left: 4px solid #c62828; }
|
||||
border: 4px solid #f2cad3;
|
||||
border-left: 4px solid #d2405f; }
|
||||
|
||||
.spinner-donut.tertiary {
|
||||
border: 4px solid #e8f5e9;
|
||||
border-left: 4px solid #2e7d32; }
|
||||
border: 4px solid #c5ded7;
|
||||
border-left: 4px solid #2b866d; }
|
||||
|
||||
.spinner-donut.large {
|
||||
border-width: 6px;
|
||||
|
@ -1432,8 +1465,9 @@ ul.breadcrumbs {
|
|||
display: -webkit-flex;
|
||||
display: flex;
|
||||
list-style: none;
|
||||
margin: 10px 8px;
|
||||
margin: 12px 10px;
|
||||
padding: 0;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.15); }
|
||||
ul.breadcrumbs li {
|
||||
|
@ -1445,17 +1479,17 @@ ul.breadcrumbs {
|
|||
flex-basis: 0;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background: #e0e0e0;
|
||||
background: #e8deff;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
margin-right: 18px; }
|
||||
margin-right: 19px; }
|
||||
ul.breadcrumbs li:before, ul.breadcrumbs li:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border: 0 solid #e0e0e0;
|
||||
border: 0 solid #e8deff;
|
||||
border-width: 16px 8px; }
|
||||
ul.breadcrumbs li:before {
|
||||
left: -16px;
|
||||
|
@ -1463,7 +1497,7 @@ ul.breadcrumbs {
|
|||
ul.breadcrumbs li:after {
|
||||
left: 100%;
|
||||
border-color: transparent;
|
||||
border-left-color: #e0e0e0; }
|
||||
border-left-color: #e8deff; }
|
||||
ul.breadcrumbs li:first-child:before {
|
||||
border: 0; }
|
||||
ul.breadcrumbs li:last-child {
|
||||
|
@ -1479,13 +1513,13 @@ ul.breadcrumbs {
|
|||
border-radius: 1em;
|
||||
font-size: 32px;
|
||||
text-overflow: clip;
|
||||
background: rgba(224, 224, 224, 0);
|
||||
background: rgba(232, 222, 255, 0);
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
-webkit-transition: all 0.3s ease 0s;
|
||||
transition: all 0.3s ease 0s; }
|
||||
.close:hover, .close:active, .close:focus {
|
||||
background: #e0e0e0; }
|
||||
background: #e8deff; }
|
||||
.close:before, .close:after {
|
||||
display: inline-block;
|
||||
width: 0.45em;
|
||||
|
@ -1495,7 +1529,7 @@ ul.breadcrumbs {
|
|||
top: 0.33em;
|
||||
left: 0.155em;
|
||||
text-overflow: clip;
|
||||
background: #212121; }
|
||||
background: #211423; }
|
||||
.close:before {
|
||||
-webkit-transform: rotateZ(45deg);
|
||||
transform: rotateZ(45deg); }
|
||||
|
@ -1520,29 +1554,29 @@ ul.breadcrumbs {
|
|||
border: 1px solid rgba(0, 0, 0, 0.25) !important; }
|
||||
|
||||
.rounded {
|
||||
border-radius: 2px !important; }
|
||||
border-radius: 4px !important; }
|
||||
|
||||
.circular {
|
||||
border-radius: 50% !important; }
|
||||
|
||||
.responsive-margin {
|
||||
margin: 4px !important; }
|
||||
margin: 3px !important; }
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.responsive-margin {
|
||||
margin: 6px !important; } }
|
||||
@media (min-width: 1280px) {
|
||||
.responsive-margin {
|
||||
margin: 8px !important; } }
|
||||
margin: 10px !important; } }
|
||||
.responsive-padding {
|
||||
padding: 2px 4px !important; }
|
||||
padding: 2px 3px !important; }
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.responsive-padding {
|
||||
padding: 4px 6px !important; } }
|
||||
@media (min-width: 1280px) {
|
||||
.responsive-padding {
|
||||
padding: 6px 8px !important; } }
|
||||
padding: 8px 10px !important; } }
|
||||
.shadow-none {
|
||||
box-shadow: none !important; }
|
||||
|
||||
|
|
2
dist/mini-sucroa.min.css
vendored
2
dist/mini-sucroa.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -364,18 +364,18 @@ $card-section-padding1-padding: 12px 14px; // Padding for card section
|
|||
$tab-container-name: 'tabs'; // Class name for the tabs' container
|
||||
$tab-container-box-shadow: // Box shadow for the tabs' container
|
||||
0 2px 4px rgba(0,0,0, 0.18), 0 2px 3px rgba(0, 0, 0, 0.26);
|
||||
$tab-label-back-color: #e0e0e0; // Background color for tabs' labels
|
||||
$tab-label-back-color: #d3cae8; // Background color for tabs' labels
|
||||
$tab-label-fore-color: $fore-color; // Text color for tabs' labels
|
||||
$tab-label-selected-back-color: #eeeeee; // Background color for open tab's label
|
||||
$tab-label-selected-back-color: #e8deff; // Background color for open tab's label
|
||||
$tab-label-selected-fore-color: $fore-color; // Text color for open tab's label
|
||||
$tab-label-hover-opacity: 0.8; // Opacity of the tab's label on hover
|
||||
$tab-label-padding: 8px 12px; // Padding for tabs' labels
|
||||
$tab-label-height: 26px; // Height for tabs' labels
|
||||
$tab-border-style: 1px solid #9e9e9e; // Border style for tabs
|
||||
$tab-border-radius: 0; // Border radius for tabs
|
||||
$tab-panel-back-color: #fafafa; // Background color for tabs' panels
|
||||
$tab-label-padding: 10px 12px; // Padding for tabs' labels
|
||||
$tab-label-height: 28px; // Height for tabs' labels
|
||||
$tab-border-style: 1px solid #a9a2ba; // Border style for tabs
|
||||
$tab-border-radius: 2px; // Border radius for tabs
|
||||
$tab-panel-back-color: #eee7ff; // Background color for tabs' panels
|
||||
$tab-panel-fore-color: $fore-color; // Text color for tabs' panels
|
||||
$tab-panel-padding: 8px; // Padding for tabs' panels
|
||||
$tab-panel-padding: 10px; // Padding for tabs' panels
|
||||
$tab-panel-height: 400px; // Height for tabs' panels
|
||||
$tab-stacked-breakpoint: 767px; // Breakpoint for tabs layout (stacked/horizontal)
|
||||
$tab-stacked-name: 'stacked'; // Class name for stacked tabs
|
||||
|
@ -386,7 +386,7 @@ $mark-font-size: 95%; // Font size for <mark>
|
|||
$mark-line-height: 1; // Line height for <mark>
|
||||
$mark-border-style: 0; // Border style for <mark>
|
||||
$mark-border-radius: 2px; // Border radius for <mark>
|
||||
$mark-padding: 2px 4px; // Padding for <mark>
|
||||
$mark-padding: 3px 5px; // Padding for <mark>
|
||||
$mark-margin: 0; // Margin for <mark>
|
||||
$mark-box-shadow: // Box shadow for <mark>
|
||||
0 1px 2px rgba(0,0,0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.15);
|
||||
|
@ -406,48 +406,48 @@ $mark-style2-padding: 5px; // Padding for <mark> style 2
|
|||
$mark-style2-font-size: 100%; // Font size for <mark> style 2
|
||||
$mark-style2-line-height: 1.35; // Line height for <mark> style 2
|
||||
$alert-name: 'alert'; // Class name for alerts
|
||||
$alert-back-color: #eeeeee; // Background color for alerts
|
||||
$alert-back-color: #e8deff; // Background color for alerts
|
||||
$alert-fore-color: $fore-color; // Text color for alerts
|
||||
$alert-border-style: 1px solid #bdbdbd; // Border style for alerts
|
||||
$alert-border-radius: 0; // Border radius for alerts
|
||||
$alert-border-style: 1px solid #a9a2ba; // Border style for alerts
|
||||
$alert-border-radius: 2px; // Border radius for alerts
|
||||
$alert-padding: 12px 16px; // Padding for alerts
|
||||
$alert-margin: 1px 10px; // Margin for alerts
|
||||
$alert-margin: 4px 10px; // Margin for alerts
|
||||
$alert-box-shadow: // Box shadow for alerts
|
||||
0 1px 3px rgba(0,0,0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.26);
|
||||
$alert-include-animated: false; // Should animated alerts be included?
|
||||
// (`true`/`false`) [1]
|
||||
$alert-animated-class: 'animated'; // Class name for animated alerts
|
||||
$alert-variant1-name: 'urgent'; // Class name for alert variant 1
|
||||
$alert-variant1-back-color: #ffca28; // Background color for alert variant 1
|
||||
$alert-variant1-back-color: #fe9992; // Background color for alert variant 1
|
||||
$alert-variant2-name: 'critical'; // Class name for alert variant 2
|
||||
$alert-variant2-back-color: #b71c1c; // Background color for alert variant 2
|
||||
$alert-variant2-fore-color: #fafafa; // Text color for alert variant 2
|
||||
$alert-variant2-back-color: #ac354e; // Background color for alert variant 2
|
||||
$alert-variant2-fore-color: #fffddc; // Text color for alert variant 2
|
||||
$alert-style1-name: 'urgent'; // Class name for alert style 1
|
||||
$alert-style1-border-style: 1px solid #ff8f00; // Border style for alert style 1
|
||||
$alert-style1-border-style: 1px solid #fe6d64; // Border style for alert style 1
|
||||
$alert-style1-border-radius: $alert-border-radius; // Border radius for alert style 1
|
||||
$alert-style2-name: 'critical'; // Class name for alert style 2
|
||||
$alert-style2-border-style: 1px solid #d50000; // Border style for alert style 2
|
||||
$alert-style2-border-style: 1px solid #86293d; // Border style for alert style 2
|
||||
$alert-style2-border-radius: $alert-border-radius; // Border radius for alert style 2
|
||||
// Notes:
|
||||
// [1] - If the value of $alert-include-animated is `true`, an animation will be created and the value of $alert-animated-class
|
||||
// will be used to determine the class that will be used for animated alerts.
|
||||
// Variables for progress elements and spinners
|
||||
$progress-back-color: #eeeeee; // Background color for <progress>
|
||||
$progress-fore-color: #01579b; // Progress bar color for <progress>
|
||||
$progress-height: 14px; // Height of <progress>
|
||||
$progress-back-color: #e8deff; // Background color for <progress>
|
||||
$progress-fore-color: #6979c6; // Progress bar color for <progress>
|
||||
$progress-height: 16px; // Height of <progress>
|
||||
$progress-max-value: 1000; // Arithmetic max value of <progress>
|
||||
$progress-border-style: 0; // Border style for <progress>
|
||||
$progress-border-radius: 1px; // Border radius for the <progress> container
|
||||
$progress-border-radius: 2px; // Border radius for the <progress> container
|
||||
$progress-top-bottom-margin: 2px; // Top and bottom margin for <progress>
|
||||
$progress-left-right-margin: 8px; // Left and right margin for <progress>
|
||||
$progress-left-right-margin: 10px; // Left and right margin for <progress>
|
||||
$progress-box-shadow: // Box shadow for <progress>
|
||||
0 0.5px 1px rgba(0,0,0, 0.1), 0 0.5px 0.5px rgba(0, 0, 0, 0.15);
|
||||
$progress-inline-name: 'inline'; // Class name for inline <progress>
|
||||
$progress-inline-width: 60%; // Width for inline <progress>
|
||||
$progress-variant1-name: 'secondary'; // Class name for <progress> variant 1
|
||||
$progress-variant1-fore-color: #e53935; // Progress bar color for <progress> variant 1
|
||||
$progress-variant1-fore-color: #d2405f; // Progress bar color for <progress> variant 1
|
||||
$progress-variant2-name: 'tertiary'; // Class name for <progress> variant 2
|
||||
$progress-variant2-fore-color: #689f38; // Progress bar color for <progress> variant 2
|
||||
$progress-variant2-fore-color: #2b866d; // Progress bar color for <progress> variant 2
|
||||
$progress-style1-name: 'nano'; // Class name for <progress> style 1
|
||||
$progress-style1-height: 2px; // Height for <progress> style 1
|
||||
$progress-style1-top-bottom-margin: // Top and bottom margin for <progress> style 1
|
||||
|
@ -458,19 +458,19 @@ $progress-style1-border-style: 0; // Border style for <progress> styl
|
|||
$progress-style1-border-radius: 0; // Border radius for <progress> style 1
|
||||
$spinner-donut-name: 'spinner-donut'; // Class name for donut spinner
|
||||
$spinner-donut-border-thickness:4px; // Border thickness for donut spinner
|
||||
$spinner-donut-back-color: #e3f2fd; // Background color for donut spinner
|
||||
$spinner-donut-fore-color: #1565c0; // Foreground color for donut spinner
|
||||
$spinner-donut-back-color: #d6daef; // Background color for donut spinner
|
||||
$spinner-donut-fore-color: #6979c6; // Foreground color for donut spinner
|
||||
$spinner-donut-size: 20px; // Size for donut spinner
|
||||
$spinner-donut-variant1-name: 'secondary'; // Class name for donut spinner variant 1
|
||||
$spinner-donut-variant1-back-color: // Background color for donut spinner variant 1
|
||||
#ffebee;
|
||||
#f2cad3;
|
||||
$spinner-donut-variant1-fore-color: // Foreground color for donut spinner variant 1
|
||||
#c62828;
|
||||
#d2405f;
|
||||
$spinner-donut-variant2-name: 'tertiary'; // Class name for donut spinner variant 2
|
||||
$spinner-donut-variant2-back-color: // Background color for donut spinner variant 2
|
||||
#e8f5e9;
|
||||
#c5ded7;
|
||||
$spinner-donut-variant2-fore-color: // Foreground color for donut spinner variant 2
|
||||
#2e7d32;
|
||||
#2b866d;
|
||||
$spinner-donut-style1-name: 'large'; // Class name for donut spinner style 1
|
||||
$spinner-donut-style1-size: 32px; // Size for donut spinner style 1
|
||||
$spinner-donut-style1-border-thickness: // Border thickness for donut spinner style 1
|
||||
|
@ -479,21 +479,21 @@ $spinner-donut-style1-border-thickness: // Border thickness for donut
|
|||
$hidden-name: 'hidden'; // Class name for hidden elements
|
||||
$visually-hidden-name: 'visually-hidden'; // Class name for visually hidden elements
|
||||
$breadcrumbs-name: 'breadcrumbs'; // Class name for breadcrumbs
|
||||
$breadcrumbs-back-color: #e0e0e0; // Background color for breadcrumbs
|
||||
$breadcrumbs-margin: 10px 8px; // Margin for breadcrumbs
|
||||
$breadcrumbs-back-color: #e8deff; // Background color for breadcrumbs
|
||||
$breadcrumbs-margin: 12px 10px; // Margin for breadcrumbs
|
||||
$breadcrumbs-height: 32px; // Height of the breadcrumbs
|
||||
$breadcrumbs-separator-width: 2px; // Width of the breadcrumbs' separator
|
||||
$breadcrumbs-border-style: 0; // Border style for breadcrumbs
|
||||
$breadcrumbs-separator-width: 3px; // Width of the breadcrumbs' separator
|
||||
$breadcrumbs-border-style: 1px solid #a9a2ba; // Border style for breadcrumbs
|
||||
$breadcrumbs-border-radius: 4px; // Border radius for breadcrumbs
|
||||
$breadcrumbs-box-shadow: // Box shadow for breadcrumbs
|
||||
0 1px 3px rgba(0,0,0,0.1),0 1px 2px rgba(0,0,0,0.15);
|
||||
$close-icon-name: 'close'; // Class name for close icon
|
||||
$close-icon-size: 32px; // Size of the close icon
|
||||
$close-icon-back-color: #e0e0e0; // Background color for the close icon
|
||||
$close-icon-fore-color: #212121; // Foreground color for the close icon
|
||||
$close-icon-back-color: #e8deff; // Background color for the close icon
|
||||
$close-icon-fore-color: #211423; // Foreground color for the close icon
|
||||
$border-generic-name: 'bordered'; // Class name for generic border style
|
||||
$border-radial-style1-name: 'rounded'; // Class name for radial border style 1
|
||||
$border-radial-style1-radius: 2px; // Border radius for radial border style 1
|
||||
$border-radial-style1-radius: 4px; // Border radius for radial border style 1
|
||||
$border-radial-style2-name: 'circular'; // Class name for radial border style 2
|
||||
$border-radial-style2-radius: 50%; // Border radius for radial border style 2
|
||||
$box-shadow-style1-name: 'shadow-none'; // Class name for generic box-shadow style 1
|
||||
|
@ -512,18 +512,18 @@ $responsive-margin-medium-breakpoint: // Medium screen breakpoint for
|
|||
$grid-medium-breakpoint;
|
||||
$responsive-margin-large-breakpoint: // Large screen breakpoint for responsive margin
|
||||
$grid-large-breakpoint;
|
||||
$responsive-margin-small-value: 4px; // Margin value for responsive margin on small screens
|
||||
$responsive-margin-small-value: 3px; // Margin value for responsive margin on small screens
|
||||
$responsive-margin-medium-value:6px; // Margin value for responsive margin on medium screens
|
||||
$responsive-margin-large-value: 8px; // Margin value for responsive margin on large screens
|
||||
$responsive-margin-large-value: 10px; // Margin value for responsive margin on large screens
|
||||
$responsive-padding-name: 'responsive-padding'; // Class name for responsive padding
|
||||
$responsive-padding-medium-breakpoint: // Medium screen breakpoint for responsive padding
|
||||
$grid-medium-breakpoint;
|
||||
$responsive-padding-large-breakpoint: // Large screen breakpoint for responsive padding
|
||||
$grid-large-breakpoint;
|
||||
$responsive-padding-small-value:2px 4px; // Padding value for responsive padding on small screens
|
||||
$responsive-padding-small-value:2px 3px; // Padding value for responsive padding on small screens
|
||||
$responsive-padding-medium-value: // Padding value for responsive padding on medium screens
|
||||
4px 6px;
|
||||
$responsive-padding-large-value:6px 8px; // Padding value for responsive padding on large screens
|
||||
$responsive-padding-large-value:8px 10px; // Padding value for responsive padding on large screens
|
||||
$float-prefix: 'float'; // Prefix for float classes
|
||||
$clearfix-name: 'clearfix'; // Class name for clearfix
|
||||
$center-block-name: 'center-block'; // Class name for center block
|
||||
|
|
Loading…
Reference in a new issue