Skip to content

Commit

Permalink
Merge branch 'master' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
JannisX11 committed Sep 22, 2024
2 parents 4bc4ac2 + 529f2af commit 637a415
Show file tree
Hide file tree
Showing 110 changed files with 9,093 additions and 3,105 deletions.
Binary file added assets/crosshair.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/splash_art/1.webp
Binary file not shown.
Binary file modified assets/splash_art/2.webp
Binary file not shown.
Binary file modified assets/splash_art/3.webp
Binary file not shown.
Binary file removed assets/splash_art/4.webp
Binary file not shown.
Binary file removed assets/splash_art/5.webp
Binary file not shown.
Binary file modified build/icon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions build/installer.nsh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ManifestDPIAware true
Binary file added build/json.icns
Binary file not shown.
Binary file added build/json.ico
Binary file not shown.
Binary file added content/cube_knife.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed content/flipbook_editor.png
Binary file not shown.
Binary file removed content/knife_tool.png
Binary file not shown.
23 changes: 14 additions & 9 deletions content/news.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,25 @@
"layout": "vertical",
"insert_after": "splash_screen",
"text": [
{"text": "Welcome to Blockbench 4.10", "type": "h3"},
{"text": "The Knife Tool Update!", "type": "h1"},
{"text": "Check out the [full changelog](https://github.com/JannisX11/blockbench/releases/tag/v4.10.0)!"}
{"text": "Welcome to Blockbench 4.11", "type": "h3"},
{"text": "The Texture Group Update!", "type": "h1"},
{"text": "Check out the [full changelog](https://github.com/JannisX11/blockbench/releases/tag/v4.11.0)!"}
],
"features": [
{
"image": "https://web.blockbench.net/content/flipbook_editor.png",
"title": "Flipbook Animation Editor",
"text": "Setup animated textures, preview them, add, remove, rearrange, or resize frames in this new convenient editor!"
"image": "https://web.blockbench.net/content/texture_groups.png",
"title": "Texture Groups",
"text": "Organize your textures with groups!"
},
{
"image": "https://web.blockbench.net/content/knife_tool.png",
"title": "Knife Tool",
"text": "Cut your mesh to create new details, edges, and faces and shape your mesh in new ways!"
"image": "https://web.blockbench.net/content/tiled_view.png",
"title": "Onion Skin and Tiled View",
"text": "Use onion skinning on animated textures or create tiled textures."
},
{
"image": "https://web.blockbench.net/content/cube_knife.png",
"title": "Knife Tool for Cubes",
"text": "Use the knife tool to cut cubes and speed up your workflow!"
}
]
}
Expand Down
Binary file added content/texture_groups.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/tiled_view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
134 changes: 129 additions & 5 deletions css/dialogs.css
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@
.dialog_bar > .molang_input {
width: calc(100% - var(--max_label_width));
}
.dialog_bar.form_bar.small_text {
word-break: break-word;
}
/*.dialog_bar::after {
content: "";
clear: both;
Expand Down Expand Up @@ -673,6 +676,7 @@
.keybind_line > div:first-child {
flex-grow: 1;
flex-shrink: 1;
flex-basis: 0;
padding: 4px;
padding-left: 8px;
display: flex;
Expand Down Expand Up @@ -719,6 +723,29 @@
width: 25px;
float: right;
}
.keybind_item_variations > li {
display: flex;
margin-bottom: 2px;
}
.keybind_item_variations > li > label {
color: var(--color-subtle_text);
padding: 3px;
padding-left: 15px;
width: 30px;
}
.keybind_item_variations > li > * {
flex-grow: 1;
flex-shrink: 0;
width: 0;
}
.keybind_item_variations > li > bb-select {
margin-right: 54px;
}
.keybind_variation_conflict {
color: var(--color-warning);
margin-left: -22px;
width: 22px;
}

/*Colors*/
dialog#theme .dialog_wrapper {
Expand Down Expand Up @@ -787,7 +814,7 @@
float: left;
padding: 6px;
border: 2px solid transparent;
background-color: var(--color-ui);
background-color: var(--color-back);
color: var(--color-text);
cursor: pointer;
}
Expand All @@ -799,16 +826,23 @@
#theme_list .theme.selected {
border-color: var(--color-accent);
}
#theme_list .theme > .theme_preview {
margin-bottom: 4px;
}
#theme_list .theme * {
cursor: inherit;
}
.theme_name, .theme_author {
float: left;
margin-top: 4px;
margin-bottom: -4px;
.theme_name {
display: inline-block;
}
.theme_author {
color: var(--color-subtle_text);
}
.theme_type_icon {
float: right;
margin-right: 5px;
}
.theme_type_icon > i {
color: var(--color-subtle_text);
}

Expand Down Expand Up @@ -1242,6 +1276,7 @@
}
#plugin_list > li {
overflow-y: hidden;
position: relative;
margin: 12px;
padding: 8px 12px;
padding-bottom: 12px;
Expand Down Expand Up @@ -1282,6 +1317,10 @@
margin-top: 8px;
display: inline-block;
}
.plugin_icon_area img.icon {
height: auto;
margin-top: 0;
}
.plugin_icon_area img {
border-radius: 8px;
pointer-events: none;
Expand Down Expand Up @@ -1350,6 +1389,10 @@
.plugin_installed_tag {
color: var(--color-confirm);
}
#plugin_list .plugin_installed_tag {
position: absolute;
right: 4px;
}
dialog#plugins .version {
display: inline-block;
color: var(--color-subtle_text);
Expand Down Expand Up @@ -1602,6 +1645,7 @@
width: 320px;
margin-bottom: -26px;
margin-top: -20px;
image-rendering: auto;
}
.plugins_suggested_row {
width: 100%;
Expand Down Expand Up @@ -2043,6 +2087,82 @@
right: 0;
background: var(--color-back);
}
/* Animation import */
dialog#animation_import .form_bar__path {
padding: 2px;
color: var(--color-subtle_text);
overflow-x: auto;
white-space: nowrap;
text-align: right;
direction: rtl;
}
/* Animation Controller curves */

dialog#blend_transition_edit .blend_transition_graph_wrapper {
margin-top: 6px;
margin-bottom: 10px;
display: flex;
}
#blend_transition_graph {
background-color: var(--color-back);
border: 1px solid var(--color-border);
position: relative;
overflow: hidden;
cursor: crosshair;
}
#blend_transition_graph svg {
height: 100%;
width: 100%;
pointer-events: none;
}
#blend_transition_graph svg path {
fill: none;
stroke-width: 2px;
stroke: var(--color-accent);
}
#blend_transition_graph svg path.zero_lines {
fill: none;
stroke-width: 1px;
stroke: var(--color-grid);
}
.blend_transition_graph_point {
position: absolute;
width: 11px;
height: 11px;
background-color: var(--color-accent);
margin: -1px;
transform: rotate(45deg);
transform-origin: center;
}
.blend_transition_graph_point:hover {
background-color: var(--color-light);
}
.blend_transition_graph_point::before {
content: "";
position: absolute;
width: 24px;
height: 24px;
left: -6px;
top: -6px;
cursor: move;
}
.blend_transition_preview {
width: 12px;
height: auto;
position: relative;
background-color: var(--color-back);
margin-left: 8px;
overflow: hidden;
}
.blend_transition_preview > div {
background-color: var(--color-accent);
position: absolute;
height: calc(var(--progress) * 100%);
width: 100%;
bottom: 0;
left: 0;
right: 0;
}

/* Texture Edit */
div.texture_adjust_previews {
Expand Down Expand Up @@ -2225,6 +2345,10 @@
background-color: var(--color-accent);
color: var(--color-accent_text);
}
.flipbook_frame.selected {
background-color: var(--color-accent);
color: var(--color-accent_text);
}
.flipbook_frame > img {
cursor: inherit;
pointer-events: none;
Expand Down
15 changes: 12 additions & 3 deletions css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
}
.progress_bar {
background-color: var(--color-back);
height: 20px;
height: 18px;
margin-top: 12px;
}
.progress_bar_inner {
background-color: var(--color-accent);
height: 100%;
width: 0px;
width: calc(100% * var(--progress));
}
.accent_color {
color: var(--color-accent);
Expand All @@ -47,8 +47,10 @@
font-weight: normal;
display: inline-block;
}
.code {
code, .code {
font-family: var(--font-code);
}
.code {
font-size: 16px;
}
.small_text {
Expand Down Expand Up @@ -709,6 +711,9 @@
pointer-events: none;
flex: 1 0 auto;
}
.contextMenu li.marked > span {
text-decoration: underline;
}
.contextMenu li.parent.focused > .contextMenu.sub {
display: block;
}
Expand Down Expand Up @@ -767,6 +772,10 @@
.contextMenu .menu_search_bar {
padding: 0;
display: flex;
position: sticky;
top: 0;
background-color: inherit;
border-bottom: 2px solid var(--color-menu_separator);
}
.menu_search_bar > input {
color: inherit;
Expand Down
Loading

0 comments on commit 637a415

Please sign in to comment.