From 50c9b42306a6898dd2b43884943c62e4ef684094 Mon Sep 17 00:00:00 2001 From: knittl Date: Sun, 29 Mar 2015 19:02:22 +0000 Subject: Use fill and stroke colors from bootstrap buttons Button background for keys, border of hovered buttons for key borders. git-svn-id: https://svn.neo-layout.org@2461 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- grafik/flat/tastatur.css | 64 +++++++++++++++++++++++++++++++++++++++++++ grafik/flat/tastatur_base.svg | 59 +++++++++++++++------------------------ grafik/flat/tastatur_e2.svg | 2 +- grafik/flat/tastatur_e5.svg | 2 +- 4 files changed, 88 insertions(+), 39 deletions(-) create mode 100644 grafik/flat/tastatur.css diff --git a/grafik/flat/tastatur.css b/grafik/flat/tastatur.css new file mode 100644 index 0000000..9b2289a --- /dev/null +++ b/grafik/flat/tastatur.css @@ -0,0 +1,64 @@ +text.mod, text.key, text.dead { + fill:#111; + fill-opacity:1; + stroke:none; + font-style:normal; + font-variant:normal; + font-weight:normal; + font-stretch:normal; + display:inline; + font-family:DejaVu Sans; + writing-mode:lr-tb; +} + +text.key { + font-family:Linux Libertine O,Linux Libertine; +} + +text.mod { + text-align:start; + text-anchor:start; +} + +text.deadcircle, text.dead, text.center, text.key { + text-align:center; + text-anchor:middle; +} + +text.key { font-size:22px; } +text.dead { font-size:20px; } +text.deadcircle { font-size:14px; } +text.mod { font-size:10px; } +text.big { font-size:14px; } + +.key { + stroke-width:1.25; +} + +.grey { fill:#949494; stroke:#696969; } +.grey { fill:#9f9f9f; stroke:#747474; } + +/* bootstrap colors */ +.l2, .r2 { fill:#337ab7; } +.l3, .r3 { fill:#5cb85c; } +.l4, .r4 { fill:#d9534f; } +.l5, .r5 { fill:#f0ad4e; } + +/* btn bg hover, unused */ +.l2, .r2 { stroke:#3071a9; } +.l3, .r3 { stroke:#449d44; } +.l4, .r4 { stroke:#c9302c; } +.l5, .r5 { stroke:#ec971f; } + +/* btn border hover */ +.l2, .r2 { stroke:#204d74; } +.l3, .r3 { stroke:#398439; } +.l4, .r4 { stroke:#ac2925; } +.l5, .r5 { stroke:#d58512; } + +text.nubkey { fill:#eee; } + +.pressed { + opacity:0.5; + fill:#555; +} diff --git a/grafik/flat/tastatur_base.svg b/grafik/flat/tastatur_base.svg index 3fc97f6..68c6ea3 100644 --- a/grafik/flat/tastatur_base.svg +++ b/grafik/flat/tastatur_base.svg @@ -62,42 +62,27 @@ .key { stroke-width:4; } - .grey, .grey2 { - fill:#9f9f9f; - stroke:#858585; - } - .grey2 { stroke:#747474; } + + .grey { fill:#949494; stroke:#696969; } + .grey { fill:#9f9f9f; stroke:#747474; } /* bootstrap colors */ - .l2, .r2 { fill:#428bca; } + .l2, .r2 { fill:#337ab7; } .l3, .r3 { fill:#5cb85c; } .l4, .r4 { fill:#d9534f; } .l5, .r5 { fill:#f0ad4e; } -/* contextual text colors (too dark) */ - .l2, .r2 { stroke:#31708f; } - .l3, .r3 { stroke:#3c763d; } - .l4, .r4 { stroke:#a94442; } - .l5, .r5 { stroke:#8a6d3b; } - -/* btn border (too light) */ - .l2, .r2 { stroke:#357ebd; } - .l3, .r3 { stroke:#4cae4c; } - .l4, .r4 { stroke:#d43f3a; } - .l5, .r5 { stroke:#eea236; } - -/* btn bg hover */ - .l2, .l2 { stroke:#3071a9; } - .l3, .l3 { stroke:#449d44; } - .l4, .l4 { stroke:#c9302c; } - .l5, .l5 { stroke:#ec971f; } - -/* btn border hover */ - .r2, .r2 { stroke:#285e8e; } - .r3, .r3 { stroke:#398439; } - .r4, .r4 { stroke:#ac2925; } - .r5, .r5 { stroke:#d58512; } - + /* btn bg hover */ + .l2, .r2 { stroke:#3071a9; } + .l3, .r3 { stroke:#449d44; } + .l4, .r4 { stroke:#c9302c; } + .l5, .r5 { stroke:#ec971f; } + + /* btn border hover */ + .l2, .r2 { stroke:#204d74; } + .l3, .r3 { stroke:#398439; } + .l4, .r4 { stroke:#ac2925; } + .l5, .r5 { stroke:#d58512; } @@ -181,22 +166,22 @@ - + - + - + - - - + + + + class="key grey"/> diff --git a/grafik/flat/tastatur_e2.svg b/grafik/flat/tastatur_e2.svg index 6e00276..fcb376a 100644 --- a/grafik/flat/tastatur_e2.svg +++ b/grafik/flat/tastatur_e2.svg @@ -62,7 +62,7 @@ text-anchor:middle; font-family:Linux Libertine O,Linux Libertine; } - text.nubkey { fill:#cccccc; } + text.nubkey { fill:#eee; } .pressed { opacity:0.5; diff --git a/grafik/flat/tastatur_e5.svg b/grafik/flat/tastatur_e5.svg index a63d315..3c8f75d 100644 --- a/grafik/flat/tastatur_e5.svg +++ b/grafik/flat/tastatur_e5.svg @@ -65,7 +65,7 @@ text-anchor:middle; writing-mode:lr-tb; } - text.nubkey { fill:#cccccc; } + text.nubkey { fill:#eee; } .grey { fill:#788; } .yellow { fill:#f0c40a; } -- cgit v1.2.3