ohmysearch
Version:
Ohmysearch - customizable all in one search tool to boost developer productivity
158 lines (144 loc) • 2.93 kB
CSS
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 400;
src: url("./fonts/Inter-Regular.ttf");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 500;
src: url("./fonts/Inter-Medium.ttf");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 600;
src: url("./fonts/Inter-SemiBold.ttf");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 700;
src: url("./fonts/Inter-Bold.ttf");
}
@font-face {
font-family: "Inter";
font-style: normal;
font-weight: 800;
src: url("./fonts/Inter-ExtraBold.ttf");
}
:root {
--background: #111111;
--primary: white;
--accent01: #a6a5a7;
--accent02: rgba(255, 255, 255, 0.1);
--accent03: #6068d2;
--accent04: #aeafb2;
}
* {
clear: both;
padding: 0px;
margin: 0px;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
}
body {
font-family: "Inter";
font-weight: 600;
min-height: 300;
height: 400px;
font-size: 20px;
padding: 0px;
margin: 0px;
margin: 0 auto;
background: var(--background);
color: var(--primary);
border-radius: 4px;
padding: 0px 0px 0px 0px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
overflow: hidden;
}
.window-draggable {
-webkit-app-region: drag;
}
.h100 {
color: var(--primary);
font-size: 12px;
font-family: "Inter";
}
.h200 {
color: var(--primary);
font-size: 14px;
}
.h300 {
color: var(--primary);
font-size: 16px;
font-family: "Inter";
}
.h400 {
color: var(--primary);
font-size: 20px;
font-family: "Inter";
}
#oms-input {
display: block;
width: 100%;
height: 24px;
font-size: 20px;
background: transparent;
color: var(--primary);
caret-color: var(--accent03);
box-sizing: border-box;
box-shadow: none;
outline: none;
border-width: 0;
}
.oms-scrollbar ::-webkit-scrollbar {
width: 10px;
height: 10px;
}
.oms-scrollbar ::-webkit-scrollbar-thumb {
background-color: rgba(127, 127, 127, 0.6);
background-clip: padding-box;
border: 2px solid transparent;
border-radius: 5px;
}
.oms-scrollbar ::-webkit-scrollbar-thumb:vertical:hover,
.oms-scrollbar ::-webkit-scrollbar-thumb:horizontal:hover {
background-color: rgb(110, 110, 110);
}
.oms-scrollbar ::-webkit-scrollbar-track {
background-color: transparent;
}
.oms-scrollbar ::-webkit-scrollbar-thumb:vertical:active,
.oms-scrollbar ::-webkit-scrollbar-thumb:horizontal:active {
background: rgba(95, 91, 91, 1);
}
.oms-scrollbar ::-webkit-scrollbar-corner {
background: none;
}
.suggestion-item {
display: flex;
justify-items: center;
gap: 6px;
padding: 9px 7px 9px 7px;
margin: 0 5px 0 5px;
border-radius: 8px;
cursor: pointer;
outline: 0;
}
.suggestion-item:hover,
.suggestion-selected {
background: var(--accent02);
}
.left-vertical-rule::before {
content: "";
position: absolute;
height: 100%;
width: 1px;
background: grey;
}