textual-paint/paint.css

90 lines
1.4 KiB
CSS
Raw Normal View History

2023-04-10 23:51:53 +03:00
Screen {
/* overflow: auto; */
2023-04-10 23:51:53 +03:00
}
2023-04-11 01:06:41 +03:00
#paint {
layout: grid;
grid-size: 1;
grid-columns: 1fr;
grid-rows: 1fr 6;
2023-04-11 06:25:32 +03:00
}
#main-horizontal-split {
2023-04-10 23:51:53 +03:00
layout: grid;
2023-04-11 00:45:54 +03:00
grid-size: 2;
2023-04-10 23:51:53 +03:00
grid-gutter: 1 2;
2023-04-11 18:40:47 +03:00
grid-columns: 0 1fr;
grid-rows: 1fr;
margin: 0 0;
2023-04-10 23:51:53 +03:00
}
2023-04-11 18:40:47 +03:00
.show_tools_box #main-horizontal-split {
grid-columns: 18 1fr;
}
2023-04-11 15:47:47 +03:00
#editing-area {
background: $surface-lighten-3;
}
2023-04-11 15:46:57 +03:00
#canvas {
width: auto;
height: auto;
2023-04-11 15:47:47 +03:00
margin: 1 2;
2023-04-11 15:46:57 +03:00
}
#tools_box {
layout: grid;
grid-size: 2;
grid-gutter: 0 1;
grid-columns: 6;
grid-rows: 3;
padding: 1 1;
height: 100%;
2023-04-11 06:25:32 +03:00
border-bottom: tall $panel-darken-2;
}
#tools_box Button:focus {
/* disable focus highlight */
/* in the future it may be important to prevent focus instead */
text-style: none;
}
#tools_box Button.selected {
2023-04-11 04:04:08 +03:00
background: $panel-lighten-3;
border-bottom: tall $panel-lighten-2;
border-top: tall $panel-darken-2;
}
2023-04-11 06:25:32 +03:00
#colors_box {
2023-04-11 06:56:47 +03:00
layout: grid;
grid-size: 2;
grid-columns: 10 1fr;
border-top: tall $panel-lighten-2;
}
#selected_colors {
max-height: 5;
overflow: hidden;
}
#selected_color {
width: 6;
height: 4;
margin-left: 1;
}
#available_colors {
2023-04-11 06:25:32 +03:00
layout: grid;
grid-size: 14;
grid-gutter: 0 1;
grid-columns: 4;
2023-04-11 06:25:32 +03:00
grid-rows: 2;
/* padding: 1 1; */
width: 100%;
}
2023-04-10 23:51:53 +03:00
Button {
width: 100%;
height: 100%;
}