Burgernotes/static/css/style.css

339 lines
5.8 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
body {
margin: 0;
font-family: "Inter", sans-serif;
}
/* Web app */
.topBar {
position: fixed;
width: 100%;
height: 50px;
background-color: rgba(233, 233, 233, 0.5);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: solid;
border-color: #dadada;
border-width: 0px;
border-bottom-width: 1px;
}
.topBar p {
display: inline-block;
}
.topBar .logo {
padding-left: 12px;
}
.topBar .usernameBox {
text-align: right;
position: absolute;
cursor: pointer;
right: 12px;
}
.notesBar {
position: fixed;
width: 180px;
bottom: 0;
height: calc(100% - 50px - 1px);
background-color: rgba(233, 233, 233, 0.5);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: solid;
border-color: #dadada;
border-width: 0px;
border-right-width: 1px;
border-top-width: 1px;
}
.notesBar button {
width: calc(100% - 7px - 7px - 3.5px);
height: 35px;
line-height: 0px;
padding: 10px;
margin: 7px;
margin-bottom: 0;
background-color: #ffffff;
color: black;
border: none;
border-radius: 8px;
border: solid;
border-color: #dadada;
border-width: 1px;
font-size: 15px;
text-align: left;
}
.notesBar .selected {
background-color: #157efb !important;
color: white
}
.notesBar .newNote {
background-color: rgba(0, 0, 0, 0);
transform: translateY(-35%);
padding-left: 0;
border: none;
}
.notesBar .newNote img {
height: 200%;
padding-right: 5px;
transform: translateY(30%);
}
.noteBox {
resize: none;
position: fixed;
right: 0;
bottom: 0;
padding: 4px;
border: none;
font-size: 16px;
width: calc(100% - 180px - 7px - 6px);
height: calc(100% - 50px - 6px - 8px);
font-family: "Inter", sans-serif;
}
.optionsCoverDiv {
position: fixed;
width: 100%;
height: 100%;
z-index: 2;
background-color: rgba(0, 0, 0, 0.7);
transition: opacity 1s;
}
.optionsDiv {
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 300px;
position: fixed;
background-color: white;
padding: 10px;
color: black;
border-radius: 8px;
}
.optionsDiv button {
padding: 10px;
margin-right: 5px;
padding-left: 15px;
padding-right: 15px;
color: white;
border: none;
text-decoration: none;
background-color: #157efb;
border-radius: 8px;
}
.optionsDiv progress {
width: 100%;
background-color: #d8d8d8;
border: none;
border-radius: 99px;
height: 7px;
}
.optionsDiv progress::-moz-progress-bar {
background: #157efb;
}
.optionsDiv progresss::-webkit-progress-value {
background: #157efb;
}
.optionsDiv .exit {
position: absolute;
right: 5px;
width: 40px;
height: 40px;
font-size: 16px;
background-color: #e9e9e9;
color: black;
border-radius: 100%;
}
/* Sign up/log in div */
.inoutdiv {
margin: 10%;
padding: 15px;
}
.inoutdiv input {
width: calc(100% - 20px);
height: 25px;
margin-bottom: 10px;
padding-left: 10px;
padding-right: 10px;
border: solid;
border-color: rgb(207, 207, 207);
border-width: 1px;
border-radius: 8px;
}
.inoutdiv button {
background-color: #157efb;
color: white;
padding: 10px;
padding-left: 20px;
padding-right: 20px;
border: solid;
border-color: rgb(207, 207, 207);
border-width: 1px;
border-radius: 8px;
}
.inoutdiv a {
color: grey;
text-align: center;
}
.hidden {
display: none;
}
/* main */
.mainDiv {
text-align: center;
}
.mainDiv a {
padding: 10px;
padding-left: 15px;
padding-right: 15px;
color: white;
text-decoration: none;
background-color: #157efb;
border-radius: 8px;
}
.mainDiv .feature {
width: 80%;
margin-left: 10%;
margin-bottom: 10px;
padding: 10px;
border-radius: 8px;
font-size: 17px;
}
.mainDiv .green {
background-color: #ebffeb;
}
.mainDiv .yellow {
background-color: #ffffeb;
}
.mainDiv img {
margin: 10px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}
/* dark theme, slightly modified */
@media (prefers-color-scheme: dark) {
:root {
--gray-950: #030712;
--gray-900: #111827;
--gray-800: #1f2937;
--gray-700: #374151;
--gray-600: #4b5563;
--gray-500: #6b7280;
--gray-400: #9ca3af;
--gray-300: #d1d5db;
--gray-200: #e5e7eb;
--gray-100: #f3f4f6;
--gray-50: #f9fafb;
}
body {
color: white;
background-color: #030303;
}
.topBar {
background-color: rgba(18, 18, 18, 0.5);
border-color: #303030;
}
.notesBar {
background-color: #030303;
border: solid;
border-width: 0px;
border-right-width: 1px;
border-color: #303030;
}
.noteBox {
background-color: #030303;
color: white;
}
.notesBar button {
color: white;
}
.notesBar .newNote img {
filter: invert(1);
}
.notesBar button {
background-color: #141414;
border: none;
}
.notesBar .selected {
border-color: #0d51a1 !important;
}
.optionsDiv {
background-color: var(--gray-800);
color: white;
border: 1px solid var(--gray-700);
}
.optionsDiv .exit {
background-color: var(--gray-700);
color: white;
}
.mainDiv .feature {
background-color: #141414;
border: solid;
border-width: 1px;
border-color: #303030;
}
.inoutdiv {
border: 1px solid var(--gray-700);
border-radius: 8px;
background-color: var(--gray-800);
box-shadow: none;
}
.inoutdiv input {
border: solid 1px var(--gray-600);
background-color: var(--gray-700);
color: white;
}
.inoutdiv button {
background-color: var(--gray-700);
color: white;
border: 1px solid var(--gray-600);
}
}