Files
dioxus/example-projects/hotdog/assets/main.css
T
Jonathan Kelley 727752a965 final 0.7 fixes: xcode 15/16 hybrid, auto openssldir for android, include_*! tracking hotpatch, fix /assets/ brick at high opt levels, windows linker file, etc (#4376)
* wip: openssl autodetection

* add voltaile read inside of asset fn

* support xcode 15 for --device

* vendor openssl on android

* Smaller width TUI

* switch to anyhow for the entire CLI

* add backtrace and print double printing of cargo_metadata errors

* add some padding to multi-line anyhow error

* check semvers

* don't open if not interactive

* set the tailwind current_dir so it doesn't twitch

* get the oboe demo working

* copy the c++ library on android

* cleanup env vars

* add depinfo watcher

* fix stale hotpatches and crate count

* add musl support

* remove outdated autofmt test

* update scanner app

* add hotdog app and bundle to ci

* upload dx on every branch

* collapse mobile into desktop

* `dx doctor` command

* windows command files

* no pipe on doctor

* fix ci?

* fix links

* fix ci

* use main instead of nightly

* bump node

* build cli for host

* cargo doc

* prep dog_app for bundle

* package hotdog

* no bundle or nightly cli

* comment out nightly cli

* add quotes to linker files
2025-07-14 12:54:15 -07:00

150 lines
2.5 KiB
CSS

/* App-wide styling */
html, body {
background-color: #0e0e0e;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
height: 100%;
width: 100%;
overflow: hidden;
margin: 0;
}
#main {
display: flex;
flex-direction: column;
height: 100%;
justify-content: space-between;
}
#dogview {
max-height: 80vh;
flex-grow: 1;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
#dogimg {
display: block;
max-width: 50%;
max-height: 50%;
transform: scale(1.8);
border-radius: 5px;
border: 1px solid rgb(233, 233, 233);
box-shadow: 0px 0px 5px 1px rgb(216, 216, 216, 0.5);
}
#title {
text-align: center;
padding-top: 10px;
border-bottom: 1px solid #a8a8a8;
display: flex;
flex-direction: row;
justify-content: space-evenly;
align-items: center;
}
#title a {
text-decoration: none;
color: white;
}
#heart {
background-color: white;
padding: 5px;
border-radius: 5px;
}
#title span {
width: 20px;
}
#title h1 {
margin: 0.25em;
font-style: italic;
}
#buttons {
display: flex;
flex-direction: row;
justify-content: center;
gap: 20px;
/* padding-top: 20px; */
padding-bottom: 20px;
}
#skip { background-color: gray }
#save { background-color: green; }
#skip, #save {
padding: 5px 30px 5px 30px;
border-radius: 3px;
font-size: 2rem;
font-weight: bold;
color: rgb(230, 230, 230)
}
#navbar {
border: 1px solid rgb(233, 233, 233);
border-width: 1px 0px 0px 0px;
display: flex;
flex-direction: row;
justify-content: space-evenly;
padding: 20px;
gap: 20px;
}
#navbar a {
background-color: #a8a8a8;
border-radius: 5px;
border: 1px solid black;
text-decoration: none;
color: black;
padding: 10px 30px 10px 30px;
}
#favorites {
flex-grow: 1;
overflow: hidden;
display: flex;
flex-direction: column;
padding: 10px;
}
#favorites-container {
overflow-y: auto;
overflow-x: hidden;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
padding: 10px;
}
.favorite-dog {
max-height: 180px;
max-width: 60%;
position: relative;
}
.favorite-dog img {
max-height: 150px;
border-radius: 5px;
margin: 5px;
}
.favorite-dog:hover button {
display: block;
}
.favorite-dog button {
display: none;
position: absolute;
bottom: 10px;
left: 10px;
z-index: 10;
}