summaryrefslogtreecommitdiffstats
path: root/data/templates/css/base.css
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2018-06-29 00:58:19 +0200
committerSebastian Reichel <sre@ring0.de>2018-07-15 22:59:57 +0200
commit22df08c29f6e4566d418e2a80a8279303406a733 (patch)
treedecb3029284b966635855e1684bc07ef9d3c1a6f /data/templates/css/base.css
parent17560f8bf49a0be2e0b490159e29f4894fe12cba (diff)
downloadserial-barcode-scanner-22df08c29f6e4566d418e2a80a8279303406a733.tar.bz2
build: switch to meson buildsystem
We build the project with 'meson' now instead of using custom configure script + GNU Makefiles. To build the project, go to the project root directory and use the following commands: Building: meson build cd build ninja Update Language Files: ninja shopsystem-pot ninja shopsystem-update-po Install: DESTDIR=./tmp ninja install
Diffstat (limited to 'data/templates/css/base.css')
-rw-r--r--data/templates/css/base.css91
1 files changed, 91 insertions, 0 deletions
diff --git a/data/templates/css/base.css b/data/templates/css/base.css
new file mode 100644
index 0000000..e273808
--- /dev/null
+++ b/data/templates/css/base.css
@@ -0,0 +1,91 @@
+/* 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;
+}
+
+.hidden {
+ display: none;
+}
+
+.table-nonfluid {
+ width: auto !important;
+}
+
+.text-right {
+ text-align: right !important;
+}
+
+table.user-entry th {
+ min-width: 150px;
+}
+
+table.user-entry td {
+ min-width: 350px;
+}
+
+@media print {
+ .navbar-fixed-top {
+ display: none !important;
+ }
+}