Skip to content

Instantly share code, notes, and snippets.

@marcosrivasr
Created April 29, 2021 02:18
Show Gist options
  • Save marcosrivasr/3aeb15308aa4a71819925d990c6e6f7c to your computer and use it in GitHub Desktop.
Save marcosrivasr/3aeb15308aa4a71819925d990c6e6f7c to your computer and use it in GitHub Desktop.
react-app-notes
.container{
display: flex;
height: 100vh;
background-color: #3b4055;
}
.panel{
background-color: #2b2f42;
width: 20%;
padding: 10px 0;
}
.editor{
background-color: #3b4055;
padding: 10px;
width: 40%;
display: flex;
flex-direction: column;
}
.editor input,
.editor textarea{
padding: 10px;
width: 100%;
}
.preview{
background-color: #3b4055;
color: white;
padding: 10px;
width: 40%;
}
.note{
color: white;
padding: 10px;
display: flex;
justify-content: space-between;
cursor: pointer;
}
.menu{
padding: 10px;
text-align: right;
display: flex;
justify-content: space-between;
gap: 5px;
}
.btn{
background: #2b5b88;
border: none;
border-radius: 3px;
padding: 10px;
color: white;
font-size: 16px;
cursor: pointer;
}
.btn:hover{
background: #3d87cc;
}
.pinButton{
background: #2b5b88;
border: none;
border-radius: 3px;
padding: 5px;
color: white;
cursor: pointer;
}
.pinButton:hover{
background-color: #3d87cc;
}
.activeNote{
background-color: #2084e2;
}
.editor-textarea{
display: flex;
flex-direction: column;
height: 100%;
}
.content{
color: white;
box-sizing: border-box;
width: 100%;
height: 100%;
outline: none;
border: none;
font-family: Arial, Helvetica, sans-serif;
line-height: 1.7;
font-size: 18px;
background-color: transparent;
}
.title{
color: white;
box-sizing: border-box;
padding: 10px;
width: 100%;
border: none;
border-bottom: solid 2px #ccc;
margin-bottom: 20px;
font-size: 32px;
font-weight: bolder;
outline: none;
background-color: transparent;
}
.search{
color: white;
padding: 5px;
outline: none;
border-radius: 5px;
border: none;
width: 60%;
font-size: 16px;
background: #394168;
}
.search:focus{
background-color:transparent;
border: solid 1px #3f53b6;
}
.statusCodeContainer{
color: white;
height: 25px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment