mirror of
https://github.com/JustKato/FreePad.git
synced 2026-02-23 15:50:46 +02:00
Appearance updates
+ Improved scroll bar look + Implemented a preview mode
This commit is contained in:
@@ -35,6 +35,29 @@ main#main-card {
|
||||
right: .5rem;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#pad-content-area {
|
||||
position: relative;
|
||||
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
}
|
||||
|
||||
#pad-content-toggler {
|
||||
position: absolute;
|
||||
top: .5rem;
|
||||
right: .5rem;
|
||||
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#textarea-preview {
|
||||
max-height: calc(20rem + 30vh);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
textarea:focus,
|
||||
input[type="text"]:focus,
|
||||
@@ -55,4 +78,28 @@ input[type="color"]:focus,
|
||||
border-color: none;
|
||||
box-shadow: none;
|
||||
outline: 0 none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* ===== Scrollbar CSS ===== */
|
||||
/* Firefox */
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #3b3b3b #ffffff00;
|
||||
}
|
||||
|
||||
/* Chrome, Edge, and Safari */
|
||||
*::-webkit-scrollbar {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-track {
|
||||
background: #ffffff00;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb {
|
||||
background-color: #3b3b3b;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #ffffff00;
|
||||
}
|
||||
Reference in New Issue
Block a user