summaryrefslogtreecommitdiffstats
path: root/templates/css/base.css
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-10-02 01:05:51 +0200
committerSebastian Reichel <sre@ring0.de>2012-10-02 01:05:51 +0200
commit186049b3ed33f025eeb87eb34c19a28e1d5ba70a (patch)
tree5d892564001404fe979e18eac0e65dfcad65ed5e /templates/css/base.css
parent9713c98dbceb54d8d00c186ba8f41f3a5befcfd1 (diff)
downloadserial-barcode-scanner-186049b3ed33f025eeb87eb34c19a28e1d5ba70a.tar.bz2
restructure code, switch from GTK to Web based UI
- move barcode generation scripts into generation/ - move code to src/ - remove database analysis from invoice/graph - put database creation sql files into sql/ - remove glade builder file - add new templates/ directory, which contains files used by the Web-UI
Diffstat (limited to 'templates/css/base.css')
-rw-r--r--templates/css/base.css65
1 files changed, 65 insertions, 0 deletions
diff --git a/templates/css/base.css b/templates/css/base.css
new file mode 100644
index 0000000..fd4ad8e
--- /dev/null
+++ b/templates/css/base.css
@@ -0,0 +1,65 @@
+/* sane margins for main content */
+.content {
+ margin-top: 55px;
+ margin-left: 20px;
+ margin-right: 20px;
+}
+
+/* class for tables without 100% width */
+.table-nonfluid {
+ width: auto;
+}
+
+/* navbar padding from sides */
+.navbar-fixed-top .navbar-inner {
+ padding-right: 5px;
+ padding-left: 5px;
+}
+
+/* statistics */
+#overviewLegend li > div {
+ display: inline-block;
+ margin-right: 4px;
+}
+
+#overviewLegend li {
+ list-style: none;
+}
+
+#placeholder .legend {
+ visibility: hidden;
+}
+
+#overviewLegend label {
+ display: inline;
+}
+
+#overviewLegend input {
+ margin: 0;
+}
+
+/* dropdown menu with button on the right */
+.btn-group > .cornered-dropdown-toggle {
+ border-top-right-radius: 0px;
+ border-bottom-right-radius: 0px;
+}
+
+.btn-group > .dropdown-menu + .btn {
+ border-left: 0px;
+}
+
+/* disabled entries in dropdown */
+.dropdown-menu .disabled {
+ color: #999;
+}
+
+.two-columns {
+ overflow: hidden;
+ width: 400px;
+}
+
+.two-columns li {
+ width: 20%;
+ float: left;
+ display: inline;
+}