Skip to content

Commit be3fd59

Browse files
committed
Style scrollbars
1 parent fb9d81b commit be3fd59

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

etc/query_editor/css/style.css

+21
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,24 @@ span.code-number {
120120
width: 100%;
121121
height: 100%;
122122
}
123+
124+
/* Customizes the scrollbar's track */
125+
::-webkit-scrollbar-track {
126+
background-color: rgba(0, 0, 0, 0);
127+
}
128+
129+
/* Customizes the scrollbar's thumb */
130+
::-webkit-scrollbar-thumb {
131+
background-color: rgba(255, 255, 255, 0.2);
132+
border-radius: var(--border-radius-medium);
133+
}
134+
135+
/* Customizes the scrollbar thumb on hover */
136+
::-webkit-scrollbar-thumb:hover {
137+
background-color: rgba(255, 255, 255, 0.5);
138+
}
139+
140+
/* Sets the scrollbar width */
141+
::-webkit-scrollbar {
142+
width: 8.5px;
143+
}

etc/query_editor/js/components/url-bar.vue

+2
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,14 @@ const setFocus = (value) => {
7575
text-align: center;
7676
border-color: var(--border);
7777
color: var(--secondary-text);
78+
cursor: pointer;
7879
}
7980
8081
#url-bar:focus {
8182
color: var(--highlight-text);
8283
border-color: var(--dark-blue);
8384
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
85+
cursor: text;
8486
}
8587
8688
</style>

0 commit comments

Comments
 (0)