From e62473b629b362808fe6dd3958389454ac854519 Mon Sep 17 00:00:00 2001 From: ulrich@undisclosed <ulrich@ulrich-vaio> Date: Tue, 19 May 2020 13:12:08 +0000 Subject: [PATCH] In Arbeit: Piktogramme, Abmelden, Stile verfeinert --- web/profil2/stile.css | 79 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 78 insertions(+), 1 deletions(-) diff --git a/web/profil2/stile.css b/web/profil2/stile.css index 99e7d6b..30d3a8a 100644 --- a/web/profil2/stile.css +++ b/web/profil2/stile.css @@ -28,6 +28,7 @@ flex-flow: row; height: 2em; align-items: center; + justify-content: space-between; } .sued { height: 1.5em; @@ -105,13 +106,23 @@ color: #888; } +.top-btn-area { + display: flex; + flex-flow: row; + justify-content: flex-end; + padding: 0 0.3em 0 0; + width: 4em; +} + .top-btn { - margin: 0 1em 0 1em; + margin: 0; + padding: 0 0.2em 0 0.2em; height: 28px; line-height: 24px; text-align: center; font-size: large; background-color: white; + /* width: 1em; */ } .del-user-btn { @@ -176,6 +187,72 @@ } +/* Font für Piktogramme mit Fontello aus FontAwesome erzeugt */ + +@font-face { + font-family: 'picto'; + src: url('../font/picto.eot?52325148'); + src: url('../font/picto.eot?52325148#iefix') format('embedded-opentype'), + url('../font/picto.woff2?52325148') format('woff2'), + url('../font/picto.woff?52325148') format('woff'), + url('../font/picto.ttf?52325148') format('truetype'), + url('../font/picto.svg?52325148#picto') format('svg'); + 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: 'picto'; + src: url('../font/picto.svg?52325148#picto') format('svg'); + } +} +*/ + + [class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "picto"; + font-style: normal; + font-weight: normal; + speak: none; + + 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-user:before { content: '\e800'; } /* '' */ +.icon-cog:before { content: '\e801'; } /* '' */ +.icon-off:before { content: '\e802'; } /* '' */ +.icon-user-plus:before { content: '\f234'; } /* '' */ +.icon-user-times:before { content: '\f235'; } /* '' */ + + /* von Skeleton */ -- Gitblit v1.9.3