Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNOE-153] Fix admin panel app selection on non-retina screens #130

Merged
merged 1 commit into from
Oct 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ <h1>Create a new customer</h1>
<input type="text" ng-model="vm.appSearch" placeholder="Search" class="form-control input-sm search-bar">
</rd-widget-header>
<rd-widget-body loading="!vm.marketplace">
<div class="row bs-row">
<div class="col-xs-6 col-sm-3 col-lg-2 app-icon" ng-repeat="app in vm.marketplace.apps | filter:{name: vm.appSearch}">
<div class="apps-container">
<div class="app-icon" ng-repeat="app in vm.marketplace.apps | filter:{name: vm.appSearch}">
<div class="app-icon-wrapper" ng-click="vm.toggleApp(app)">
<div class="checked" ng-show="app.checked">
<i class="fa fa-check fa-5x"></i>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,35 +1,40 @@
#create-step-1 {
// 'checked' app in edit/add entity
.app-icon {
margin-bottom: 15px;
.apps-container {
display: flex;
flex-wrap: wrap;

.app-icon-wrapper {
position: relative;
.app-icon {
max-width: 120px;
margin: 10px;

.app-logo {
width: 100%;
}
.app-icon-wrapper {
position: relative;

.app-logo {
width: 100%;
}

.checked {
position: absolute;
border-radius: 6px;
background-color: rgba(47, 228, 50, 0.3);
left: 0;
right: 0;
top: 0;
bottom: 0;
.checked {
position: absolute;
border-radius: 6px;
background-color: rgba(47, 228, 50, 0.3);
left: 0;
right: 0;
top: 0;
bottom: 0;

// Center the tick
display: flex;
align-items: center;
justify-content: center;
// Center the tick
display: flex;
align-items: center;
justify-content: center;
}
}
}

.app-title {
text-align: center;
margin-top: 5px;
.ellipsis;
.app-title {
text-align: center;
margin-top: 5px;
.ellipsis;
}
}
}
}