- There's still a work to be done, but IMO it is a step inthe right direction
89 lines
1.5 KiB
CSS
89 lines
1.5 KiB
CSS
/* TODO: Dark mode theme */
|
|
|
|
/* Mistake types styles */
|
|
.bes-spelling-mistake {
|
|
border-bottom: 2px solid #ff7300;
|
|
position: absolute;
|
|
z-index: 3;
|
|
cursor: text;
|
|
}
|
|
|
|
.bes-grammar-mistake {
|
|
border-bottom: 2px solid #007bff;
|
|
position: absolute;
|
|
z-index: 3;
|
|
cursor: text;
|
|
}
|
|
|
|
.bes-canvas {
|
|
position: relative;
|
|
z-index: 3;
|
|
cursor: text;
|
|
}
|
|
|
|
.bes-spelling-mistake.bes-mistake-highlight-selected {
|
|
background: #cc7024;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.bes-grammar-mistake.bes-mistake-highlight-selected {
|
|
background: #3691f3;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Styles required to ensure full functionality and optimal user experience. */
|
|
.bes-correction-panel-parent {
|
|
position: relative;
|
|
overflow: visible;
|
|
float: left;
|
|
display: inline;
|
|
width: 0px;
|
|
height: 0px;
|
|
border: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.bes-correction-panel {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-color: transparent;
|
|
color: transparent;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.bes-correction-panel-scroll {
|
|
position: relative;
|
|
}
|
|
|
|
.bes-text-panel {
|
|
position: absolute;
|
|
margin: 0px;
|
|
color: transparent;
|
|
border-color: transparent;
|
|
background: none;
|
|
}
|
|
|
|
/* TODO: Styles below should be removed after testing period is over */
|
|
.resizable {
|
|
overflow-x: scroll;
|
|
position: relative;
|
|
display: inline-block;
|
|
border: 1px solid #ccc;
|
|
width: 300px;
|
|
height: 400px;
|
|
border-radius: 3px;
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
.mock-content {
|
|
width: 1000px;
|
|
height: 600px;
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|