1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00

Merge pull request #38 from yne/master

Add `.is-round`, `.is-pointer` and `.hide-pr`
This commit is contained in:
Jenil Gogari 2019-09-09 14:16:04 -04:00 committed by GitHub
commit 5a9c44e9a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 2 deletions

11
dist/chota.css vendored
View File

@ -927,6 +927,12 @@ button:disabled:hover {
.is-marginless {
margin: 0 !important;
}
.is-pointer {
cursor: pointer !important;
}
.is-rounded {
border-radius: 100%;
}
.clearfix {
content: "";
display: table;
@ -955,3 +961,8 @@ button:disabled:hover {
display: none !important;
}
}
@media print {
.hide-pr {
display: none !important;
}
}

2
dist/chota.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -39,11 +39,13 @@
<li><code>is-fixed</code> - fixed positioned element</li>
<li><code>is-paddingless</code> - removes any padding</li>
<li><code>is-marginless</code> - removes any margin</li>
<li><code>is-round</code> - make the element round</li>
<li><code>clearfix</code> - clears the floats</li>
<li><code>is-hidden</code> - hides the element completely</li>
<li><code>hide-xs</code> - hides the element for screens &lt;600px</li>
<li><code>hide-sm</code> - hides the element for screens &gt;=600px and &lt;900px</li>
<li><code>hide-md</code> - hides the element for screens &gt;=900px and &lt;1200px</li>
<li><code>hide-lg</code> - hides the element for screens &gt;=1200px</li>
<li><code>hide-pr</code> - hides the element for printing</li>
</ul>
</section>

View File

@ -1,6 +1,6 @@
{
"name": "chota",
"version": "0.6.2",
"version": "0.6.3",
"description": "A really small CSS framework",
"main": "dist/chota.min.css",
"scripts": {

View File

@ -158,6 +158,14 @@
margin: 0 !important;
}
.is-pointer {
cursor: pointer !important;
}
.is-rounded {
border-radius: 100%;
}
.clearfix {
content: "";
display: table;
@ -190,4 +198,10 @@
.hide-lg {
display: none !important;
}
}
@media print {
.hide-pr {
display: none !important;
}
}