openOutpaint/css/index.css

215 lines
3.2 KiB
CSS
Raw Normal View History

2022-11-17 22:37:28 -06:00
* {
font-size: 100%;
font-family: Arial, Helvetica, sans-serif;
2022-11-17 22:37:28 -06:00
}
body {
margin: 0px;
}
2022-11-17 22:37:28 -06:00
.container {
position: relative;
}
.backgroundCanvas {
background-color: #ccc;
}
#historyContainer > .info {
padding: 0;
}
#history.history {
height: 200px;
overflow: scroll;
}
#history.history > .history-item {
cursor: pointer;
padding: 5px;
padding-top: 2px;
padding-bottom: 2px;
}
#history.history > .history-item {
background-color: #0000;
}
#history.history > .history-item:hover {
background-color: #fff5;
}
#history.history > .history-item.current {
background-color: #66f5;
}
#history.history > .history-item.current:hover {
background-color: #66f5;
}
#history.history > .history-item.future {
background-color: #4445;
}
#history.history > .history-item.future:hover {
background-color: #ddd5;
}
.mainHSplit {
display: grid;
grid-template-columns: 1fr;
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 5px;
grid-row-gap: 5px;
}
.uiWrapper {
display: grid;
grid-template-columns: 1fr 15fr;
grid-template-rows: 1fr;
grid-column-gap: 5px;
grid-row-gap: 5px;
}
2022-11-19 15:48:12 -06:00
.uiContainer {
position: fixed;
width: 250px;
height: auto;
z-index: 999;
2022-11-19 15:48:12 -06:00
}
.uiTitleBar {
z-index: 999;
cursor: move;
background-color: rgba(104, 104, 104, 0.75);
z-index: 999;
2022-11-19 15:48:12 -06:00
user-select: none;
padding-left: 5px;
padding-right: 5px;
padding-top: 5px;
padding-bottom: 5px;
margin-bottom: auto;
font-size: 1.5em;
color: black;
text-align: center;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border: solid;
border-bottom: none;
border-color: black;
}
2022-11-19 15:48:12 -06:00
.draggable {
cursor: move;
2022-11-19 15:48:12 -06:00
}
.toolbar {
display: flex;
justify-content: space-between;
}
.toolbar > .tool {
flex: 1;
}
.toolbar > .tool:not(:last-child) {
margin-right: 10px;
}
button.tool {
background-color: rgb(0, 0, 50);
color: rgb(255, 255, 255);
border-radius: 5px;
cursor: pointer;
border: none;
text-align: center;
outline: none;
font-size: 15px;
padding: 5px;
margin-top: 5px;
margin-bottom: 5px;
}
button.tool:hover {
background-color: #667;
}
2022-11-19 15:48:12 -06:00
.collapsible {
background-color: rgb(0, 0, 0);
color: rgb(255, 255, 255);
border-radius: 5px;
cursor: pointer;
width: 100%;
border: none;
text-align: center;
outline: none;
font-size: 15px;
padding: 5px;
margin-top: 5px;
margin-bottom: 5px;
2022-11-19 15:48:12 -06:00
}
.collapsible:hover {
background-color: #777;
2022-11-19 15:48:12 -06:00
}
.content {
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
}
2022-11-19 15:48:12 -06:00
.info {
background-color: rgba(255, 255, 255, 0.5);
padding-left: 10px;
padding-right: 10px;
padding-top: 5px;
padding-bottom: 5px;
color: black;
border: solid;
border-top: none;
border-color: black;
font-size: medium;
text-align: left;
max-height: fit-content;
overflow: auto;
cursor: auto;
2022-11-19 15:48:12 -06:00
}
.canvasHolder {
position: relative;
width: 2560px;
height: 1440px;
}
.mainCanvases {
position: absolute;
top: 0px;
left: 0px;
width: 2560px;
height: 1440px;
}
.masks {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;
}
.maskCanvasMonitor .overMaskCanvasMonitor .initImgCanvasMonitor {
position: absolute;
}
.maskPaintCanvas {
filter: opacity(40%);
}
.strokeText {
-webkit-text-stroke: 1px #000;
font-size: 150%;
font-weight: 600;
color: #fff;
}