Update style for the todo app
This commit is contained in:
parent
0612a50ab4
commit
3da76e3ae8
@ -191,3 +191,22 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebarButton {
|
||||||
|
button.btn {
|
||||||
|
background-color: @button-bg;
|
||||||
|
border-color: darken(@button-bg, 10%);
|
||||||
|
color: white;
|
||||||
|
&:hover {
|
||||||
|
background-color: darken(@button-bg, 10%);
|
||||||
|
}
|
||||||
|
&.btn-danger {
|
||||||
|
background-color: @button-red-bg;
|
||||||
|
border-color: darken(@button-red-bg, 10%);
|
||||||
|
color: white;
|
||||||
|
&:hover {
|
||||||
|
background-color: darken(@button-red-bg, 10%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -7,9 +7,6 @@
|
|||||||
@description-color: #777;
|
@description-color: #777;
|
||||||
|
|
||||||
@button-width: 400px;
|
@button-width: 400px;
|
||||||
@button-bg: #3066e5;
|
|
||||||
@button-alt-bg: #fff;
|
|
||||||
@button-red-bg: #e54e4e;
|
|
||||||
|
|
||||||
|
|
||||||
.cp {
|
.cp {
|
||||||
@ -72,25 +69,10 @@
|
|||||||
border-left: 0px;
|
border-left: 0px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
button.btn {
|
|
||||||
background-color: @button-bg;
|
|
||||||
border-color: darken(@button-bg, 10%);
|
|
||||||
color: white;
|
|
||||||
&:hover {
|
|
||||||
background-color: darken(@button-bg, 10%);
|
|
||||||
}
|
|
||||||
&.btn-danger {
|
|
||||||
background-color: @button-red-bg;
|
|
||||||
border-color: darken(@button-red-bg, 10%);
|
|
||||||
color: white;
|
|
||||||
&:hover {
|
|
||||||
background-color: darken(@button-red-bg, 10%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&>div {
|
&>div {
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
|
.sidebarButton;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -128,6 +128,10 @@
|
|||||||
|
|
||||||
@category-bg: #f4f4f4;
|
@category-bg: #f4f4f4;
|
||||||
|
|
||||||
|
@button-bg: #3066e5;
|
||||||
|
@button-alt-bg: #fff;
|
||||||
|
@button-red-bg: #e54e4e;
|
||||||
|
|
||||||
.unselectable () {
|
.unselectable () {
|
||||||
-webkit-touch-callout: none;
|
-webkit-touch-callout: none;
|
||||||
-webkit-user-select: none;
|
-webkit-user-select: none;
|
||||||
|
|||||||
@ -53,6 +53,20 @@ body {
|
|||||||
#newTodoName {
|
#newTodoName {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
|
border-radius: 0;
|
||||||
|
border: 0;
|
||||||
|
background-color: darken(@toolbar-todo-bg, 10%);
|
||||||
|
color: #fff;
|
||||||
|
padding: 5px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
border-radius: 0;
|
||||||
|
background-color: darken(@toolbar-todo-bg, 20%);
|
||||||
|
border:0;
|
||||||
|
&:hover {
|
||||||
|
background-color: darken(@toolbar-todo-bg, 25%);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user