diff --git a/resources/assets/js/components/bash/cli-bckp.vue b/resources/assets/js/components/bash/cli-bckp.vue new file mode 100644 index 0000000..446d338 --- /dev/null +++ b/resources/assets/js/components/bash/cli-bckp.vue @@ -0,0 +1,238 @@ + + + + + \ No newline at end of file diff --git a/resources/assets/js/components/bash/cli-old.vue b/resources/assets/js/components/bash/cli-old.vue new file mode 100644 index 0000000..bd585d8 --- /dev/null +++ b/resources/assets/js/components/bash/cli-old.vue @@ -0,0 +1,128 @@ + + + + + diff --git a/resources/assets/js/components/bash/cli.vue b/resources/assets/js/components/bash/cli.vue index bd585d8..26fa209 100644 --- a/resources/assets/js/components/bash/cli.vue +++ b/resources/assets/js/components/bash/cli.vue @@ -1,128 +1,179 @@ + + #draggerheader { + cursor: move; + z-index: 10; + } + + .konsole { + width: 600px; + height: 300px; + margin: auto; + color: #fcfcfc; + } + + .konsole_top_left { + height: 30px; + width: 30px; + background: url('/assets/img/bash/top_left.png') no-repeat; + position: absolute; + top: 0; + left: 0; + } + + .konsole_top { + height: 30px; + background: url('/assets/img/bash/top_bg.png') repeat-x; + position: absolute; + top: 0; + left: 30px; + width: 496px; + padding-top: 7px; + padding-right: 30px; + text-align: center; + font-weight: bold; + } + + .konsole_top_right { + height: 30px; + width: 28px; + background: url('/assets/img/bash/top_right.png') no-repeat; + position: absolute; + top: 0; + right: 0; + } + + .konsole_top_right:hover { + background: url('/assets/img/bash/top_right_hover.png') no-repeat; + cursor: default; + } + + .konsole_top_max { + height: 30px; + width: 23px; + background: url('/assets/img/bash/top_max.png') no-repeat; + position: absolute; + top: 0; + right: 28px; + } + + .konsole_top_max:hover { + background: url('/assets/img/bash/top_max_hover.png') no-repeat; + cursor: default; + } + + .konsole_top_min { + height: 30px; + width: 23px; + background: url('/assets/img/bash/top_min.png') no-repeat; + position: absolute; + top: 0; + right: 51px; + } + + .konsole_top_min:hover { + background: url('/assets/img/bash/top_min_hover.png') no-repeat; + cursor: default; + } + + .konsole_left { + width: 2px; + background: url('/assets/img/bash/left_bg.png') repeat-y; + position: absolute; + top: 30px; + left: 0; + height: 267px; + } + + .konsoleuser { background: url('/assets/img/bash/user_bg.png') repeat; } + .konsoleroot { background: url('/assets/img/bash/root_bg.png') repeat; } + + .konsoleuser, .konsoleroot { + background-size: cover; + backdrop-filter: blur(17px); + font-family: "Lucida Console", Monospace, "DejaVu Sans Mono", "Courier New", MiscFixed; + font-size: 12px; + color: #fcfcfc; + overflow: auto; + position: absolute; + top: 30px; + left: 2px; + height: 268px; + width: 596px; + padding: 5px; + } + + .konsole_right { + width: 2px; + background: url('/assets/img/bash/right_bg.png') repeat-y; + position: absolute; + height: 267px; + top: 30px; + right: 0; + } + + .konsole_bottom_left { + width: 3px; + height: 3px; + background: url('/assets/img/bash/bottom_left.png') no-repeat; + position: absolute; + bottom: 0; + left: 0; + } + + .konsole_bottom { + height: 2px; + background: url('/assets/img/bash/bottom_bg.png') repeat-x; + position: absolute; + bottom: 0; + left: 2px; + width: 595px; + } + + .konsole_bottom_right { + height: 3px; + width: 3px; + background: url('/assets/img/bash/bottom_right.png') no-repeat; + position: absolute; + right: 0; + bottom: 0; + } + \ No newline at end of file diff --git a/resources/assets/sass/app.scss b/resources/assets/sass/app.scss index cfc20ca..098bb37 100644 --- a/resources/assets/sass/app.scss +++ b/resources/assets/sass/app.scss @@ -43,6 +43,152 @@ right: 16px; } + #dragger { + position: absolute; + z-index: 9; + } + + #draggerheader { + cursor: move; + z-index: 10; + } + + .konsole { + display: none; + width: 600px; + height: 358px; + margin: auto; + color: #fcfcfc; + } + + .konsole_top_left { + height: 30px; + width: 30px; + background: url('/assets/img/bash/top_left.png') no-repeat; + position: absolute; + top: 0; + left: 0; + } + + .konsole_top { + height: 30px; + background: url('/assets/img/bash/top_bg.png') repeat-x; + position: absolute; + top: 0; + left: 30px; + width: 496px; + padding-top: 7px; + padding-right: 30px; + text-align: center; + font-weight: bold; + cursor: move; + } + + .konsole_top_right { + height: 30px; + width: 28px; + background: url('/assets/img/bash/top_right.png') no-repeat; + position: absolute; + top: 0; + right: 0; + } + + .konsole_top_right:hover { + background: url('/assets/img/bash/top_right_hover.png') no-repeat; + cursor: default; + } + + .konsole_top_max { + height: 30px; + width: 23px; + background: url('/assets/img/bash/top_max.png') no-repeat; + position: absolute; + top: 0; + right: 28px; + } + + .konsole_top_max:hover { + background: url('/assets/img/bash/top_max_hover.png') no-repeat; + cursor: default; + } + + .konsole_top_min { + height: 30px; + width: 23px; + background: url('/assets/img/bash/top_min.png') no-repeat; + position: absolute; + top: 0; + right: 51px; + } + + .konsole_top_min:hover { + background: url('/assets/img/bash/top_min_hover.png') no-repeat; + cursor: default; + } + + .konsole_left { + width: 2px; + background: url('/assets/img/bash/left_bg.png') repeat-y; + position: absolute; + top: 30px; + left: 0; + height: 325px; + } + + .konsoleuser { background: url('/assets/img/bash/user_bg.png') repeat; } + .konsoleroot { background: url('/assets/img/bash/root_bg.png') repeat; } + + .konsoleuser, .konsoleroot { + background-size: cover; + backdrop-filter: blur(17px); + font-family: "Lucida Console", Monospace, "DejaVu Sans Mono", "Courier New", MiscFixed; + font-size: 12px; + color: #fcfcfc; + overflow: auto; + position: absolute; + top: 30px; + left: 2px; + height: 326px; + width: 596px; + padding: 5px; + } + + .konsole_right { + width: 2px; + background: url('/assets/img/bash/right_bg.png') repeat-y; + position: absolute; + height: 325px; + top: 30px; + right: 0; + } + + .konsole_bottom_left { + width: 3px; + height: 3px; + background: url('/assets/img/bash/bottom_left.png') no-repeat; + position: absolute; + bottom: 0; + left: 0; + } + + .konsole_bottom { + height: 2px; + background: url('/assets/img/bash/bottom_bg.png') repeat-x; + position: absolute; + bottom: 0; + left: 2px; + width: 595px; + } + + .konsole_bottom_right { + height: 3px; + width: 3px; + background: url('/assets/img/bash/bottom_right.png') no-repeat; + position: absolute; + right: 0; + bottom: 0; + } + /// Stroke font-character /// @param {Integer} $stroke - Stroke width /// @param {Color} $color - Stroke color diff --git a/resources/views/layouts/bash.blade.php b/resources/views/layouts/bash.blade.php index 38f578d..d272472 100644 --- a/resources/views/layouts/bash.blade.php +++ b/resources/views/layouts/bash.blade.php @@ -28,7 +28,7 @@ .konsole { width: 600px; - height: 300px; + height: 358px; margin: auto; color: #fcfcfc; } @@ -103,7 +103,7 @@ position: absolute; top: 30px; left: 0; - height: 267px; + height: 325px; } .konsoleuser { background: url('/assets/img/bash/user_bg.png') repeat; } @@ -120,7 +120,7 @@ position: absolute; top: 30px; left: 2px; - height: 258px; + height: 316px; width: 586px; padding: 5px; } @@ -129,7 +129,7 @@ width: 2px; background: url('/assets/img/bash/right_bg.png') repeat-y; position: absolute; - height: 267px; + height: 325px; top: 30px; right: 0; } @@ -211,6 +211,18 @@ document.onmousemove = null; } } + + function showdiv (id) { + if (showdiv.div) showdiv.div.style.display = 'none'; + showdiv.div = document.getElementById(id); + showdiv.div.style.display = 'block'; + } + + function hidediv (id) { + if (showdiv.div) showdiv.div.style.display = 'block'; + showdiv.div = document.getElementById(id); + showdiv.div.style.display = 'none'; + } diff --git a/resources/views/layouts/site.blade.php b/resources/views/layouts/site.blade.php index 48bfdf6..ecbc0ed 100644 --- a/resources/views/layouts/site.blade.php +++ b/resources/views/layouts/site.blade.php @@ -88,6 +88,31 @@ +
+
+
+ +
+
+
+
+
ロリ端末
+
+
+
+
+
+
+ ロリコマンドラインですね〜♡
+ shiken@technicalsuwako.jp:/$ +
+
+
+
+
+
+
+