From e7de04494b70ca62ac1abda7f9a3ef41994f4f51 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 14 Oct 2021 16:59:23 +0200 Subject: Adding web-tools (WIP). Signed-off-by: Daniel Baumann --- web-tools/web/_static/jsuites/jsuites.layout.css | 1395 ++++++++++++++++++++++ 1 file changed, 1395 insertions(+) create mode 100644 web-tools/web/_static/jsuites/jsuites.layout.css (limited to 'web-tools/web/_static/jsuites/jsuites.layout.css') diff --git a/web-tools/web/_static/jsuites/jsuites.layout.css b/web-tools/web/_static/jsuites/jsuites.layout.css new file mode 100644 index 0000000..33114c5 --- /dev/null +++ b/web-tools/web/_static/jsuites/jsuites.layout.css @@ -0,0 +1,1395 @@ + +/** + * (c) jSuites Javascript Web Components + * + * Author: Paul Hodel + * Website: https://bossanova.uk/jsuites/ + * Description: Create amazing web based applications. + * + * MIT License + * + */ + +/** Buttons **/ + +.jbutton { + padding: 8px; + padding-left: 15px; + padding-right: 15px; + border: 1px solid #ddd; + border-radius: 2px; + cursor:pointer; + -webkit-font-smoothing: antialiased; + outline: none; +} + +.jbutton.dark { + background-color: #737373; + border: 1px solid transparent; + color: #fff; +} + +.jbutton.blue { + border:1px solid transparent; + color:#fff; + background-color:#1a73e8; +} + +.jbutton[data-icon] { + display: flex; +} + +.jbutton[data-icon].center { + -webkit-justify-content: center; + justify-content: center; + padding-right:20px; +} + +.jbutton[data-icon]::before { + content: attr(data-icon); + width: 24px; + height: 24px; + font-size: 24px; + line-height: 24px; + font-family: 'Material icons'; + color: #999; + margin-right:2px; + color: #fff; +} + +.jbutton:hover { + opacity: 0.8; + text-decoration: underline; +} + +.jbutton[disabled] { + opacity: 0.5; + text-decoration: none; +} + +.jbuttons-group { + display: flex; +} + +.jbuttons-group .jbutton { + border-radius: 0px; + margin: 0px; +} + +.jbuttons-group .jbutton:first-child { + border-top-left-radius: 2px; + border-bottom-left-radius: 2px; +} + +.jbuttons-group .jbutton:last-child { + border-top-right-radius: 2px; + border-bottom-right-radius: 2px; +} + +/*.button-plain { + border:0px; + background-color:transparent; + cursor:pointer; + outline: none; +} + +.button-dark { + background-color:#737373; + color:#fff; + border:1px solid transparent; + border-radius:2px; + cursor:pointer; + min-width:120px; + outline:none; +} + +.button-dark:disabled { + background-color:#d3d3d3; + color:#a3a3a3; +} + +.button-light { + background-color:#fff; + color:#737373; + border:1px solid #737373; + border-radius:2px; + cursor:pointer; + min-width:120px; + outline:none; +} + +.button-light:disabled { + color:#a3a3a3; +} + +.button-red { + background-color:#733333; + color:#fff; + border:1px solid transparent; + border-radius:2px; + cursor:pointer; + min-width:120px; + outline:none; +}*/ + + + + +/** Switch **/ + +.jswitch { + display: flex; + cursor: pointer; + -webkit-tap-highlight-color: transparent; + align-items: center; +} + +.jswitch i { + position: relative; + display: inline-block; + width: 46px; + height: 26px; + background-color: #e6e6e6; + border-radius: 23px; + vertical-align: text-bottom; + transition: all 0.3s linear; +} + +.jswitch i::before { + content: ""; + position: absolute; + left: 0; + width: 42px; + height: 22px; + background-color: #fff; + border-radius: 11px; + transform: translate3d(2px, 2px, 0) scale3d(1, 1, 1); + transition: all 0.25s linear; +} + +.jswitch i::after { + content: ""; + position: absolute; + left: 0; + width: 22px; + height: 22px; + background-color: #fff; + border-radius: 11px; + box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24); + transform: translate3d(2px, 2px, 0); + transition: all 0.2s ease-in-out; +} + +.jswitch:active i::after { + width: 28px; + transform: translate3d(2px, 2px, 0); +} + +.jswitch:active input:checked + i::after { transform: translate3d(16px, 2px, 0); } + +.jswitch input { display: none; } + +.jswitch input:checked + i { background-color: #4BD763; } + +.jswitch input:checked + i::before { transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); } + +.jswitch input:checked + i::after { transform: translate3d(22px, 2px, 0); } + +@media (min-width: 576px) +{ + .container { + max-width: 540px; + } +} + +@media (min-width: 768px) +{ + .container { + max-width: 732px; + } +} + +@media (min-width: 992px) +{ + .container { + max-width: 956px; + } +} + +@media (min-width: 1200px) +{ + .container { + max-width: 1168px; + } +} + +@media (min-width: 1440px) { + .container { + max-width: 1404px; + } +} + +@media only screen and (max-device-width: 800px) +{ + .form-group { + min-width: 50vw !important; + } + .section { + margin-right:0px !important; + } + .section-content { + padding: 12px !important; + } +} + +@media (max-device-width: 800px) { + .small-screen-only { + display: block; + } + .big-screen-only { + display: none; + } +} + +@media (min-device-width: 800px) { + .small-screen-only { + display: none; + } + .big-screen-only { + display: block; + } +} + +body, div, td +{ + font-family:'Open Sans'; +} + +body +{ + margin:0px; +} + +h1:empty +{ + display:none; +} + +h2:empty +{ + display:none; +} + +input, select, textarea, button, .input { + border-radius: 1px; + border:1px solid #ccc; + padding:8px; + box-sizing: border-box; + -moz-box-sizing: border-box; + background-color:#fff; + font-size:1em; +} + +select { + padding:7px; +} + +input:disabled, select:disabled, textarea:disabled, button:disabled { + background-color:#eee; + color:#888; +} + +blockquote { + font-style: italic; + font-family: Georgia, Times, "Times New Roman", serif; + padding: 2px 0; + border-style: solid; + border-color: #ccc; + border-width: 0; + padding-left: 20px; + padding-right: 8px; + border-left-width: 5px; +} + +section.middle { + max-width:540px; +} + +.center { + text-align:center; +} + +.justify { + text-align:justify; +} + +.separator { + background-color:#eee; + height:1px; +} + +.clear { + clear:both; +} + +.top { + padding-left:10px; + padding-right:10px; +} + +.top > .row > .column { + margin-top:5px; + margin-bottom:5px; +} + +.container { + width: 100%; + margin-right: auto; + margin-left: auto; +} + +.container-box { + padding-right: 15px; + padding-left: 15px; +} + +.row { + display:flex; + flex-wrap: wrap; + -ms-flex-direction: row; + -webkit-flex-direction: row; + flex-direction: row; + -ms-flex-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; +} + +.row.container { + flex-wrap: nowrap; +} + +.row.middle { + -ms-flex-align: center; + -webkit-align-items: center; + -webkit-box-align: center; + align-items: center; +} + +.column.top { + -webkit-align-self: flex-start; + -ms-flex-item-align: start; + align-self: flex-start; +} + +.column.bottom { + -webkit-align-self: flex-end; + -ms-flex-item-align: end; + align-self: flex-end; +} + +.start { + justify-content:flex-start; +} + +.header { + width:100%; + position:absolute; + background-color:rgba(255, 255, 255, 0.2); + padding-top:12px; + padding-bottom:12px; + text-align:center; +} + +.space { + height:4px; +} + +.line .row { + max-width:1280px; + margin: 0 auto; +} + +.large { + font-size:1.2em; +} + +.extra-large { + font-size:1.4em; +} + +.small { + font-size:0.8em; +} + +.extra-small { + font-size:0.7em; +} + +.form-group { + padding:4px; +} + +.form-group label { +} + +.form-group input[type='text'], .form-group input[type='number'], .form-group input[type='password'], .form-group select, .form-group textarea, .form-group .jdropdown, .form-group .jprogressbar { + width:100%; +} + +.f1 +{ + flex:1; +} + +.f2 +{ + flex:2; +} + +.f3 +{ + flex:3; +} + +.f4 +{ + flex:4; +} + +.f5 +{ + flex:5; +} + +.f6 +{ + flex:6; +} + +.f7 +{ + flex:7; +} + +.f8 +{ + flex:8; +} + +.f9 +{ + flex:9; +} + +.f10 +{ + flex:10; +} + +.w5 +{ + width:5% !important; +} + +.w10 +{ + width:10% !important; +} + +.w15 +{ + width:15% !important; +} + +.w20 +{ + width:15% !important; +} + +.w25 +{ + width:25% !important; +} + +.w30 +{ + width:30% !important; +} + +.w33 +{ + width:33% !important; +} + +.w40 +{ + width:40% !important; +} + +.w50 +{ + width:50% !important; +} + +.w60 +{ + width:60% !important; +} + +.w66 +{ + width:66% !important; +} + +.w70 +{ + width:70% !important; +} + +.w100 +{ + width:100% !important; +} + +.r20 .column +{ + width:20%; +} + +.r25 .column +{ + width:25%; +} + +.r33 .column +{ + width:33%; +} + +.r66 .column +{ + width:66%; +} + +.r50 .column +{ + width:50%; +} + +.r100 .column +{ + width:100%; +} + +.p0 +{ + padding:0px; +} + +.p2 +{ + padding:2px; +} + +.p4 +{ + padding:4px; +} + +.p6 +{ + padding:6px; +} + +.p8 +{ + padding:8px; +} + +.p10 +{ + padding:10px; +} + +.p15 +{ + padding:15px; +} + +.p20 +{ + padding:20px; +} + +.m0 +{ + margin:0px; +} + +.m2 +{ + margin:2px; +} + +.m4 +{ + margin:4px; +} + +.m6 +{ + margin:6px; +} + +.m8 +{ + margin:8px; +} + +.m10 +{ + margin:10px; +} + +.m15 +{ + margin:15px; +} + +.m20 +{ + margin:20px; +} + +.mr1 { + margin-right:10px; +} + +.mr2 { + margin-right:20px; +} + +.mr3 { + margin-right:30px; +} + +.ml1 { + margin-left:10px; +} + +.ml2 { + margin-left:20px; +} + +.ml3 { + margin-left:30px; +} + +.pl1 { + padding-left:10px; +} + +.pl2 { + padding-left:20px; +} + +.pl3 { + padding-left:30px; +} + +.pr1 { + padding-right:10px; +} + +.pr2 { + padding-right:20px; +} + +.pr3 { + padding-right:30px; +} + +.section { + background-color: #fff; + box-shadow: 1px 1px 2px rgba(0,0,0,.1); + margin-top:10px; + margin-right:10px; +} + +.section-divisor { + margin-top:6px; + margin-bottom:5px; + border-bottom:1px solid #e1e1e1; + text-transform:uppercase; +} + +.section-divisor div { + display:inline-block; +} + +.section-divisor .section-number { + padding:8px; + width:40px; + height:40px; + text-align:center; + font-weight:bold; + font-size:23px; + display:inline; +} + +.section-container { + padding:6px; +} + +.section-header { + font-size:2em; + margin-bottom:20px; +} + +.section-content { + padding:30px; +} + +.fullpath { + display:flex; + color: #999; + padding:4px; + padding-left:8px; +} + +.fullpath > div { + line-height:24px; +} +.fullpath > input { + border-color: transparent; + padding: 0px; + margin: 0px; + outline: none; +} + +.fullpath > input.error { + border-bottom: 1px solid red; +} + +.title { + font-size:1.8em; + font-family: Roboto,Helvetica,Arial,sans-serif; + font-size: 22px; + font-weight: 400; + line-height: 28px; +} + +.t1 { + font-family: Roboto,Helvetica,Arial,sans-serif; + font-size: 22px; + font-weight: 400; + line-height: 28px; +} + +.t2 { + font-family: Roboto,Helvetica,Arial,sans-serif; + font-size: 18px; + font-weight: 400; + line-height: 22px; +} + +.uppercase { + text-transform:uppercase; +} + +.subtitle { + position:relative; + top:-5px; + margin-bottom:10px; +} + +/* Admin */ + +.breadcrumb { + display: flex; +} + +.breadcrumb > div { + font-size: 0.9em; +} + +.breadcrumb a { + text-decoration:none; + color:#000; +} + +.left { + float:left; +} + +.right { + float:right; +} + +.material-icons { + font-size:24px; + width:24px; + height:24px; + line-height:24px; +} + +.material-icons.selected { + color:#777; +} + +.material-icons.small { + font-size:16px; + width:16px; + height:16px; + line-height:16px; +} + +.material-icons.large { + font-size:36px; + width:36px; + height:36px; + line-height:36px; +} + +.material-icons.larger { + font-size:48px; + width:48px; + height:48px; + line-height:48px; +} + +.favorite { + font-size:24px; + width:24px; + height:24px; +} + +.favorite.selected { + color:red; +} + +.alert { + padding: 12px; + padding-left: 30px; + padding-right: 30px; + background-color: #f44336; + color: white; + display:none; +} + +.alert.success { + background-color: #4CAF50; +} + +.alert.info { + background-color: #2196F3; +} + +.alert.warning { + background-color: #ff9800; +} + +.error { + border:1px solid red; +} + +.users { + width:40px; + height:40px; + border-radius:20px; +} + +.users-overlap { + vertical-align:bottom; + min-height:28px; + padding-left:10px; +} + +.users-overlap img { + width:24px; + height:24px; + line-height:24px; + border-radius:24px; + border:2px solid #fff; + vertical-align: middle; + margin-left:-10px; +} + +.users-overlap span { + margin-left:3px; + font-size:0.8em; +} + +.users-micro { + width:24px; + height:24px; + border-radius:12px; +} + +.users-small { + width:30px; + height:30px; + border-radius:15px; +} + +.users-medium { + width:45px; + height:45px; + border-radius:23px; +} + +.users-large { + width:60px; + height:60px; + border-radius:30px; +} + +.users-extra-large { + width:120px; + height:120px; + border-radius:60px; +} + +.badge { + position:absolute; + background-color:red; + color:#fff; + width:16px; + height:16px; + line-height:16px; + border-radius:16px; + text-align:center; + font-size:8px; + margin:12px; +} + +.badge:empty { + display:none; +} + +.video-container { + position: relative; + width: 100%; + height: 0; + padding-bottom: 56.25%; +} + +.video-container iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + +.cursor { + cursor:pointer; +} + +.cursor.link:hover { + text-decoration: underline; +} + +.arrow-right { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z' fill='gray'/%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3C/svg%3E"); + background-repeat: no-repeat; + width:24px; + height:24px; + line-height:24px; + cursor:pointer; +} + +.arrow-left { + background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z' fill='gray'/%3E%3Cpath fill='none' d='M0 0h24v24H0V0z'/%3E%3C/svg%3E"); + background-repeat: no-repeat; + width:24px; + height:24px; + line-height:24px; + cursor:pointer; +} + +[contenteditable=true] div:empty:not(:focus)::before{ + content:attr(placeholder); + color:#ccc; +} + +.mirror { + -moz-transform: scaleX(-1); + -o-transform: scaleX(-1); + -webkit-transform: scaleX(-1); + transform: scaleX(-1); + filter: FlipH; +} + +.hover:hover { + background-color:#efefef; +} + +.unselectable { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +::-webkit-input-placeholder { + color: #000000; +} + +:-moz-placeholder { + color: #000000; +} + +::-moz-placeholder { + color: #000000; +} + +:-ms-input-placeholder { + color: #000000; +} + + +.jlogin { + width: 100%; + box-sizing: border-box; + margin:0 auto; + vertical-align:middle; + border-radius: 5px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + font-size:1em; +} + +.jlogin-fullscreen { + position:absolute; + top:0px; + left:0px; + width:100%; + height:100%; + background-color:#fff; + z-index:9000; +} + +.jlogin > form { + max-width:480px; + padding:20px; + margin: 0 auto; +} + +.jlogin > form > div { + margin-bottom:10px; +} + +.jlogin label { + display:block; +} + +.jlogin > form > div > input { + width:100%; + outline:none; + padding:15px; + margin:0px; +} + +.jlogin input[type='checkbox'] { + float:left; +} + +.jlogin input[type='button'] { + padding:10px; + background-color: var(--button-color); + border: 1px solid var(--button-color); + color: #fff; + cursor:pointer; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} + +.jlogin span +{ + margin:0 auto; +} +.jlogin img +{ + text-align:center; + max-width:220px; +} + +.jlogin .jlogin-logo +{ + text-align:center; + padding:20px; +} + +.jlogin .jlogin-logo:empty { + display: none; +} + +.jlogin .captcha +{ + width:100%; + margin-top:4px; + margin-bottom:4px; + border:1px solid #ccc; + display:block; +} + +.jlogin .facebookButton +{ + padding:10px; + background-color: var(--button-color); + border: 1px solid var(--button-color); + color: #fff; + text-align:center; + background-repeat:no-repeat; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24px' height='24px'%3E%3Cpath d='M19,3H5C3.895,3,3,3.895,3,5v14c0,1.105,0.895,2,2,2h7.621v-6.961h-2.343v-2.725h2.343V9.309 c0-2.324,1.421-3.591,3.495-3.591c0.699-0.002,1.397,0.034,2.092,0.105v2.43h-1.428c-1.13,0-1.35,0.534-1.35,1.322v1.735h2.7 l-0.351,2.725h-2.365V21H19c1.105,0,2-0.895,2-2V5C21,3.895,20.105,3,19,3z' fill='white'/%3E%3C/svg%3E%0A"); + background-position:10px 40%; + cursor:pointer; +} + +.jlogin .rememberButton +{ + padding:10px; + display:none; +} + +.jlogin .requestButton, .jlogin .cancelButton, .jlogin .newProfileButton +{ + padding:20px; + padding-bottom:0px; + text-align:center; + cursor:pointer; +} + +.jlogin-captcha img { + min-width:280px; +} + +.jlogin-loading:before { + content: ""; + display: block; + position: fixed; + top: 0px; + left: 0px; + width: 200px; + height: 4px; + background-color: var(--button-color); + animation: loading 2s linear infinite; +} + +@keyframes loading { + from { left: 0px; width: 25%; } + 25% { width: 25%; } + 50% { width: 50%; } + 75% { left: 75%; } + 100% { left: 100%; } + to { left: 100%; } +} + +.jtemplate-pagination { + display:flex; + cursor:pointer; + margin-top:10px; + margin-bottom:10px; +} + +.jtemplate-pagination div { + text-align:center; + font-size:0.8em; + width:30px; + height:30px; + line-height:30px; + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Safari */ + khtml-user-select: none; /* Konqueror HTML */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; +} + +.jtemplate-pagination div:hover { + background-color:#eee; +} + +.jtemplate-pagination:empty { + display:none; +} + +.jtemplate-results { + margin-top:15px; + margin-bottom:15px; +} + + +.jtimeline { + min-height:calc(100vh - 90px); +} + +.jtimeline-item { + display:flex; + margin-left:15px; + margin-right:15px; +} + +.jtimeline-header { + position:fixed; + width:100%; + display:flex; + align-items: center; + justify-content:space-between; + padding:15px; + border-top:1px solid #eee; + border-bottom:1px solid #eee; + margin-top:-1px; + margin-bottom:10px; + background-color:#fff; + z-index:1; + box-sizing: border-box; +} + +.jtimeline-year { + font-size:2.2em; + display:inline-block; +} + +.jtimeline-month { + font-size:0.8em; + position:relative; + top:6px; +} + +.jtimeline-navigation div { + display:inline-block; + background-color:#eee; + padding:8px; + padding-right:12px; + padding-left:12px; + margin-left:4px; +} + +.jtimeline-navigation i { + width:32px; + height:32px; + font-size:32px; + line-height:32px; + display:inline-block; +} + +.jtimeline-container { + padding-top:110px; + padding-bottom:30px; +} + +.jtimeline-subtitle { + color:#aaa; + font-size:0.8em; +} + +.jtimeline-content { + padding-top:0px; + padding-left:20px; + padding-bottom:30px; + font-size:0.8em; + border-left:3px solid #aaa; + width:100%; +} + +.jtimeline-item:last-child .jtimeline-content { + padding-bottom:0px; +} + +.jtimeline-text { + color:#888; + font-size:0.9em; + line-height:18px; + margin-top:5px; + margin-bottom:5px; +} + +.jtimeline-item:last-child .jtimeline-text { +} + +.jtimeline-date-container { + position:relative; + padding-top:0px; +} + +.jtimeline-date { + font-size:1em; + width:40px; + padding-top:2px; +} + +.jtimeline-title-container { + display:flex; +} + +.jtimeline-title { + font-size:1.4em; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width:calc(100% - 60px); +} + +.jtimeline-controls { + margin-left:5px; +} + +.jtimeline-controls i { + font-size:16px; + width:16px; + height:16px; + line-height:24px; + color:#aaa; +} + +.jtimeline-date small { + font-size:0.7em; +} + +.jtimeline-date-bullet::after { + content:''; + width:12px; + height:12px; + border-radius:12px; + border:3px solid #00688B; + display: inline-block; + position:absolute; + top:4px; + right:-10px; + background-color:#fff; +} + +.jtimeline-tags { + margin-top:15px; + margin-bottom:0px; + border-bottom:1px solid #fefefe; +} + +.jtimeline-tags:empty { + display:none; +} + +.jtimeline-tag { + padding:1px; + padding-right:10px; + padding-left:10px; + background-color:red; + color:#fff; + display:inline-block; + font-size:0.8em; + margin-bottom:5px; + margin-right:5px; +} + +.jtimeline-message { + text-align:center; + padding:20px; + font-size:0.7em; +} + + -- cgit v1.2.3