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

Commit

Permalink
Resolved some utility module bugs, other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chalarangelo committed Oct 7, 2016
1 parent e646a5b commit 8c2c7d6
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 427 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
- Added support for `:disabled` pseudo-class for elements with disabled styles (issue #8).
- Added support for `:active` and `:focus` for the close utility class (issue #9).
- New module: Spinners (component comes in two styles) - part of the extra modules.
- Removed the `flavor.scss` file from the `/scss` directory. Default flavor base will be `/flavors/mini-default.scss`.
- Added hover styling and pointer cursor to the thumbnail styling (issue #10).

## v1.0.2

Expand Down
6 changes: 5 additions & 1 deletion flavors/mini-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,7 @@ textarea {
- $thumb-padding : The padding between the image and the border.
- $thumb-border : The style of the thumbnail's border.
- $thumb-border-radius : The border radius of the thumbnail.
- $thumb-hover-color : The color of the thumbnail's border when hovering over it.
Notes:
- [1] : This style only applies to `img` elements with the class specified in
`$thumb-name`.
Expand Down Expand Up @@ -982,7 +983,10 @@ textarea {
img.thumb {
padding: 0.25em;
border: 1px solid #ccc;
border-radius: 4px; }
border-radius: 4px;
cursor: pointer; }
img.thumb:hover, img.thumb:focus, img.thumbactive {
border-color: #2678b3; }

.bordered {
border: 1px solid rgba(0, 0, 0, 0.25) !important; }
Expand Down
2 changes: 1 addition & 1 deletion flavors/mini-default.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion flavors/mini-default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ $clearfix-class-name: cf; // Name for the clearfix class
$hidden-class-name: hidden; // Name for the hidden class
// Colors for the utility and helper classes (you can remove things you
// don't need or define more colors if you need them).
$thumbnail-hover-color: $a-color; // Border color of the thumbnail when hovering over it
$bordered-radial-radius: 4px; // Border radius of rounded borders
$bordered-radial2-radius: 50%; // Border radius of the alternative rounded borders
$colored-text1-color: $btn-b-bg-color; // Text color for the colored text style 1 class
Expand All @@ -214,7 +215,7 @@ $colored-bg-text3-bg-color: $btn-r-bg-color; // Background color for the
@import '../scss/mini/utility';
// Use utility mixins to create utility classes with given specs. For more information
// refer to the _utility.scss file to check the definitions.
@include make-thumb($thumbnail-class-name, 0.25em, 1px solid #ccc, 4px);
@include make-thumb($thumbnail-class-name, 0.25em, 1px solid #ccc, 4px, $thumbnail-hover-color);
@include make-border-generic($bordered-class-name);
@include make-border-radial-style($bordered-radial-name, $bordered-radial-radius);
@include make-border-radial-style($bordered-radial2-name, $bordered-radial2-radius);
Expand Down
6 changes: 5 additions & 1 deletion flavors/mini-niteowl.css
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,7 @@ textarea {
- $thumb-padding : The padding between the image and the border.
- $thumb-border : The style of the thumbnail's border.
- $thumb-border-radius : The border radius of the thumbnail.
- $thumb-hover-color : The color of the thumbnail's border when hovering over it.
Notes:
- [1] : This style only applies to `img` elements with the class specified in
`$thumb-name`.
Expand Down Expand Up @@ -982,7 +983,10 @@ textarea {
img.thumb {
padding: 0.25em;
border: 1px solid #304251;
border-radius: 4px; }
border-radius: 4px;
cursor: pointer; }
img.thumb:hover, img.thumb:focus, img.thumbactive {
border-color: #6493cd; }

.bordered {
border: 1px solid rgba(0, 0, 0, 0.25) !important; }
Expand Down
2 changes: 1 addition & 1 deletion flavors/mini-niteowl.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion flavors/mini-niteowl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ $clearfix-class-name: cf; // Name for the clearfix class
$hidden-class-name: hidden; // Name for the hidden class
// Colors for the utility and helper classes (you can remove things you
// don't need or define more colors if you need them).
$thumbnail-hover-color: $a-color; // Border color of the thumbnail when hovering over it
$bordered-radial-radius: 4px; // Border radius of rounded borders
$bordered-radial2-radius: 50%; // Border radius of the alternative rounded borders
$colored-text1-color: $btn-b-bg-color; // Text color for the colored text style 1 class
Expand All @@ -214,7 +215,7 @@ $colored-bg-text3-bg-color: $btn-r-bg-color; // Background color for the
@import '../scss/mini/utility';
// Use utility mixins to create utility classes with given specs. For more information
// refer to the _utility.scss file to check the definitions.
@include make-thumb($thumbnail-class-name, 0.25em, 1px solid #304251, 4px);
@include make-thumb($thumbnail-class-name, 0.25em, 1px solid #304251, 4px, $thumbnail-hover-color);
@include make-border-generic($bordered-class-name);
@include make-border-radial-style($bordered-radial-name, $bordered-radial-radius);
@include make-border-radial-style($bordered-radial2-name, $bordered-radial2-radius);
Expand Down

0 comments on commit 8c2c7d6

Please sign in to comment.