-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
8,346 additions
and
1,688 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
|
||
.panel-group[role="tablist"] > .panel > .panel-heading > .panel-title > a, | ||
.filter-list[role="tablist"] > .filter-group-title { | ||
cursor: pointer; | ||
|
||
&[aria-expanded="false"] .fa.fa-angle-right { | ||
@include transition(all 0.25s linear); | ||
} | ||
&[aria-expanded="true"] .fa.fa-angle-right { | ||
@include transition(all 0.25s linear); | ||
@include transform(rotate(90deg)); | ||
} | ||
} | ||
|
||
.panel-group > .panel + .panel { | ||
margin-top: -1px; | ||
} | ||
|
||
.panel-group .panel:not(.panel-default) > .panel-heading + .panel-collapse > .panel-body { | ||
border-top: none; | ||
} | ||
|
||
.panel-group .panel:not(.panel-default) { | ||
box-shadow: none; | ||
} | ||
|
||
.panel-group .panel:not(.panel-default) + .panel{ | ||
border-top: 1px solid #eee; | ||
} | ||
|
||
|
||
// .accordion-group { | ||
// > .accordion-panel { | ||
// > .accordion-header { | ||
// > a { | ||
// padding: 5px 10px; | ||
// color: @text-color; | ||
// text-decoration: none; | ||
// font-weight: 600; | ||
// display: block; | ||
|
||
// > .fa { | ||
// margin-right: 5px; | ||
// } | ||
// } | ||
// } | ||
|
||
// .accordion-collapse > .accordion-body { | ||
// padding: 5px 23px; | ||
// } | ||
|
||
// .accordion-panel { | ||
// > .accordion-header > a { | ||
// background: #f4f4f4; | ||
// } | ||
// .accordion-panel { | ||
// > .accordion-header > a { | ||
// background: #efefef; | ||
// } | ||
// } | ||
// } | ||
// } | ||
// } | ||
|
||
// // variant with icon on the right instead of left | ||
// .accordion-group.accordion-group-fa-right { | ||
// > .accordion-panel > .accordion-header > a > .fa { | ||
// float: right; | ||
// margin-left: 5px; | ||
// margin-right: 0; | ||
// } | ||
// } | ||
|
||
// // Bordered variant of accordion group | ||
// .accordion-group.accordion-group-bordered { | ||
// > .accordion-panel { | ||
// border: 1px solid #ddd; | ||
// margin-top: -1px; | ||
|
||
// &:first-child { | ||
// margin-top: 0; | ||
// } | ||
|
||
// > .accordion-collapse { | ||
// border-top: 1px solid #ddd; | ||
// } | ||
// } | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
// improve alert padding | ||
.alert { | ||
display: inline-block; | ||
width: 100%; | ||
padding: $alert-padding $alert-padding * 2; | ||
|
||
a { | ||
text-decoration: underline; | ||
} | ||
|
||
.close { | ||
margin-top: -3px; | ||
margin-left: 8px; | ||
margin-right: -3px; | ||
text-shadow: none; | ||
opacity: .6; | ||
|
||
} | ||
|
||
.alert-icon { | ||
margin-right: 3px; | ||
width: 18px; | ||
margin-left: -4px; | ||
text-align: center; | ||
display: inline-block; | ||
} | ||
|
||
.btn { | ||
margin: -4px; | ||
margin-left: 10px; | ||
text-decoration: underline; | ||
// margin-right: -10px; | ||
// text-transform: uppercase; | ||
} | ||
} | ||
|
||
.alert-icon-info:after, | ||
.alert-icon-success:after, | ||
.alert-icon-danger:after, | ||
.alert-icon-warning:after { | ||
@extend .fa:after !optional; | ||
} | ||
|
||
.alert-icon-info:after { | ||
@extend .fa-info-circle:after !optional; | ||
} | ||
|
||
.alert-icon-success:after { | ||
@extend .fa-check:after !optional; | ||
} | ||
|
||
.alert-icon-danger:after { | ||
@extend .fa-times-circle:after !optional; | ||
} | ||
|
||
.alert-icon-warning:after { | ||
@extend .fa-warning:after !optional; | ||
} | ||
|
||
.toast-list { | ||
.toast { | ||
position: relative; | ||
border: 1px solid #ddd; | ||
border-left-width: 4px; | ||
border-radius: 2px; | ||
margin-bottom: 9px; | ||
position: relative; | ||
background: #fff; | ||
box-shadow: 0px 1px 3px rgba(0,0,0,.1); | ||
padding: $alert-padding*2; | ||
|
||
&.toast-info { | ||
border-left-color: $brand-info; | ||
} | ||
&.toast-primary { | ||
border-left-color: $brand-primary; | ||
} | ||
&.toast-success { | ||
border-left-color: $brand-success; | ||
} | ||
&.toast-danger { | ||
border-left-color: $brand-danger; | ||
} | ||
&.toast-warning { | ||
border-left-color: $brand-warning; | ||
} | ||
|
||
.toast-content { | ||
} | ||
|
||
.toast-actions { | ||
margin-top: $alert-padding; | ||
padding-top: 0; | ||
display: inline-block; | ||
width: 100%; | ||
|
||
> .btn-link { | ||
padding: 0px; | ||
margin-right: 8px; | ||
} | ||
} | ||
|
||
.close { | ||
margin-top: -3px; | ||
margin-left: 8px; | ||
opacity: .6; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.badge { | ||
@extend .badge-info; | ||
padding: 3px 6px; | ||
&.badge-primary { @include badge-variant($body-bg, $brand-primary); } | ||
&.badge-default { @include badge-variant($gray-dark, $brand-default); } | ||
&.badge-success { @include badge-variant($body-bg, $brand-success); } | ||
&.badge-warning { @include badge-variant($gray-darker, $brand-warning); } | ||
&.badge-live { @include badge-variant($gray-dark, $brand-live); } | ||
&.badge-danger { @include badge-variant($body-bg, $brand-danger); } | ||
&.badge-info { @include badge-variant($body-bg, $brand-info); } | ||
&.badge-inverse { @include badge-variant($gray-darker, $body-bg); } | ||
|
||
&.badge-inverse, | ||
&.badge-live, | ||
&.badge-warning, | ||
&.badge-default{ | ||
border: 1px solid $gray-dark; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
@include pill-variant(default, $brand-default, $gray-dark, $brand-default-border); | ||
@include pill-variant(primary, $brand-primary, $body-bg, $brand-primary-border); | ||
@include pill-variant(success, $brand-success, $body-bg, $brand-success-border); | ||
@include pill-variant(warning, $brand-warning, $gray-base, $brand-warning-border); | ||
@include pill-variant(live, $brand-live, $gray-dark, $gray-base); | ||
@include pill-variant(danger, $brand-danger, $body-bg, $brand-danger-border); | ||
@include pill-variant(info, $brand-info, $body-bg, $brand-info-border); | ||
@include pill-variant(inverse, $body-bg, $gray-darker, $gray-light); | ||
|
||
@include button-mixin($brand-default, $gray-dark, $brand-default-border); | ||
@include button-mixin($brand-primary, $body-bg, $brand-primary-border, primary); | ||
@include button-mixin($brand-success, $body-bg, $brand-success-border, success); | ||
@include button-mixin($brand-warning, $gray-base, $brand-warning-border, warning); | ||
@include button-mixin($brand-live, $gray-dark, $gray-base, live); | ||
@include button-mixin($brand-danger, $body-bg, $brand-danger-border, danger); | ||
@include button-mixin($brand-info, $body-bg, $brand-info-border, info); | ||
@include button-mixin($body-bg, $gray-dark, lighten($gray-light, 20%), inverse); | ||
|
||
.btn { | ||
font-weight: normal; | ||
font-size: 14px; | ||
margin: 1px 0px; | ||
} | ||
|
||
// FA icons only look good at 14px. | ||
.btn .fa { | ||
font-size: 14px; | ||
} | ||
|
||
.input-group-lg .btn .fa { | ||
font-size: 18px; | ||
} | ||
|
||
.input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group { | ||
padding: 9px 12px; | ||
} | ||
|
||
.btn-xs, .btn-group-xs > .btn { | ||
padding: 1px 6px; | ||
font-size: 12px; | ||
line-height: 1.5; | ||
} | ||
.btn-sm, .btn-group-sm > .btn { | ||
padding: 3px 8px; | ||
font-size: 12px; | ||
line-height: 1.5; | ||
} | ||
.btn-lg, .btn-group-lg > .btn { | ||
padding: 10px 16px; | ||
font-size: 17px; | ||
line-height: 1.3333333; | ||
} | ||
|
||
.btn-search { | ||
width: 5em; | ||
} | ||
|
||
// Default cursor for disabled buttons | ||
.btn[disabled], | ||
.btn.disabled, | ||
fieldset[disabled] .btn { | ||
cursor: default; | ||
} | ||
|
||
|
||
// A chromeless button until you hover over it, which then looks like btn-default. | ||
.btn.btn-hover { | ||
border-color: transparent; | ||
box-shadow: none; | ||
background: none; | ||
&:hover { | ||
@extend .btn-default; | ||
} | ||
&:focus { | ||
@extend .btn-default:focus; | ||
} | ||
&:active { | ||
@extend .btn-default:active; | ||
} | ||
&.active { | ||
@extend .btn-default.active, .btn.active; | ||
} | ||
} | ||
|
||
// Make btn-links bold | ||
.btn-link { | ||
font-weight: normal; | ||
box-shadow: none; | ||
} | ||
|
||
// Position carets inside of buttons a little better. | ||
.btn .caret { | ||
position: relative; | ||
top: -1px; | ||
} | ||
|
||
// A button with only an icon. | ||
.btn-icon-only { | ||
min-width: 33px; // odd pixel is necessary for smooth font rendering | ||
text-align: center; | ||
padding: $padding-base-horizontal/2; | ||
&.btn-sm { | ||
padding: $padding-small-horizontal/2; | ||
} | ||
&.btn-xs { | ||
padding: $padding-xs-horizontal/2; | ||
} | ||
} | ||
|
||
|
||
|
||
// A toolbar for hover buttons with separators created by btn-groups. | ||
.btn-toolbar.btn-toolbar-hover { | ||
margin-left: 0; | ||
.btn-group { | ||
border-right: 1px solid #ddd; | ||
padding-right: 5px; | ||
&:last-child { | ||
border-right: 0; | ||
} | ||
} | ||
|
||
.btn { | ||
margin-top: 5px; | ||
margin-bottom: 5px; | ||
} | ||
|
||
.btn-group > .btn { | ||
padding: 3px 8px; | ||
min-width: 0; | ||
} | ||
} | ||
|
||
.circle-btn { | ||
@include border-radius(50%); | ||
} | ||
|
||
.return-to-top-btn { | ||
margin-right: 1.5em; | ||
font-size: 19px; | ||
background-color: #FFF; | ||
width: 30px; | ||
height: 30px; | ||
@include transition(all 0.3s ease); | ||
|
||
i { | ||
color: $gray-dark; | ||
left: 5px; | ||
position: relative; | ||
top: 4px; | ||
@include transition(all 0.3s ease); | ||
} | ||
|
||
&:hover { | ||
background-color: $gray-lighter; | ||
|
||
i { | ||
color: $gray-dark; | ||
top: 0; | ||
} | ||
} | ||
} | ||
|
||
.file-upload { | ||
position: relative; | ||
overflow: hidden; | ||
margin: 10px; | ||
} | ||
.file-upload input.upload { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
margin: 0; | ||
padding: 0; | ||
font-size: 20px; | ||
cursor: pointer; | ||
opacity: 0; | ||
filter: alpha(opacity=0); | ||
} |
Oops, something went wrong.