Browse Source

item sass

pull/11/head
Chris 7 years ago
parent
commit
7c859b629e
  1. 2
      package.json
  2. 10
      public/css/app.css
  3. 4
      public/mix-manifest.json
  4. 6
      resources/assets/sass/_app.scss
  5. 2
      resources/views/item.blade.php

2
package.json

@ -12,7 +12,7 @@
"devDependencies": { "devDependencies": {
"axios": "^0.17", "axios": "^0.17",
"bootstrap-sass": "^3.3.7", "bootstrap-sass": "^3.3.7",
"cross-env": "^5.1", "cross-env": "^5.1.3",
"jquery": "^3.2", "jquery": "^3.2",
"laravel-mix": "^1.0", "laravel-mix": "^1.0",
"lodash": "^4.17.4", "lodash": "^4.17.4",

10
public/css/app.css

@ -433,6 +433,12 @@ body {
-webkit-transition: all .35s ease-in-out; -webkit-transition: all .35s ease-in-out;
transition: all .35s ease-in-out; transition: all .35s ease-in-out;
outline: 1px solid transparent; outline: 1px solid transparent;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
} }
.item:after { .item:after {
@ -642,6 +648,10 @@ div.create .input input {
border-radius: 6px; border-radius: 6px;
} }
.app-icon {
max-width: 50px;
}
/*! Huebee v2.0.0 /*! Huebee v2.0.0
http://huebee.buzz http://huebee.buzz
---------------------------------------------- */ ---------------------------------------------- */

4
public/mix-manifest.json

@ -1,4 +1,4 @@
{ {
"/css/app.css": "/css/app.css?id=54bcdb4cb450b166634d", "/css/app.css": "/css/app.css?id=6ca0518736a7940b1f8a",
"/js/app.js": "/js/app.js?id=86f37c024211b755c39e" "/js/app.js": "/js/app.js?id=04ddfaaf5e66ed51b426"
} }

6
resources/assets/sass/_app.scss

@ -157,6 +157,8 @@ body {
position: relative; position: relative;
transition: all .35s ease-in-out; transition: all .35s ease-in-out;
outline: 1px solid transparent; outline: 1px solid transparent;
display: flex;
align-items: flex-start;
&:after { &:after {
content: ""; content: "";
position: absolute; position: absolute;
@ -325,3 +327,7 @@ div.create {
} }
} }
} }
.app-icon {
max-width: 50px;
}

2
resources/views/item.blade.php

@ -1,7 +1,7 @@
<section class="item-container"> <section class="item-container">
<div class="item" style="background-color: {{ $app->colour }}"> <div class="item" style="background-color: {{ $app->colour }}">
@if($app->icon) @if($app->icon)
<img src="{{ asset('storage/'.$app->icon) }}" /> <img class="app-icon" src="{{ asset('storage/'.$app->icon) }}" />
@else @else
<i class="fas fa-app-store-ios"></i> <i class="fas fa-app-store-ios"></i>
@endif @endif

Loading…
Cancel
Save