Skip to content

Commit

Permalink
#6: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpoort committed Jan 4, 2017
1 parent 21cd0ed commit ac9a9a4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/scss/admin/core/_core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* For example when using Kodekit UI inside of another framework or CMS like Joomla! or WordPress
*/

.koowa {
.k-ui-namespace {

@import "../utilities/boxsizing";
@import "../utilities/normalize";
Expand Down
4 changes: 2 additions & 2 deletions src/scss/site-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ $k-icon-path: '../../koowa/com_koowa/fonts';

/* namespaced styling */

.koowa {
.k-ui-namespace {


/* Border-box-size everything */
Expand Down Expand Up @@ -58,7 +58,7 @@ $k-icon-path: '../../koowa/com_koowa/fonts';
@import "site/molecules/dropdown-toggle";
@import "site/molecules/element-querie";
@import "site/molecules/flag-object";
@import "site/molecules/forms";
@import "site/molecules/form";
@import "site/molecules/gallery";
@import "site/molecules/inline-list";
@import "site/molecules/input-group";
Expand Down
23 changes: 1 addition & 22 deletions src/scss/site/molecules/_alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,33 +26,12 @@
* Provide class for links that match alerts
*/

.k-alert-link {
.k-alert__link {
font-weight: $alert-link-font-weight;
color: inherit;
}


/**
* Dismissable alert
*
* Expand the right padding and account for the close button's positioning.
*/

.k-alert--dismissible {
padding-right: ($alert-padding * 2);


/* Adjust close link position */

.k-close {
position: relative;
top: -.125rem;
right: -$alert-padding;
color: inherit;
}
}


/**
* Alternate styles
*/
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/scss/site/utilities/mixins/_forms.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Form validation states
//
// Used in _forms.scss to generate the form validation CSS for warnings, errors,
// Used in _form.scss to generate the form validation CSS for warnings, errors,
// and successes.

@mixin form-control-validation($color) {
Expand Down

0 comments on commit ac9a9a4

Please sign in to comment.