-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from civicrm/develop
Release 0.1-alpha10 version
- Loading branch information
Showing
78 changed files
with
11,018 additions
and
660 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.
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
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
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
13 changes: 13 additions & 0 deletions
13
scss/bootstrap/components/civicase/_collapsible-fieldset.scss
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,13 @@ | ||
.crm_collapsible-content{ | ||
padding: 10px; | ||
|
||
.crm_collapsible-content__title { | ||
margin-bottom: 10px; | ||
text-transform: uppercase; | ||
|
||
.fa { | ||
color: $gray-darker; | ||
margin-right: 10px; | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
scss/bootstrap/components/civicase/_notification-badge.scss
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,38 @@ | ||
.crm_notification-badge { | ||
background: $brand-primary; | ||
border-radius: $border-radius-base; | ||
color: $crm-white; | ||
display: inline-block; | ||
font-size: $font-size-base; | ||
line-height: 14px; | ||
padding: 5px 8px; | ||
text-align: center; | ||
vertical-align: middle; | ||
white-space: nowrap; | ||
|
||
&:hover { | ||
color: $crm-white; | ||
opacity: 0.8; | ||
text-decoration: none; | ||
} | ||
} | ||
|
||
.crm_notification-badge__info { | ||
background: $brand-info; | ||
color: $crm-white; | ||
} | ||
|
||
.crm_notification-badge__success { | ||
background: $brand-success; | ||
color: $crm-white; | ||
} | ||
|
||
.crm_notification-badge__warning { | ||
background: $brand-warning; | ||
color: $crm-white; | ||
} | ||
|
||
.crm_notification-badge__danger { | ||
background: $brand-danger; | ||
color: $crm-white; | ||
} |
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
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
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,45 @@ | ||
@import "../mixins/button-outline-variant"; | ||
@import "../mixins/hover"; | ||
@import "../overrides/variables"; | ||
|
||
.btn-default-outline { | ||
@include button-outline-variant($crm-white); | ||
color: $crm-white !important; | ||
border-color: $crm-white !important; | ||
|
||
.open &, | ||
&:hover, | ||
&:active { | ||
background-color: $crm-white !important; | ||
color: $crm-dark-blue !important; | ||
} | ||
} | ||
|
||
.btn-primary-outline { | ||
@include button-outline-variant($btn-primary-bg); | ||
} | ||
|
||
.btn-secondary-outline { | ||
@include button-outline-variant($gray-darker, $gray-dark); | ||
border-color: $gray-darker !important; | ||
|
||
&:hover { | ||
color: #ffffff !important; | ||
} | ||
} | ||
|
||
.btn-info-outline { | ||
@include button-outline-variant($btn-info-bg); | ||
} | ||
|
||
.btn-success-outline { | ||
@include button-outline-variant($btn-success-bg); | ||
} | ||
|
||
.btn-warning-outline { | ||
@include button-outline-variant($btn-warning-bg); | ||
} | ||
|
||
.btn-danger-outline { | ||
@include button-outline-variant($btn-danger-bg); | ||
} |
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,39 @@ | ||
/* | ||
* It use for calculate height and width the element | ||
*/ | ||
|
||
@mixin calc($property, $expression, $content:null) { | ||
#{$property}: -moz-calc(#{$expression}) $content; | ||
#{$property}: -webkit-calc(#{$expression}) $content; | ||
#{$property}: calc(#{$expression}) $content; | ||
} | ||
|
||
/* | ||
* Mixin for Box sizing | ||
*/ | ||
|
||
@mixin border-box() { | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
} | ||
|
||
/* | ||
* A transformation is an effect that lets an element change shape, size and position. | ||
*/ | ||
|
||
@mixin transform($transforms) { | ||
-moz-transform: $transforms; | ||
-ms-transform: $transforms; | ||
-o-transform: $transforms; | ||
-webkit-transform: $transforms; | ||
transform: $transforms; | ||
} | ||
|
||
/* | ||
* The translate() CSS function moves the position of the element on the plane. This transformation is characterized by a vector whose coordinates define how much it moves in each direction. | ||
*/ | ||
|
||
@mixin translate ($x, $y) { | ||
@include transform(translate($x, $y)); | ||
} |
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
Oops, something went wrong.