Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Merge branch 'fermion.v2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalarangelo committed Oct 15, 2017
2 parents 930b613 + 49ffe76 commit b880287
Show file tree
Hide file tree
Showing 25 changed files with 61 additions and 36 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v2.3.5

- Fixes a bug caused by empty `<td>` elements, causing mobile tables to not display as intended.

## v2.3.4

- Fixed an edge-case that could cause trouble with `<header>` elements (#94).
Expand Down
3 changes: 2 additions & 1 deletion dist/mini-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Flavor name: Dark (mini-dark)
Author: Angelos Chalaris ([email protected])
Maintainers: Angelos Chalaris
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
/*
Browsers resets and base typography.
Expand Down Expand Up @@ -1360,6 +1360,7 @@ table th:first-child, table td:first-child {
border: 0;
border-bottom: 0.0625rem solid #1c2529;
text-align: right;
min-height: 1.5rem;
}
table:not(.preset) td:before {
content: attr(data-label);
Expand Down
2 changes: 1 addition & 1 deletion dist/mini-dark.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/mini-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Flavor name: Default (mini-default)
Author: Angelos Chalaris ([email protected])
Maintainers: Angelos Chalaris
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
/*
Browsers resets and base typography.
Expand Down Expand Up @@ -1360,6 +1360,7 @@ table th:first-child, table td:first-child {
border: 0;
border-bottom: 0.0625rem solid #c9c9c9;
text-align: right;
min-height: 1.5rem;
}
table:not(.preset) td:before {
content: attr(data-label);
Expand Down
2 changes: 1 addition & 1 deletion dist/mini-default.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/mini-lite.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Flavor name: Lite (mini-lite)
Author: Angelos Chalaris ([email protected])
Maintainers: Angelos Chalaris
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
/*
Browsers resets and base typography.
Expand Down Expand Up @@ -1093,6 +1093,7 @@ table th:first-child, table td:first-child {
border: 0;
border-bottom: 0.0625rem solid #c9c9c9;
text-align: right;
min-height: 1.5rem;
}
table:not(.preset) td:before {
content: attr(data-label);
Expand Down
2 changes: 1 addition & 1 deletion dist/mini-lite.min.css

Large diffs are not rendered by default.

31 changes: 16 additions & 15 deletions dist/mini-nord.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@charset "UTF-8";
/*
Flavor name: Nord (mini-nord)
Author: tphecca (https://github.com/tphecca)
Maintainers: tphecca
mini.css version: v2.3.4
/*
Flavor name: Nord (mini-nord)
Author: tphecca (https://github.com/tphecca)
Maintainers: tphecca
mini.css version: v2.3.5
*/
/*
Browsers resets and base typography.
Expand Down Expand Up @@ -1055,8 +1055,8 @@ input[type="file"] {
background: #5E81AC;
}

/*
Custom elements for forms and input elements.
/*
Custom elements for forms and input elements.
*/
button.primary, [type="button"].primary, [type="submit"].primary,
[type="reset"].primary, .button.primary, [role="button"].primary {
Expand Down Expand Up @@ -1382,6 +1382,7 @@ table th:first-child, table td:first-child {
border: 0;
border-bottom: 1px solid #D8DEE9;
text-align: right;
min-height: 1.5rem;
}
table:not(.preset) td:before {
content: attr(data-label);
Expand Down Expand Up @@ -1684,8 +1685,8 @@ table.striped tr:nth-of-type(2n) > td {
}
}

/*
Custom elements for cards and containers.
/*
Custom elements for cards and containers.
*/
@media screen and (min-width: 480px) {
.card.large {
Expand Down Expand Up @@ -2018,8 +2019,8 @@ mark.inline-block {
z-index: 1211;
}

/*
Custom contextual background elements and alerts.
/*
Custom contextual background elements and alerts.
*/
mark.secondary {
background: #BF616A;
Expand Down Expand Up @@ -2123,8 +2124,8 @@ progress[value="1000"]::-moz-progress-bar {
animation: spinner-donut-anim 1.2s linear infinite;
}

/*
Custom elements for progress elements and spinners.
/*
Custom elements for progress elements and spinners.
*/
progress.inline {
display: inline-block;
Expand Down Expand Up @@ -2275,8 +2276,8 @@ ul.breadcrumbs li:last-child:after {
text-align: center;
}

/*
Custom elements for utilities and helper classes.
/*
Custom elements for utilities and helper classes.
*/
.bordered {
border: 1px solid rgba(0, 0, 0, 0.25) !important;
Expand Down
2 changes: 1 addition & 1 deletion dist/mini-nord.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/mini-pwa.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Flavor name: Progressive Web App (mini-pw)
Author: Angelos Chalaris ([email protected])
Maintainers: Angelos Chalaris
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
/*
Browsers resets and base typography.
Expand Down Expand Up @@ -1215,6 +1215,7 @@ table th:first-child, table td:first-child {
border: 0;
border-bottom: 0.0625rem solid #bdbdbd;
text-align: right;
min-height: 1.5rem;
}
table:not(.preset) td:before {
content: attr(data-label);
Expand Down
2 changes: 1 addition & 1 deletion dist/mini-pwa.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/mini-sucroa.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Flavor name: Sucroa (mini-sucroa)
Author: Angeliki Daskalakis
Maintainers: Angeliki Daskalakis, Angelos Chalaris ([email protected])
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
@import url("https://fonts.googleapis.com/css?family=Cousine:400,400i,700|Libre+Baskerville:400,400i,700&subset=latin-ext");
/*
Expand Down Expand Up @@ -1340,6 +1340,7 @@ table th:first-child, table td:first-child {
border: 0;
border-bottom: 1px solid #a9a2ba;
text-align: right;
min-height: 1.5rem;
}
table:not(.preset) td:before {
content: attr(data-label);
Expand Down
2 changes: 1 addition & 1 deletion dist/mini-sucroa.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/flavors.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<h1>Flavors</h1>
<p style="text-align:justify">One of the core ideas behind <strong>mini.css</strong> is its flavor system. A flavor is the final compiled stylesheet a website or web app uses. When you start using <strong>mini.css</strong>, you usually try out the default flavor, using one of the following references inside your HTML page's <code>&lt;head&gt;</code> tag:</p>
<pre>&lt;<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">&quot;stylesheet&quot;</span> <span class="fore-secondary">href</span>=<span class="fore-primary">&quot;https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-default.min.css&quot;</span>&gt;</pre>
<pre>&lt;<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">&quot;stylesheet&quot;</span> <span class="fore-secondary">href</span>=<span class="fore-primary">&quot;https://cdn.rawgit.com/Chalarangelo/mini.css/v2.3.4/dist/mini-default.min.css&quot;</span>&gt;</pre><br>
<pre>&lt;<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">&quot;stylesheet&quot;</span> <span class="fore-secondary">href</span>=<span class="fore-primary">&quot;https://cdn.rawgit.com/Chalarangelo/mini.css/v2.3.5/dist/mini-default.min.css&quot;</span>&gt;</pre><br>
<p style="text-align:justify">There are, however a handful of other flavors included with <strong>mini.css</strong>. Below, you can see a full list of them:</p><br>
<ul style="margin-left:0px; padding-left: 4px">
<li class="card fluid">
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ <h2>Setup &amp; usage</h2>
<br/>
<p style="text-align:justify">Alternatively, you can use either <strong>GitCDN</strong> or <strong>RawGit</strong> to import the default flavor of <strong>mini.css</strong>. Simply add one of the following references inside your HTML page's <code>&lt;head&gt;</code> tag:</p>
<pre>&lt;<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">&quot;stylesheet&quot;</span> <span class="fore-secondary">href</span>=<span class="fore-primary">&quot;https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-default.min.css&quot;</span>&gt;</pre>
<pre>&lt;<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">&quot;stylesheet&quot;</span> <span class="fore-secondary">href</span>=<span class="fore-primary">&quot;https://cdn.rawgit.com/Chalarangelo/mini.css/v2.3.4/dist/mini-default.min.css&quot;</span>&gt;</pre><br/>
<pre>&lt;<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">&quot;stylesheet&quot;</span> <span class="fore-secondary">href</span>=<span class="fore-primary">&quot;https://cdn.rawgit.com/Chalarangelo/mini.css/v2.3.5/dist/mini-default.min.css&quot;</span>&gt;</pre><br/>
<p style="text-align:justify">Finally, you can find <strong>mini.css</strong> on <a href="https://cdnjs.com/libraries/mini.css">cdnjs</a>, which you can use to include it in your projects.</p><br/>
<hr>
</div>
Expand Down
3 changes: 2 additions & 1 deletion docs/mini-default.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/quick_reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h1>Quick Reference</h1>
</div><br>
<p style="text-align:justify">You can import the default flavor of <strong>mini.css</strong> in your webpage by simply adding one of the following references inside your HTML page's <code>&lt;head&gt;</code> tag:</p>
<pre>&lt;<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">&quot;stylesheet&quot;</span> <span class="fore-secondary">href</span>=<span class="fore-primary">&quot;https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-default.min.css&quot;</span>&gt;</pre>
<pre>&lt;<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">&quot;stylesheet&quot;</span> <span class="fore-secondary">href</span>=<span class="fore-primary">&quot;https://cdn.rawgit.com/Chalarangelo/mini.css/v2.3.4/dist/mini-default.min.css&quot;</span>&gt;</pre><br>
<pre>&lt;<span class="fore-tertiary">link</span> <span class="fore-secondary">rel</span>=<span class="fore-primary">&quot;stylesheet&quot;</span> <span class="fore-secondary">href</span>=<span class="fore-primary">&quot;https://cdn.rawgit.com/Chalarangelo/mini.css/v2.3.5/dist/mini-default.min.css&quot;</span>&gt;</pre><br>
<p style="text-align:justify">You can also find <strong>mini.css</strong> on <a href="https://cdnjs.com/libraries/mini.css">cdnjs</a>, which you can use to include it in your projects.</p><br/>
<p style="text-align:justify">We strongly suggest you add the following line inside your HTML page's <code>&lt;head&gt;</code> to utilize the viewport meta tag:</p>
<pre>&lt;<span class="fore-tertiary">meta</span> <span class="fore-secondary">name</span>=<span class="fore-primary">&quot;viewport&quot;</span> <span class="fore-secondary">content</span>=<span class="fore-primary">&quot;width=device-width, initial-scale=1&quot;</span>&gt;</pre>
Expand Down
10 changes: 10 additions & 0 deletions docs/v2/DEVLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1293,3 +1293,13 @@
- Updated all flavors to the latest version.
- Removed Scrimba screencast from `index.html`, now it's only in its respective module. Should make loading somewhat faster.
- Released update.

# v2.3.5 Development Log

## 20171015

- Merged PR #102 to fix #101.
- Updated `table` to properly fix #101 and allow for customization.
- Rebuilt flavors to latest version.
- Updated docs.
- Released patch.
2 changes: 1 addition & 1 deletion src/flavors/mini-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Flavor name: Dark (mini-dark)
Author: Angelos Chalaris ([email protected])
Maintainers: Angelos Chalaris
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
// Basic rules for body and typography
$fore-color: #d0d0d0; // Text and general foreground color
Expand Down
2 changes: 1 addition & 1 deletion src/flavors/mini-default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Flavor name: Default (mini-default)
Author: Angelos Chalaris ([email protected])
Maintainers: Angelos Chalaris
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
// Basic rules for body and typography
$fore-color: #212121; // Text and general foreground color
Expand Down
2 changes: 1 addition & 1 deletion src/flavors/mini-lite.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Flavor name: Lite (mini-lite)
Author: Angelos Chalaris ([email protected])
Maintainers: Angelos Chalaris
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
// Basic rules for body and typography
$fore-color: #212121; // Text and general foreground color
Expand Down
2 changes: 1 addition & 1 deletion src/flavors/mini-nord.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Flavor name: Nord (mini-nord)
Author: tphecca (https://github.com/tphecca)
Maintainers: tphecca
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
// This flavor is based on the Nord color palette: https://github.com/arcticicestudio/nord
// Basic rules for body and typography
Expand Down
2 changes: 1 addition & 1 deletion src/flavors/mini-pwa.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Flavor name: Progressive Web App (mini-pw)
Author: Angelos Chalaris ([email protected])
Maintainers: Angelos Chalaris
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
// Basic rules for body and typography
$fore-color: #212121; // Text and general foreground color
Expand Down
2 changes: 1 addition & 1 deletion src/flavors/mini-sucroa.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Flavor name: Sucroa (mini-sucroa)
Author: Angeliki Daskalakis
Maintainers: Angeliki Daskalakis, Angelos Chalaris ([email protected])
mini.css version: v2.3.4
mini.css version: v2.3.5
*/
// Google Fonts imports and usage
@import url('https://fonts.googleapis.com/css?family=Cousine:400,400i,700|Libre+Baskerville:400,400i,700&subset=latin-ext');
Expand Down
4 changes: 4 additions & 0 deletions src/mini/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ $table-striped-name: 'striped' !default; // Class name for striped ta
// External variables' defaults are used only if you import this module on its own, without the rest of the framework.
$back-color: white !default; // [External variable - core] Background color for everything.
$fore-color: black !default; // [External variable - core] Foreground color for everything.
$base-font-size: 1rem; // [External variable - core] Default font sizing for all elements.
$base-line-height: 1.5; // [External variable - core] Default line height for all elements.
// Desktop view.
table {
border-collapse: separate;
Expand Down Expand Up @@ -107,6 +109,8 @@ table {
border-bottom: $table-border-style;
}
text-align: right;
// Fixes empty <td> elements messing up the cards
min-height: $base-font-size * $base-line-height;
}
td:before {
content: attr(#{$table-mobile-card-label});
Expand Down

0 comments on commit b880287

Please sign in to comment.