Skip to content

Commit

Permalink
Merge pull request #79 from ThornWalli/feature/update
Browse files Browse the repository at this point in the history
feat(update): update screen; add no-disk
  • Loading branch information
ThornWalli authored May 10, 2020
2 parents df8f702 + 585f6df commit b30aabb
Show file tree
Hide file tree
Showing 17 changed files with 728 additions and 259 deletions.
12 changes: 12 additions & 0 deletions src/assets/css/base.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,15 @@ textarea {
font: inherit;
color: inherit;
}



fieldset {
padding: var(--default-element-margin) calc(var(--default-element-margin) * 2);
border: solid var(--color__form__fieldsetBorder) 2px;

& legend {
padding: 0 calc(var(--default-element-margin) * 2);
line-height: 1;
}
}
191 changes: 75 additions & 116 deletions src/assets/svg/no_disk.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/svg/screen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 39 additions & 4 deletions src/components/disks/debug/Tests.vue
Original file line number Diff line number Diff line change
@@ -1,21 +1,32 @@
<template>
<div class="wb-disks-debug-tests">
<wb-button-wrapper>
<wb-button label="toggle theme-color" @click="onClickToggleThemeColor" />
</wb-button-wrapper>
<div class="splitter">
<div>
<div class="slider">
<wb-radial-slider />
</div>
</div>
<div>
<wb-button-wrapper>
<wb-button label="toggle theme-color" @click="onClickToggleThemeColor" />
</wb-button-wrapper>
</div>
</div>
</div>
</template>

<script>
import WbRadialSlider from '@/components/environments/atoms/RadialSlider';
import WbButton from '@/components/environments/atoms/Button';
import WbButtonWrapper from '@/components/environments/molecules/ButtonWrapper';
import MixinWindowComponent from '@/components/mixins/WindowComponent';
export default {
components: {
WbButton,
WbButtonWrapper
WbButtonWrapper,
WbRadialSlider
},
mixins: [
Expand All @@ -42,6 +53,30 @@ export default {
<style lang="postcss">
.wb-disks-debug-tests {
min-width: 380px;
height: 100%;
& .slider {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
& > * {
width: 120px;
height: 120px;
}
}
& .splitter {
display: flex;
height: 100%;
& > div {
position: relative;
flex: 1;
height: 100%;
}
}
}
</style>
4 changes: 0 additions & 4 deletions src/components/disks/extras13/webPainting/Display.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,6 @@ export default {
& .display__canvas {
width: 100%;
height: 100%;
/* cursor: '~assets/img/cursor/crosshair-brush.png' 11 11, auto !important; */
cursor: none;
user-select: none;
background: var(--display-foreground);
Expand All @@ -141,7 +138,6 @@ export default {
bottom: 0;
padding: 2px;
text-align: right;
mix-blend-mode: difference;
}
}
</style>
Loading

0 comments on commit b30aabb

Please sign in to comment.