Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 31 additions & 4 deletions apps/_dashboard/static/css/no.css
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,11 @@ input[type='color'], input[type='date'], input[type='datetime'], input[type='tim
font-family: monospace;
font-size: 1em;
padding: .5em 1.0em .5em;

/* The intended value is -webkit-fill-available, with fallbacks provided just in case. */
width: 100%;
width: -moz-available;
width: -webkit-fill-available;
}

input[type='color']:focus, input[type='date']:focus, input[type='time']:focus, input[type='datetime']:focus, input[type='datetime-local']:focus, input[type='email']:focus, input[type='month']:focus, input[type='number']:focus, input[type='password']:focus, input[type='search']:focus, input[type='tel']:focus, input[type='text']:focus, input[type='url']:focus, input[type='week']:focus, input:not([type]):focus, textarea:focus, select:focus {
Expand All @@ -221,6 +225,11 @@ select {
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="%23d1d1d1" d="M0,0l6,8l6-8"/></svg>') center right no-repeat;
background-color: #222 !important;
color: white !important;

/* Remove the browser’s native <select> arrow */
appearance: none;
-webkit-appearance: none; /* Safari / Chrome */
-moz-appearance: none; /* Firefox */
}

select option {
Expand All @@ -244,6 +253,7 @@ fieldset {

input[type='checkbox'], input[type='radio'] {
display: inline;
margin-right: 10px;
}

[disabled] {
Expand Down Expand Up @@ -507,7 +517,7 @@ input[type=checkbox]:checked ~ div {visibility:visible; opacity:1}
}

/****************************************************
convenience
Convenience
****************************************************/

[role="alert"] {
Expand Down Expand Up @@ -552,15 +562,30 @@ ul.tags-list li[data-selected=true] {
opacity: 1.0;
}

.py4web-validation-error{margin-top:-16px; font-size:0.8em;color:red;}
.py4web-validation-error{margin-top:-3px; font-size:0.8em;color:red;}
.grid-table-wrapper{overflow-x: auto;}
body { background: black; color: white; }
body > center > * { max-width: 90vw; }
form { max-width: 900px; }
nav.black a, a { color: #33BFFF; }
label:not(.help) { color: black; background-color: #CCC; padding: 2px 5px; margin: 5px 0 0 10px; border-top-left-radius: 5px; border-top-right-radius: 5px}
label:not(.help) { color: black; background-color: #CCC; padding: 2px 5px; margin: 5px 0 0 0px; border-top-left-radius: 5px; border-top-right-radius: 5px}
span ~ label { border-radius: 5px;}
label ~ div { position: relative; top: -5px}
label ~ div {
position: relative;
/* top: -5px; */
padding: 5px;
background-color: hsl(0, 0%, 10%);
border-radius: 6px;
min-height: 35px;
max-height: 150px;
overflow-wrap: break-word;
overflow: auto;
}

div:has(> label) {
margin-bottom: 18px;
}

button, a[role=button], input[type=submit], input[type=button] { background-color: #33BFFF; color: black}
p, input, textarea { margin: 5px}
thead>tr {background: black; border-top: 2px solid #33BFFF; border-bottom: 2px solid #33BFFF;}
Expand All @@ -585,6 +610,8 @@ nav { width: auto; }
.dbadmin .grid-table-wrapper { overflow-x: auto; }
.dbadmin h2 { margin-top: 0px; font-size: 1.5em; }
.dbadmin .grid-search-form-table { width: 70vw; }
.dbadmin .grid-search-form-td { vertical-align: middle; }
.dbadmin .grid-search-form-td input[type="submit"] { margin-top: 0; }
.dbadmin .grid-search-form-tr:hover { background-color: transparent; }
.dbadmin td, .dbadmin th { padding: 1px 8px; }
.dbadmin .grid-table-wrapper { overflow-x: visible; }
Expand Down