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 Jan 15, 2025
2 parents 0baa3f4 + 4ffe74f commit a972764
Show file tree
Hide file tree
Showing 124 changed files with 10,073 additions and 4,850 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ jobs:
- sudo apt-get install rpm
- electron-builder --publish=onTagOrDraft

cache:
directories:
- node_modules

install:
- npm install

Expand Down
12 changes: 12 additions & 0 deletions assets/netlify-full-logo-dark.svg
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 added assets/splash_art/4.webp
Binary file not shown.
Binary file added content/collections.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/cube_knife.png
Binary file not shown.
Binary file added content/group_multi_select.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/lasso.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 23 additions & 14 deletions content/news.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,38 @@
{
"new_version": {
"color": "var(--color-bright_ui)",
"text_color": "var(--color-bright_ui_text)",
"color": "var(--color-dark)",
"layout": "vertical",
"insert_after": "splash_screen",
"text": [
{"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)!"}
{"text": "Welcome to Blockbench 4.12", "type": "h3"},
{"text": "The Collection & Selection Update!", "type": "h1"},
{"text": "Check out the [full changelog](https://github.com/JannisX11/blockbench/releases/tag/v4.12.0)!"}
],
"features": [
{
"image": "https://web.blockbench.net/content/texture_groups.png",
"title": "Texture Groups",
"text": "Organize your textures with groups!"
"image": "https://web.blockbench.net/content/pbr.png",
"title": "PBR Editing + Preview",
"text": "Create, edit, and view physically based materials"
},
{
"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/collections.png",
"title": "Collections",
"text": "A new way to organize your model!"
},
{
"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!"
"image": "https://web.blockbench.net/content/lasso.png",
"title": "Lasso Selection Tool",
"text": "Select free-form shapes in the 2D Editor"
},
{
"image": "https://web.blockbench.net/content/group_multi_select.png",
"title": "Group Multi Selection",
"text": "You can finally select multiple groups at once!"
},
{
"image": "https://web.blockbench.net/content/rotation_snap.png",
"title": "Rotation Snap",
"text": "It's vertex snap, but for rotations!"
}
]
}
Expand Down
Binary file added content/pbr.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/rotation_snap.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/tiled_view.png
Binary file not shown.
71 changes: 67 additions & 4 deletions css/dialogs.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,12 @@
background-color: var(--color-ui);
color: inherit;
border: none;
box-shadow: 0 0px 8px rgba(0, 0, 0, 0.64);
box-shadow: 0 0px 20px rgba(0, 0, 0, 0.56);
left: unset;
right: unset;
bottom: unset;
display: none;
border-radius: 3px;
}
.shapeless_dialog {
position: fixed;
Expand Down Expand Up @@ -131,6 +132,31 @@
margin-right: auto;
margin-left: auto;
}
dialog.dialog.tool_config {
margin-right: 0;
margin-left: 0;
width: fit-content;
min-width: 200px;
}
.dialog.tool_config > div > .dialog_content {
margin: 4px 12px;
}
.tool_config_title {
padding: 4px 12px;
margin-bottom: -6px;
margin-right: 18px;
text-align: center;
font-size: 1.1em;
text-transform: uppercase;
color: var(--color-subtle_text);
}
.dialog .tool_config_title > .dialog_close_button {
right: 0;
top: 0;
}
.dialog.tool_config hr {
margin: 6px 0;
}
.dialog:not(.resizable) {
min-width: min(400px, 100%);
max-width: min(960px, 100%);
Expand All @@ -148,12 +174,16 @@
}
label.name_space_left {
float: left;
min-width: 140px;
min-width: 90px;
padding-top: 4px;
padding-left: 1px;
padding-right: 8px;
flex-shrink: 0;
overflow-wrap: break-word;
box-sizing: content-box;
}
.dialog label.name_space_left {
min-width: 140px;
}
.dialog_bar.form_bar.full_width_dialog_bar {
flex-wrap: wrap;
Expand Down Expand Up @@ -357,6 +387,9 @@
flex-grow: 1;
padding: 3px 5px;
}
.form_bar > .nslide_tool {
flex-grow: 1;
}
.dialog_form_description {
margin-left: auto;
padding-top: 8px;
Expand Down Expand Up @@ -1952,7 +1985,7 @@
cursor: pointer;
border: 2px solid transparent;
display: flex;
justify-content: space-between;
gap: 5px;
}
#edit_history_list ul li.current {
border-color: var(--color-accent);
Expand All @@ -1979,6 +2012,9 @@
#edit_history_list .edit_history_time {
color: var(--color-subtle_text);
}
#edit_history_list > ul > li label {
margin-right: auto;
}
#edit_history_list ul li.selected .edit_history_time {
color: inherit;
}
Expand Down Expand Up @@ -2041,7 +2077,34 @@
background-color: var(--color-accent);
color: var(--color-accent_text);
}

/* Collection properties */
#collection_properties_vue > ul.list {
max-height: 200px;
display: flex;
flex-wrap: wrap;
padding: 6px;
}
#collection_properties_vue > ul > li {
display: flex;
gap: 4px;
align-items: center;
border-radius: 6px;
background-color: var(--color-ui);
height: 27px;
padding: 0 7px;
margin: 2px;
max-width: 165px;
min-width: 149px;
}
#collection_properties_vue > ul > li.selected {
background-color: var(--color-selected);
}
#collection_properties_vue > ul > li > i {
scale: 0.9;
}
#collection_properties_vue > ul > li > i.fa_big {
transform-origin: bottom;
}

/* Custom Brush Options */
dialog#brush_options:not(.preset_selected) div.form_bar,
Expand Down
Loading

0 comments on commit a972764

Please sign in to comment.