From dce2c79a03b834887f4da33b090a430e9756aac1 Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 07 Apr 2021 12:42:41 +0000 Subject: [PATCH] Einstellungen --- www/ui/app.css | 252 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 247 insertions(+), 5 deletions(-) diff --git a/www/ui/app.css b/www/ui/app.css index 4c87064..2ace15c 100644 --- a/www/ui/app.css +++ b/www/ui/app.css @@ -24,6 +24,7 @@ flex-flow: row; height: 2em; align-items: center; + justify-content: space-between; } .sued { height: 1.5em; @@ -92,9 +93,9 @@ } .dialog-unten { - position: relative; + /* position: relative; */ /* height: 0.1em; */ - transition: all 0.3s ease-in; + /* transition: all 0.3s ease-in; */ } .dlg-behaelter { @@ -149,7 +150,7 @@ } .entity-element:hover { - background-color: background; + background-color: #ececec; } .entity-liste { @@ -168,13 +169,104 @@ background-color: background; } +.entity-typ-folder:before { + font-family: "pikto"; + content: '\f114'; + padding-right: 0.3rem; +} + +.entity-typ-audio:before { + font-family: "pikto"; + content: '\e817'; /* icon-music */ + padding-right: 0.3rem; +} + +.entity-typ-video:before { + font-family: "pikto"; + content: '\e816'; /* icon-video */ + padding-right: 0.3rem; +} + +.entity-typ-file:before { + font-family: "pikto"; + content: '\e805'; /* icon-doc */ + padding-right: 0.3rem; +} + .form-button-footer { display: flex; flex-flow: row; } +.selected { + background-color: #ececec; +} + .dlg-btn { margin-left: 0.4rem; +} + +.ctrl { + display: flex; + flex-flow: column; +} + +.ctrl-btns { + display: flex; + flex-flow: row; + justify-content: center; +} + +.ctrl-item { + margin-left: 0.2rem; + margin-top: 0.2rem; +} + +.ctrl-btn { + width: 4rem; + font-size: medium; + display: inline-block; + height: 2rem; + /* padding: 0 30px; */ + color: black; + text-align: center; + font-weight: 600; + line-height: 2rem; + letter-spacing: .1rem; + text-transform: none; + text-decoration: none; + white-space: nowrap; + background-color: transparent; + border-radius: 4px; + border: 1px solid #bbb; + cursor: pointer; + box-sizing: border-box; +} + +.ctrl-select { + width: 4rem; +} + +.ctrl-orte { + display: flex; + flex-flow: row; + justify-content: center; +} + +.top-btn-area { + /*margin-left: auto;*/ + margin: -0.5em 1em 0 2em; +} + +.top-btn { + margin: 0; + padding: 0 0.2em 0 0.2em; + height: 1.3em; + line-height: 1em; + text-align: center; + font-size: large; + background-color: white; + /* width: 1em; */ } @@ -184,6 +276,156 @@ } } +/* Font für Piktogramme mit Fontello aus FontAwesome erzeugt */ + +@font-face { + font-family: 'pikto'; + src: url('font/pikto.ttf?49751252') format('truetype'); + font-weight: normal; + font-style: normal; +} +/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ +/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ +/* +@media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: 'pikto'; + src: url('../font/pikto.svg?49751252#pikto') format('svg'); + } +} +*/ + + [class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "pikto"; + font-style: normal; + font-weight: normal; + speak: never; + + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: .2em; + text-align: center; + /* opacity: .8; */ + + /* For safety - reset parent styles, that can break glyph codes*/ + font-variant: normal; + text-transform: none; + + /* fix buttons height, for twitter bootstrap */ + line-height: 1em; + + /* Animation center compensation - margins should be symmetric */ + /* remove if not needed */ + margin-left: .2em; + + /* you can be more comfortable with increased icons size */ + /* font-size: 120%; */ + + /* Font smoothing. That was taken from TWBS */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ +} + +.icon-cancel:before { content: '\e800'; } /* '' */ +.icon-th-large:before { content: '\e801'; } /* '' */ +.icon-th-list:before { content: '\e802'; } /* '' */ +.icon-folder:before { content: '\e803'; } /* '' */ +.icon-folder-open:before { content: '\e804'; } /* '' */ +.icon-doc:before { content: '\e805'; } /* '' */ +.icon-pencil:before { content: '\e806'; } /* '' */ +.icon-trash-empty:before { content: '\e807'; } /* '' */ +.icon-down-dir:before { content: '\e808'; } /* '' */ +.icon-up-dir:before { content: '\e809'; } /* '' */ +.icon-left-dir:before { content: '\e80a'; } /* '' */ +.icon-right-dir:before { content: '\e80b'; } /* '' */ +.icon-down-open:before { content: '\e80c'; } /* '' */ +.icon-left-open:before { content: '\e80d'; } /* '' */ +.icon-right-open:before { content: '\e80e'; } /* '' */ +.icon-up-open:before { content: '\e80f'; } /* '' */ +.icon-floppy:before { content: '\e810'; } /* '' */ +.icon-eye:before { content: '\e811'; } /* '' */ +.icon-logout:before { content: '\e812'; } /* '' */ +.icon-play:before { content: '\e813'; } /* '' */ +.icon-stop:before { content: '\e814'; } /* '' */ +.icon-pause:before { content: '\e815'; } /* '' */ +.icon-video:before { content: '\e816'; } /* '' */ +.icon-music:before { content: '\e817'; } /* '' */ +.icon-forward:before { content: '\e818'; } /* '' */ +.icon-list:before { content: '\e819'; } /* '' */ +.icon-docs:before { content: '\f0c5'; } /* '' */ +.icon-menu:before { content: '\f0c9'; } /* '' */ +.icon-doc-text:before { content: '\f0f6'; } /* '' */ +.icon-angle-left:before { content: '\f104'; } /* '' */ +.icon-angle-right:before { content: '\f105'; } /* '' */ +.icon-angle-up:before { content: '\f106'; } /* '' */ +.icon-angle-down:before { content: '\f107'; } /* '' */ +.icon-tablet:before { content: '\f10a'; } /* '' */ +.icon-folder-empty:before { content: '\f114'; } /* '' */ +.icon-folder-open-empty:before { content: '\f115'; } /* '' */ +.icon-ellipsis:before { content: '\f141'; } /* '' */ +.icon-ellipsis-vert:before { content: '\f142'; } /* '' */ +.icon-doc-inv:before { content: '\f15b'; } /* '' */ +.icon-doc-text-inv:before { content: '\f15c'; } /* '' */ +.icon-database:before { content: '\f1c0'; } /* '' */ +.icon-sliders:before { content: '\f1de'; } /* '' */ +.icon-trash:before { content: '\f1f8'; } /* '' */ + +/* Dropdown Menu */ + +/* Style The Dropdown Button */ +.dropbtn { + background-color: white; + width: 3em; + padding: 0; + font-size: medium; + cursor: pointer; +} + +/* The container <div> - needed to position the dropdown content */ +.dropdown { + position: relative; + display: inline-block; +} + +/* Dropdown Content (Hidden by Default) */ +.dropdown-content { + display: none; + position: absolute; + background-color: #f9f9f9; + width: 12em; + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + z-index: 1; + right: 0; + font-size: medium; +} + +/* Links inside the dropdown */ +.dropdown-content a { + color: black; + padding: 0.5em 0.8em; + text-decoration: none; + display: block; + cursor: pointer; +} + +/* Change color of dropdown links on hover */ +.dropdown-content a:hover {background-color: #f1f1f1} + +/* Show the dropdown menu on hover */ +.dropdown:hover .dropdown-content { + display: block; +} + +/* Change the background color of the dropdown button when the dropdown content is shown */ +.dropdown:hover .dropbtn { + background-color: #33C3F0; /* #3e8e41; */ + color: white; + border: none; +} /* von Skeleton */ @@ -196,7 +438,7 @@ input[type="button"] { display: inline-block; height: 38px; - padding: 0 30px; + /* padding: 0 30px; */ color: #555; text-align: center; font-size: 11px; @@ -259,7 +501,7 @@ textarea, select { height: 38px; - padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */ + padding: 3px 2px; /* The 6px vertically centers text on FF, ignored by Webkit */ background-color: #fff; border: 1px solid #D1D1D1; border-radius: 4px; -- Gitblit v1.9.3