Skip to content

Commit

Permalink
[#5] fixes tag view sidebar colors and size.
Browse files Browse the repository at this point in the history
  • Loading branch information
luca committed Jun 20, 2018
1 parent 5288f0c commit cb85d0d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
7 changes: 7 additions & 0 deletions app/scss/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,13 @@ html [type="button"],
&.btn-transparent {
background-color:transparent;
}
&.btn-warning {
color:$gray-900 !important;
}
&.btn-success {
color:$gray-900 !important;
}

}

.ui-dialog,
Expand Down
8 changes: 8 additions & 0 deletions app/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -17672,6 +17672,14 @@ html [type="button"],
background-color: transparent;
}

.btn.btn-warning {
color: #151b1e !important;
}

.btn.btn-success {
color: #151b1e !important;
}

.ui-dialog,
.panel {
background-color: #444444;
Expand Down
4 changes: 2 additions & 2 deletions app/views/dashboard/tag-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ <h5> Color code:
<tbody>
<tr ng-repeat="elem in content" >
<td>
<a ng-show="elem.entity_type=='comment'" class="btn btn-warning" ng-click="openInfoPanel('comment', elem.id)" >{{ elem.label }}</a>
<a ng-show="elem.entity_type=='post'" class="btn btn-success" ng-click="openInfoPanel('post', elem.id)" >{{ elem.label }}</a>
<a ng-show="elem.entity_type=='comment'" class="btn btn-warning" ng-click="openInfoPanel('comment', elem.id)" >{{ elem.label | limitTo : 30 }}{{elem.label.length > 30 ? '...' : ''}}</a>
<a ng-show="elem.entity_type=='post'" class="btn btn-success" ng-click="openInfoPanel('post', elem.id)" >{{ elem.label | limitTo : 30 }}{{elem.label.length > 30 ? '...' : ''}}</a>
</td>
<td>{{ getDate(elem.timestamp) }}</td>
<td><a ng-click="openInfoPanel('user', elem.user_id)">{{ elem.user_label }}</a></td>
Expand Down

0 comments on commit cb85d0d

Please sign in to comment.