v0.0.1
This commit is contained in:
238
web/share.html
Normal file
238
web/share.html
Normal file
@@ -0,0 +1,238 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0"
|
||||
/>
|
||||
<title>Sheep Service</title>
|
||||
|
||||
<link rel="icon" href="/img/favicon.ico" sizes="any" />
|
||||
<link rel="apple-touch-icon" href="/img/apple-touch-icon.png" />
|
||||
|
||||
<script src="js/app.js" defer></script>
|
||||
<style>
|
||||
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
/* PrimaryColor */
|
||||
--PrimaryColor: #28a55a;
|
||||
--PrimaryColor: #f2bd53;
|
||||
--PrimaryColorText: #2e2e2e;
|
||||
/* BGColor */
|
||||
--ColorThemes0: #fbfbfb;
|
||||
--ColorThemes1: #f3f3f3;
|
||||
--ColorThemes2: #e5e5df;
|
||||
/* TextColor */
|
||||
--ColorThemes3: #313131;
|
||||
|
||||
--ColorAnimation: linear-gradient(90deg, #f3f3f3, #efefef, #f3f3f3);
|
||||
|
||||
--shadow-l1: 0px 2px 4px rgba(0, 0, 0, 0.02),
|
||||
0px 0px 2px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
||||
--border-radius: 15px;
|
||||
|
||||
--CardAnimation: linear-gradient(
|
||||
to right,
|
||||
#fbfbfb 0%,
|
||||
#fbfbfb 30%,
|
||||
#d8d8d8 45%,
|
||||
#d8d8d8 50%,
|
||||
#fbfbfb 60%,
|
||||
#fbfbfb 100%
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
/* PrimaryColor */
|
||||
--PrimaryColor: #28a55a;
|
||||
--PrimaryColor: #cb9e44;
|
||||
--PrimaryColorText: #2e2e2e;
|
||||
/* BGColor */
|
||||
--ColorThemes0: #1c1c19;
|
||||
--ColorThemes1: #21221d;
|
||||
--ColorThemes2: #252523;
|
||||
/* TextColor */
|
||||
--ColorThemes3: #f3f3f3;
|
||||
|
||||
--ColorAnimation: linear-gradient(90deg, #21221d, #242520, #21221d);
|
||||
|
||||
--shadow-l1: 0px 4px 8px rgba(0, 0, 0, 0.04),
|
||||
0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
||||
--border-radius: 15px;
|
||||
|
||||
--CardAnimation: linear-gradient(
|
||||
to right,
|
||||
#1c1c19 0%,
|
||||
#1c1c19 30%,
|
||||
#252525 45%,
|
||||
#252525 50%,
|
||||
#1c1c19 60%,
|
||||
#1c1c19 100%
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
* {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
font-family: "Roboto", sans-serif;
|
||||
margin: 0;
|
||||
font-weight: 300;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
*[disabled] {
|
||||
opacity: 0.6 !important;
|
||||
cursor: no-drop !important;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--ColorThemes0);
|
||||
color: var(--ColorThemes3);
|
||||
}
|
||||
|
||||
select {
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
/* Arrow */
|
||||
appearance: none;
|
||||
background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%237a899d%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right 0.3rem top 50%;
|
||||
background-size: 0.55rem auto;
|
||||
}
|
||||
|
||||
#header {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin: 10px;
|
||||
}
|
||||
#header p {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
details {
|
||||
color: var(--ColorThemes3);
|
||||
width: 100%;
|
||||
min-width: 320px;
|
||||
background: var(--ColorThemes1);
|
||||
margin: 20px 0px;
|
||||
border-radius: 10px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04),
|
||||
0px 0px 2px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
@media (min-width: 500px) {
|
||||
details {
|
||||
/* width: calc(100% - 30px); */
|
||||
}
|
||||
}
|
||||
details[disabled] summary,
|
||||
details.disabled summary {
|
||||
pointer-events: none;
|
||||
user-select: none;
|
||||
}
|
||||
details summary::-webkit-details-marker,
|
||||
details summary::marker {
|
||||
display: none;
|
||||
content: "";
|
||||
}
|
||||
summary {
|
||||
cursor: pointer;
|
||||
background: #7a8a9d;
|
||||
background: var(--PrimaryColor);
|
||||
height: 45px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
summary p {
|
||||
padding: 0 10px;
|
||||
color: var(--PrimaryColorText);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
summary svg {
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
padding: 0 10px;
|
||||
fill: var(--PrimaryColorText);
|
||||
}
|
||||
|
||||
.apartments_list {
|
||||
padding: 10px;
|
||||
border-top: 2px solid var(--ColorThemes1);
|
||||
border-bottom: 2px solid var(--PrimaryColor);
|
||||
border-left: 2px solid var(--PrimaryColor);
|
||||
border-right: 2px solid var(--PrimaryColor);
|
||||
border-style: dotted;
|
||||
border-radius: 0 0 10px 10px;
|
||||
}
|
||||
@media (max-width: 500px) {
|
||||
.apartments_list {
|
||||
padding: 0px;
|
||||
}
|
||||
}
|
||||
.apartments_list div {
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border-radius: 8px;
|
||||
margin: 5px 0;
|
||||
}
|
||||
.apartments_list div span {
|
||||
min-width: 30px;
|
||||
font-size: 12px;
|
||||
position: relative;
|
||||
margin: 5px;
|
||||
}
|
||||
.apartments_list div select {
|
||||
color: #3d3d3d;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #eaebef;
|
||||
margin: 5px;
|
||||
background-color: #fff;
|
||||
min-width: 110px;
|
||||
width: 100%;
|
||||
padding: 4px 20px 4px 4px;
|
||||
height: 30px;
|
||||
}
|
||||
.apartments_list div input {
|
||||
color: #3d3d3d;
|
||||
border-radius: 6px;
|
||||
border: 1px solid #eaebef;
|
||||
margin: 5px;
|
||||
background-color: #fff;
|
||||
width: 100%;
|
||||
min-width: 70px;
|
||||
padding: 0 4px;
|
||||
height: calc(30px - 2px);
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<p id="status"></p>
|
||||
<p id="hash"></p>
|
||||
</div>
|
||||
|
||||
<div id="list"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user