Skip to content

Commit

Permalink
Fix "Add a new kit" buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
peters-rebecca authored and oscgonfer committed Mar 25, 2024
1 parent 5ba7c0c commit 6330169
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/components/myProfile/addDeviceSelectorModal.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ <h2>Select Kit</h2>
<div class="bg-grey-lightest" layout-padding layout="column" layout-align="center center">
<img style="max-height: 250px;" src="./assets/images/sckit_1.png" alt=""/>
<p>Legacy SCK 1.0 and 1.1 from 2012 to 2016</p>
<md-button class="btn-round btn-cyan" ui-sref="layout.kitAdd" ng-click="cancel()">Add a kit</md-button>
<md-button class="btn-round-new btn-cyan" ui-sref="layout.kitAdd" ng-click="cancel()">Add a kit</md-button>
</div>
<div class="bg-grey-lightest" layout-padding layout="column" layout-align="center center">
<img style="" src="./assets/images/sckit_2.png" alt=""/>
<p>SCK 2.0 and 2.1 from 2017+</p>
<md-button class="btn-round btn-cyan" target="_blank" ng-href="https://start.smartcitizen.me" ng-click="cancel()">Add a kit</md-button>
<md-button class="btn-round-new btn-cyan" target="_blank" ng-href="https://start.smartcitizen.me" ng-click="cancel()">Add a kit</md-button>
</div>
</md-dialog-content>
</md-dialog>
5 changes: 4 additions & 1 deletion src/app/helpers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,13 @@
.btn-cyan{
background-color: $terciary_color;
color:white;
border:2px solid $terciary_color;
}

.btn-cyan:hover{
color: blue;
color: $terciary_color;
background: white !important;
border:2px solid $terciary_color;
}

// display helpers
Expand Down

0 comments on commit 6330169

Please sign in to comment.