stylesheet: add advotracker.css
* redefine resources in a new application stylesheet Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -13,6 +13,26 @@ text-box {
|
||||
font-size: 16;
|
||||
}
|
||||
|
||||
button.result_ok {
|
||||
background: #008000;
|
||||
color: #ffffff;
|
||||
icon-color: ##008000;
|
||||
}
|
||||
|
||||
button.result_false {
|
||||
background: #FF0000;
|
||||
color: #ffffff;
|
||||
icon-color: #FF0000;
|
||||
}
|
||||
|
||||
/*
|
||||
button:active, button.result:active {
|
||||
background: #516475;
|
||||
color: #dfebf5;
|
||||
icon-color: #dfebf5;
|
||||
}
|
||||
*/
|
||||
|
||||
#input {
|
||||
font-size: 16;
|
||||
}
|
||||
@@ -29,4 +49,4 @@ text-block {
|
||||
button {
|
||||
border-radius: 1;
|
||||
font-size: 20;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,6 +10,20 @@
|
||||
background: #fafafa;
|
||||
}
|
||||
|
||||
.h1 {
|
||||
font-size: 11;
|
||||
}
|
||||
|
||||
.seperator {
|
||||
height: 32;
|
||||
color: #ccdeed;
|
||||
background: #3b434a;
|
||||
border-color: #647b91;
|
||||
border-width: 1;
|
||||
border-radius: 3;
|
||||
padding: 6;
|
||||
}
|
||||
|
||||
text-box {
|
||||
color: #4d4c4c;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
* {
|
||||
background: #fafafa;
|
||||
font-size: 18;
|
||||
font-family: "Roboto Medium";
|
||||
icon-size: 18;
|
||||
icon-family: "Material Icons";
|
||||
}
|
||||
|
||||
.bottom_bar {
|
||||
height: 40;
|
||||
background: #475b6e;
|
||||
}
|
||||
|
||||
.header {
|
||||
background: #fafafa;
|
||||
color: #475b6e;
|
||||
font-size: 32;
|
||||
font-family: "Roboto Medium";
|
||||
/* min-height: 52; */
|
||||
padding-left: 4;
|
||||
padding-right: 4;
|
||||
}
|
||||
|
||||
.content {
|
||||
background: #fafafa;
|
||||
/* background: #3b434a; */
|
||||
}
|
||||
|
||||
.check_form {
|
||||
border-width: 1;
|
||||
background: transparent;
|
||||
padding: 9;
|
||||
}
|
||||
|
||||
.item_button {
|
||||
background: transparent;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.menu_button {
|
||||
/* background: #5b0f22; */
|
||||
background: transparent;
|
||||
icon-color: #fafafa;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
.menu_button:active {
|
||||
background: #5b0f22;
|
||||
icon-color: #fafafa;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
.menu_button:disabled {
|
||||
icon-color: #fffffff;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.separator {
|
||||
background: #134343;
|
||||
}
|
||||
|
||||
.single_content {
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
icon-color: #fafafa;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
.single_content.active {
|
||||
icon-color: #fafafa;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
.single_content.inactive {
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
icon-color: #fafafa;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
.single_content.disabled {
|
||||
icon-color: #fafafa;
|
||||
background: transparent;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
.single_button {
|
||||
spacing: 0;
|
||||
background: #3b434a;
|
||||
}
|
||||
|
||||
.transparent {
|
||||
icon-color: transparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.transparent:active {
|
||||
icon-color: transparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
items-widget {
|
||||
padding: 0;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
/*
|
||||
button {
|
||||
border-radius: 3;
|
||||
background: #5b0f22;
|
||||
size: 8;
|
||||
font-size: 12;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
button.square {
|
||||
border-radius: 10;
|
||||
}
|
||||
*/
|
||||
|
||||
button.result_ok {
|
||||
background: #008000;
|
||||
color: #ffffff;
|
||||
icon-color: #008000;
|
||||
}
|
||||
|
||||
button.result_false {
|
||||
background: #FF0000;
|
||||
color: #ffffff;
|
||||
icon-color: #FF0000;
|
||||
}
|
||||
|
||||
/*
|
||||
button:active, button.result:active {
|
||||
background: #516475;
|
||||
color: #dfebf5;
|
||||
icon-color: #dfebf5;
|
||||
}
|
||||
|
||||
#input {
|
||||
font-size: 16;
|
||||
background: transparent;
|
||||
}
|
||||
*/
|
||||
|
||||
text-block {
|
||||
font-size: 42;
|
||||
color: #dfebf5;
|
||||
}
|
||||
|
||||
text-box {
|
||||
background: transparent;
|
||||
border-width: 0;
|
||||
color: #9dafbf;
|
||||
font-size: 16;
|
||||
}
|
||||
|
||||
text_box.inplace {
|
||||
color: #dfebf5;
|
||||
background: transparent;
|
||||
border-color: transparent;
|
||||
border-width: 1;
|
||||
border-radius: 2;
|
||||
padding: 6;
|
||||
}
|
||||
|
||||
text_box.inplace:focus {
|
||||
background: #3b434a;
|
||||
border-color: #5b0f22;
|
||||
/* border-color: #f8de4c; */
|
||||
}
|
||||
|
||||
text_box.inplace:empty {
|
||||
color: #9E9E9E;
|
||||
border-color: #5b0f22;
|
||||
}
|
||||
|
||||
@@ -5,14 +5,15 @@
|
||||
* SPDX-License-Identifier: (0BSD or MIT)
|
||||
*/
|
||||
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
//#[macro_use]
|
||||
//extern crate lazy_static;
|
||||
|
||||
//use chrono::{Local, DateTime};
|
||||
use locales::t;
|
||||
//use serde::{Deserialize, Serialize};
|
||||
use serde::Deserialize;
|
||||
use std::{env, process};
|
||||
use std::env;
|
||||
//use std::process;
|
||||
//use std::{error::Error, process};
|
||||
//use std::collections::HashMap;
|
||||
use tracing::{debug, trace, Level};
|
||||
@@ -54,8 +55,9 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
use viperus::Viperus;
|
||||
|
||||
//use advotracker::callbacks::policy_check::is_valid;
|
||||
use advotracker::services::imports::allianzdirectcall::*;
|
||||
use advotracker::data::structures::{PolicyCode, PolicyDataList, PolicyList};
|
||||
//use advotracker::data::structures::{PolicyCode, PolicyDataList, PolicyList};
|
||||
// WIP: can't push pointer by value to widget, call import in widget callback for now
|
||||
//use advotracker::services::imports::allianzdirectcall::*;
|
||||
|
||||
//static DEFAULT_FILTER: &str = concat!(module_path!(), "=", "trace");
|
||||
|
||||
@@ -123,7 +125,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
state = t!("state.started", lang);
|
||||
trace!(target: "advotracker", process = ?res, state = ?state);
|
||||
|
||||
// moved to callback: checkview_state.rs
|
||||
// WIP: can't push pointer by value to widget, call import in widget callback for now
|
||||
// // importing policy code elements from csv-file
|
||||
// let policy_list = PolicyList::new("Allianz Versicherungsnummen-List");
|
||||
// println!("Policy List {:?} ", policy_list.name);
|
||||
|
||||
Reference in New Issue
Block a user