diff --git a/CHANGELOG.md b/CHANGELOG.md index 6812f1d..ee4d358 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [v2.3.0](https://github.com/rciam/simplesamlphp-module-themevanilla/compare/v2.2.1...v2.3.0) - 2019-08-01 + +### Added + +- Module discopower: Add style rules and logos for the buttons of the IdPs: + - Bitbucket + - Github + + ## [v2.2.1](https://github.com/rciam/simplesamlphp-module-themevanilla/compare/v2.2.0...v2.2.1) - 2019-07-03 ### Fixed @@ -19,7 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - QQ - WeChat - Epos -- Add info about compatiblity in README. +- Add info about compatibility in README. - Enable/disable cookie banner functionality via setting in config file. ### Changed diff --git a/version.txt b/version.txt index dec1187..89acbeb 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ simplesamlphp-module-themevanilla -version 2.2.1 +version 2.3.0 diff --git a/www/resources/images/bitbucket.svg b/www/resources/images/bitbucket.svg new file mode 100644 index 0000000..380939e --- /dev/null +++ b/www/resources/images/bitbucket.svg @@ -0,0 +1 @@ +Bitbucket-blue \ No newline at end of file diff --git a/www/resources/images/github-mark.png b/www/resources/images/github-mark.png new file mode 100644 index 0000000..ea6ff54 Binary files /dev/null and b/www/resources/images/github-mark.png differ diff --git a/www/resources/images/github.png b/www/resources/images/github.png new file mode 100644 index 0000000..e03d8dd Binary files /dev/null and b/www/resources/images/github.png differ diff --git a/www/resources/sass/_colors.scss b/www/resources/sass/_colors.scss index 19564f6..65e6fbb 100644 --- a/www/resources/sass/_colors.scss +++ b/www/resources/sass/_colors.scss @@ -41,4 +41,5 @@ $openminted: #02bab4; $wechat: #2dc101; $qq: #4292FF; $epos: #10482A; - +$bitbucket: #0747a6; +$github: #24292e; diff --git a/www/resources/sass/_idps_buttons.scss b/www/resources/sass/_idps_buttons.scss index c1542fa..9f3233b 100644 --- a/www/resources/sass/_idps_buttons.scss +++ b/www/resources/sass/_idps_buttons.scss @@ -142,9 +142,35 @@ &.epos { border-color: $epos; background-color: $white; - img { - padding: 5px; - margin-right: 0; - } + img { + padding: 5px; + margin-right: 0; + } + } + &.bitbucket { + border-color: $bitbucket; + background-color: $white; + span { + display: none; + } + img { + padding: 5px; + margin-right: 0; + } + } + &.github { + border-color: $github; + background: $white url("../images/github.png") no-repeat center center; + background-size: 55%; + span { + display: none; + } + img { + visibility: hidden; + } + &:hover { + background: $white url("../images/github-mark.png") no-repeat center center; + background-size: 26px; + } } }