Skip to content

Instantly share code, notes, and snippets.

@moisescastillo
Created September 30, 2021 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moisescastillo/fa5ef63edd0349cfcbd7fa2fa54f8830 to your computer and use it in GitHub Desktop.
Save moisescastillo/fa5ef63edd0349cfcbd7fa2fa54f8830 to your computer and use it in GitHub Desktop.
To-Do App Appscript GS
<style>
:root {
--color-5c: #190934;
--color-4c: #300D6E;
--color-3c: #5A18C9;
--color-2c: #905BEC;
--color-1c: #E9DFFB;
}
* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
font-family: 'Inter', open-sans;
font-size: 16px;
color: #000;
}
h1 {
font-size: 1rem;
}
input[type="text"] {
width: 100%;
padding: 12px;
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
border: 1px solid var(--color-3c);
border-right: none;
}
button {
width: 50px;
font-size: 1rem;
cursor: pointer;
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
border: 1px solid var(--color-3c);
}
button.primary {
background-color: var(--color-3c);
color: white;
}
button.primary > i {
font-weight: 600;
}
section.header {
display: flex;
flex-direction: row;
flex-wrap: no-wrap;
margin: 30px 0;
}
#listado {
height: 440px;
padding: 16px;
background-color: white;
border-radius: 6px;
border: 1px solid var(--color-1c);
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.02), 0 4px 4px 0 rgba(0, 0, 0, 0.04);
overflow-y: auto;
}
.content {
width: 100%;
height: 48px;
display: flex;
flex-direction: row;
border-bottom: 1px solid var(--color-1c);
}
.content .item {
align-self: center;
}
.content .item.text a {
color: var(--color-5c);
text-decoration: none;
}
.content .item.text a.check {
text-decoration: line-through;
}
.content .item.text {
flex-basis: 100%;
}
.content .item.control > a {
color: var(--color-3c);
padding: 10px 10px;
}
.content .item.control > a > i {
font-size: 1.1rem;
font-weight: 600;
}
.content .item.control > a:hover {
color: var(--color-3c);
background-color: var(--color-1c);
border-radius: 50%;
}
.alert {
padding: 18px;
font-size: 1rem;
font-weight: 400;
border-radius: 4px;
}
.alert i {
margin-right: 12px;
font-size: 1.1rem;
}
.alert.success {
color: var(--color-3c);
background: var(--color-1c);
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment