Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
fix(LIGHT): better styling for the view triggered on long press (#780)
Browse files Browse the repository at this point in the history
Co-authored-by: francesco iossa <f.iossa@outlook.it>
Co-authored-by: Rafał Chłodnicki <rchl2k@gmail.com>
  • Loading branch information
3 people committed Oct 26, 2021
1 parent 2152399 commit 8193f33
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 8 deletions.
8 changes: 4 additions & 4 deletions styles/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,7 @@ camera_stream {

// Used in light tile.
&-container {
margin: 10px 5px 0;
margin: 5px 5px 0;

.item-slider {
position: static;
Expand All @@ -1581,7 +1581,7 @@ camera_stream {
.item-entity-colorpicker {
text-align: left;
font-size: 0.9em;
margin: 10px 5px 0;
margin: 5px 5px 0;

input {
width: 15px;
Expand All @@ -1603,8 +1603,8 @@ camera_stream {

.item-entity--back-button {
position: absolute;
left: 3px;
bottom: 3px;
left: 0px;
bottom: 0px;
padding: 5px 8px 5px 5px;
cursor: pointer;

Expand Down
39 changes: 35 additions & 4 deletions styles/themes.less
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@

&-entity {
color: rgb(95, 92, 83);

&-sliders {
background-color: #fff;
}

&-colorpicker input {
width: 25px;
border-radius: 15px;
border-color: transparent;
}
}

&-clickable {
Expand Down Expand Up @@ -220,6 +230,10 @@
}
}

&-entity-sliders {
background: rgb(93, 113, 119);
}

&.-device_tracker,
&.-camera,
&.-camera_thumbnail {
Expand Down Expand Up @@ -250,6 +264,7 @@
box-shadow: 1px 1px 0 #000, -1px -1px 0 rgba(245, 245, 245, 1);
border-radius: 1px;

&-entity-sliders,
&-select {
background: rgb(225, 223, 223);
}
Expand Down Expand Up @@ -425,6 +440,10 @@
&-state {
background: rgba(0, 0, 0, 0.15);
}

&-entity-sliders {
background: #11293e !important;
}
}

.pages-menu.-bottom {
Expand Down Expand Up @@ -480,6 +499,22 @@

&-entity {
color: rgb(98, 95, 86);

&--icon {
color: rgb(144, 142, 150);
}

&-sliders {
border-radius: 8px;
background: @TILE_BACKGROUND_ON;
}

&-colorpicker input {
border-color: transparent;
border-radius: 18px;
height: 18px;
width: 18px;
}
}

&-clickable {
Expand Down Expand Up @@ -519,10 +554,6 @@
}
}

.item-entity--icon {
color: rgb(144, 142, 150);
}

&.-on, &.-armed, &.-locked {
background: @TILE_BACKGROUND_ON;
}
Expand Down

0 comments on commit 8193f33

Please sign in to comment.