Files
hawkbit/hawkbit-ui/src/main/resources/VAADIN/themes/hawkbit/customstyles/footer-common.scss
Melanie Retter 7b2e93a727 Entity details are updated after view change, delete and filtering (#486)
* Distribution Set Details are shown correctly.

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix Distribution Set details shows the right data

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Show the right Details when deleting target, ds and sm

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Software Module details are shown correctly on view change

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Caption Artifact Details of is updated correctly after software module
deletion

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Artifact Details are shown correctly, small css improvements

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Code refactor

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix search of softwareModule and DistributionSet in UI

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix typos, insert ids for components

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Code Refactor

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Redo add access

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Correct caption Id of new dist. set, remove unnecessary event

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix selected entity in SwModuleTable, Code refactor

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix error in Upload View concerning selected softwareModule

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Remove Optional, Remove StringUtils, refactor code

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Refactor events when filtering distribution set or software module

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix Sonar issues

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Save softwareMmoduleId in ArtifactUploadState, not whole entity

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Refactor event handling for filtering sw and ds; refactor optional
handling

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Make selectedSoftwareModule transient

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Remove mysql properties

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Refactor ArtifactDetailsLayout

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix comment

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix some comments

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Generalize common behavior in selecting entity in a table

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Optional is not set in the getter but in the setter in the UIState
classes

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix sonar issue

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Change getter visibility to protected

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Refactor publishSelectedEntity

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Refactor Java Docs

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix pull request comments

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Fix comments

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Change lastSelectedEntities/selectedEntities to type Long,remove Generic

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>

* Show details captions even when table is empty

Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2017-05-06 08:33:01 +02:00

124 lines
3.2 KiB
SCSS

/**
* Copyright (c) 2015 Bosch Software Innovations GmbH and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
// scss-lint:disable ImportantRule, PropertySortOrder
@mixin footer-common {
//Footer drop to delete layout - icon style
.delete-icon {
.v-icon {
color: $signal-red-color !important;
}
}
.no-border {
border: 0px !important;
}
//Style applied on all buttons of footer layout.Width and height of buttons can be configured
.action-button {
@include valo-gradient($color: $footer-button-background-color);
background-image: none;
border: 1px solid $widget-border-color;
color: $footer-button-color;
font-weight: $footer-button-font-weight;
.v-icon {
color: $hawkbit-primary-color;
}
height: round($action-button-height-scale * $v-unit-size) !important;
font-size: $v-font-size--small !important;
}
.action-button:focus:after {
border: 1px solid $footer-button-background-color;
box-shadow: none !important;
}
.action-button:before {
height: 100% !important;
}
//Upload button style
.action-button .v-button {
height: round($action-button-height-scale * $v-unit-size) !important;
font-size: $v-font-size--small !important;
}
.v-upload .v-button {
text-align: center !important;
}
//Width of 'drop to delete' layout and 'no actions' button
.del-action-button {
width: round($delete-action-button-width-scale * $v-unit-size);
}
//Drop to delete layout style
.drop-to-delete-button {
background: $widget-bg !important;
background-image: none !important;
cursor: auto !important;
.v-pressed:after {
background: none repeat scroll 0 0 transparent !important;
border-color: #ffffff !important;
box-shadow: none !important;
opacity: 1;
}
}
.drop-to-delete-button:hover {
background: $widget-bg !important;
background-image: none !important;
}
.drop-to-delete-button:hover:after,
.drop-to-delete-button:focus:after {
background: none repeat scroll 0 0 transparent !important;
border-color: $widget-border-color !important;
box-shadow: none !important;
}
.drop-to-delete-button:active {
opacity: 1 !important;
}
.footer-layout{
.app-loading {
background-position: bottom;
background-repeat: no-repeat;
}
.app-loading:before {
background: none;
height: 20px !important;
width: 20px !important;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
border: 2px solid rgba(0, 0, 0, 0);
border-top-color: $hawkbit-primary-color;
border-right-color: $hawkbit-primary-color;
border-radius: 100%;
-webkit-animation: v-rotate-360 500ms infinite linear;
-moz-animation: v-rotate-360 500ms infinite linear;
-ms-animation: v-rotate-360 500ms infinite linear;
-o-animation: v-rotate-360 500ms infinite linear;
animation: v-rotate-360 500ms infinite linear;
pointer-events: none;
position: fixed;
margin-top: 12px;
margin-left: -10px;
}
}
}