Merge branch 'snwh-master-patch-66054' into 'master'
data: Update stylesheet with upstream design Closes #322 See merge request World/Phosh/squeekboard!520
This commit is contained in:
@ -1,6 +1,33 @@
|
||||
/* Theme independent style */
|
||||
/* Theme independent styles */
|
||||
|
||||
sq_view {
|
||||
font-family: cantarell, sans-serif;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
sq_button {
|
||||
border-radius: 4px;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
sq_view.wide sq_button {
|
||||
margin: 3px;
|
||||
}
|
||||
|
||||
sq_button.latched,
|
||||
sq_button.locked {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
sq_button.action {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
sq_button.small {
|
||||
font-size: 0.5em;
|
||||
}
|
||||
|
||||
sq_view.pin sq_button {
|
||||
border-radius: 0px;
|
||||
margin: 1px 1px 1px 1px;
|
||||
}
|
||||
}
|
||||
@ -1,34 +1,22 @@
|
||||
/* Adwaita-dark style keyboard */
|
||||
sq_view {
|
||||
background-color: rgba(0, 0, 0, 255);
|
||||
color: #ffffff;
|
||||
font-family: cantarell, sans-serif;
|
||||
font-size: 25px;
|
||||
}
|
||||
|
||||
sq_view sq_button {
|
||||
color: #deddda;
|
||||
background: #464448;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #5e5c64;
|
||||
border-radius: 3px;
|
||||
margin: 4px 2px 4px 2px;
|
||||
}
|
||||
|
||||
sq_view.wide sq_button {
|
||||
margin: 1px 1px 1px 1px;
|
||||
}
|
||||
|
||||
sq_button:active {
|
||||
background: #747077;
|
||||
border-color: #96949d;
|
||||
}
|
||||
|
||||
sq_button.altline,
|
||||
sq_button.special,
|
||||
sq_button.wide {
|
||||
background: #2b292f;
|
||||
border-color: #3e3a44;
|
||||
}
|
||||
|
||||
sq_button.latched {
|
||||
@ -41,22 +29,12 @@ sq_button.locked {
|
||||
color: #1c71d8;
|
||||
}
|
||||
|
||||
sq_button.action {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
sq_button.small {
|
||||
font-size: 0.5em;
|
||||
}
|
||||
|
||||
#Return {
|
||||
background: #1c71d8;
|
||||
border-color: #1a5fb4;
|
||||
}
|
||||
|
||||
#Return:active {
|
||||
background: #1c71d8;
|
||||
border-color: #3584e4;
|
||||
}
|
||||
|
||||
@import url("resource:///sm/puri/squeekboard/common.css");
|
||||
|
||||
@ -1,65 +1,47 @@
|
||||
/* Keyboard style */
|
||||
sq_view {
|
||||
background-color: @theme_base_color; /*rgba(0, 0, 0, 255);*/
|
||||
color: @theme_text_color; /*#ffffff;*/
|
||||
font-family: cantarell, sans-serif;
|
||||
font-size: 25px;
|
||||
background-color: mix(@theme_base_color, @theme_fg_color, 0.1);
|
||||
box-shadow:inset 0 1px 0 0 mix(@borders, @theme_base_color, 0.8);
|
||||
}
|
||||
|
||||
sq_view sq_button {
|
||||
color: @theme_fg_color; /*#deddda;*/
|
||||
background: mix(@theme_bg_color, @theme_base_color, -0.5); /* #464448; */
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: @borders; /* #5e5c64;*/
|
||||
border-radius: 3px;
|
||||
margin: 4px 2px 4px 2px;
|
||||
sq_button {
|
||||
color: @theme_fg_color;
|
||||
background: alpha(@theme_fg_color, 0.07);
|
||||
box-shadow: 0 1px 0 0 rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
sq_view.wide sq_button {
|
||||
margin: 1px 1px 1px 1px;
|
||||
}
|
||||
|
||||
sq_button:active,
|
||||
sq_button.altline:active,
|
||||
sq_button.special:active,
|
||||
sq_button.wide:active {
|
||||
background: mix(@theme_bg_color, @theme_selected_bg_color, 0.4);/* #747077; */
|
||||
border-color: mix(@borders, @theme_selected_fg_color, 0.5);/* #96949d; */
|
||||
sq_button:active {
|
||||
background: alpha(@theme_fg_color, 0.11);
|
||||
}
|
||||
|
||||
sq_button.altline,
|
||||
sq_button.special,
|
||||
sq_button.wide {
|
||||
background: mix(@theme_bg_color, @theme_base_color, 0.5); /*#2b292f;*/
|
||||
border-color: @borders; /* #3e3a44; */
|
||||
sq_button.special {
|
||||
background: alpha(@theme_fg_color, 0.15);
|
||||
}
|
||||
|
||||
sq_button.altline:active,
|
||||
sq_button.special:active {
|
||||
background: alpha(@theme_fg_color, 0.2);
|
||||
}
|
||||
|
||||
sq_button.latched {
|
||||
background: @theme_fg_color; /*#ffffff;*/
|
||||
color: @theme_bg_color; /*#2b292f;*/
|
||||
background: alpha(@theme_fg_color, 0.2);
|
||||
color: alpha(@theme_fg_color, 0.8);
|
||||
}
|
||||
|
||||
sq_button.locked {
|
||||
background: @theme_fg_color; /*#ffffff;*/
|
||||
color: mix(@theme_selected_bg_color, @theme_bg_color, 0.4); /*#2b292f;*/
|
||||
}
|
||||
|
||||
sq_button.action {
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
sq_button.small {
|
||||
font-size: 0.5em;
|
||||
background: alpha(@theme_fg_color, 0.5);
|
||||
color: @theme_base_color;
|
||||
}
|
||||
|
||||
#Return {
|
||||
background: @theme_selected_bg_color; /* #1c71d8; */
|
||||
border-color: @borders; /*#1a5fb4;*/
|
||||
background: @theme_selected_bg_color;
|
||||
color: @theme_selected_fg_color;
|
||||
}
|
||||
|
||||
#Return:active {
|
||||
background: mix(@theme_selected_bg_color, @theme_bg_color, 0.4); /*#1c71d8;*/
|
||||
border-color: @borders; /*#3584e4;*/
|
||||
background: mix(@theme_selected_bg_color, black, 0.2);
|
||||
color: mix(@theme_selected_fg_color, black, 0.2);
|
||||
}
|
||||
|
||||
@import url("resource:///sm/puri/squeekboard/common.css");
|
||||
|
||||
Reference in New Issue
Block a user