Skip to content

Commit

Permalink
Merge branch 'master' into clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Feb 29, 2024
2 parents 14f4c64 + de8662f commit 2485437
Show file tree
Hide file tree
Showing 9 changed files with 1,017 additions and 1,129 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@tailwindcss/forms": "^0.5.3",
"autoprefixer": "^10.4.13",
"axios": "^1.6.7",
"browser-sync": "^2.27.11",
"browser-sync-webpack-plugin": "^2.3.0",
"browser-sync": "^3.0.2",
"browser-sync-v3-webpack-plugin": "^0.1.0",
"clipboard": "^2.0.11",
"laravel-mix": "^6.0.49",
"lodash": "^4.17.21",
Expand Down
16 changes: 8 additions & 8 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
includes:
- phpstan-baseline.neon
- vendor/larastan/larastan/extension.neon
- phpstan-baseline.neon
- vendor/larastan/larastan/extension.neon

parameters:
level: 6
paths:
- app
tmpDir: .tmp/PHPStan
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
level: 6
paths:
- app
tmpDir: .tmp/PHPStan
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
84 changes: 42 additions & 42 deletions resources/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,71 +5,71 @@
@tailwind utilities;

@layer base {
h1 {
@apply text-4xl;
}
h1 {
@apply text-4xl;
}

h2 {
@apply text-3xl;
}
h2 {
@apply text-3xl;
}

h3 {
@apply text-2xl;
}
h3 {
@apply text-2xl;
}

h4 {
@apply text-xl;
}
h4 {
@apply text-xl;
}
}

hr {
@apply !border-uh-border-color;
@apply !border-uh-border-color;
}

/*
* Components
*/

.blade-icon {
display: inline-block;
height: 1em;
overflow: visible;
box-sizing: content-box;
vertical-align: -0.125em;
display: inline-block;
height: 1em;
overflow: visible;
box-sizing: content-box;
vertical-align: -0.125em;
}

.btn {
@apply inline-flex items-center px-3 py-1.5;
@apply bg-uh-bg-2 hover:bg-stone-200 active:bg-uh-bg-2 text-gray-500 hover:text-gray-600 active:text-gray-500;
@apply text-base font-normal leading-6 text-center no-underline align-middle tracking-wide;
@apply rounded disabled:opacity-25;
@apply cursor-pointer select-none;
/* box-shadow: 0px 1.6px 2px rgba(0,0,0,0.13), 0px 0px 2px rgba(0,0,0,0.11) !important;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; */
@apply inline-flex items-center px-3 py-1.5;
@apply bg-uh-bg-2 hover:bg-stone-200 active:bg-uh-bg-2 text-gray-500 hover:text-gray-600 active:text-gray-500;
@apply text-base font-normal leading-6 text-center no-underline align-middle tracking-wide;
@apply rounded disabled:opacity-25;
@apply cursor-pointer select-none;
/* box-shadow: 0px 1.6px 2px rgba(0,0,0,0.13), 0px 0px 2px rgba(0,0,0,0.11) !important;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; */

&-sm {
@apply text-sm leading-6;
@apply px-2 py-1;
}
&-sm {
@apply text-sm leading-6;
@apply px-2 py-1;
}

&-primary {
@apply text-base font-normal text-white bg-green-700 border-green-800;
@apply hover:text-white hover:bg-green-800 active:bg-green-700 hover:border-white;
}
&-primary {
@apply text-base font-normal text-white bg-green-700 border-green-800;
@apply hover:text-white hover:bg-green-800 active:bg-green-700 hover:border-white;
}

&-secondary {
@apply border border-uh-border-color;
@apply text-sky-950 hover:text-sky-700 active:text-sky-950 ;
@apply bg-uh-bg-2 hover:bg-stone-200 active:bg-uh-bg-2 ;
}
&-secondary {
@apply border border-uh-border-color;
@apply text-sky-950 hover:text-sky-700 active:text-sky-950;
@apply bg-uh-bg-2 hover:bg-stone-200 active:bg-uh-bg-2;
}
}

.form-input {
@apply block w-full;
@apply border-uh-border-color focus:ring-uh-blue-2 focus:border-uh-blue-2 rounded
@apply block w-full;
@apply border-uh-border-color focus:ring-uh-blue-2 focus:border-uh-blue-2 rounded;
}

.common-card-style {
@apply bg-white border-y sm:rounded-lg sm:border border-uh-border-color;
/* @apply sm:shadow-[0_1px_2px_#e5e5e8]; */
@apply bg-white border-y sm:rounded-lg sm:border border-uh-border-color;
/* @apply sm:shadow-[0_1px_2px_#e5e5e8]; */
}
92 changes: 46 additions & 46 deletions resources/css/main.css
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
@import 'base.css';

main {
@apply sm:mt-10;
@apply sm:mt-10;
}

.frontend, .backend, .auth {
@apply bg-uh-bg-2 font-sans text-gray-900 antialiased;
@apply bg-uh-bg-2 font-sans text-gray-900 antialiased;
}


.navbar {
@apply bg-uh-bg-1 text-uh-blue;
@apply border-b border-uh-border-color;
@apply bg-uh-bg-1 text-uh-blue;
@apply border-b border-uh-border-color;

&-brand {
@apply font-serif text-4xl font-bold;
@apply flex items-center;
}

&-toggler {
@apply text-uh-blue-2;
}
&-brand {
@apply font-serif text-4xl font-bold;
@apply flex items-center;
}

.nav-item {
@apply text-sm text-gray-700 hover:bg-slate-50 focus:bg-slate-100 leading-5;
@apply block px-4 py-2 focus:outline-none transition;
}
&-toggler {
@apply text-uh-blue-2;
}

&-mobile {
.nav-item {
@apply text-gray-700;
@apply block pl-3 pr-4 py-2 font-medium transition;
@apply text-sm text-gray-700 hover:bg-slate-50 focus:bg-slate-100 leading-5;
@apply block px-4 py-2 focus:outline-none transition;
}

&-username {
@apply font-semibold;
}
&-mobile {
.nav-item {
@apply text-gray-700;
@apply block pl-3 pr-4 py-2 font-medium transition;

&-email {
@apply text-gray-500 font-medium text-sm;
}
&-username {
@apply font-semibold;
}

&-email {
@apply text-gray-500 font-medium text-sm;
}
}
}
}
}


#power-grid-table-base {
table, th, td {
@apply border border-uh-border-color;
}
table, th, td {
@apply border border-uh-border-color;
}

table {
thead {
@apply bg-uh-bg-2;
table {
thead {
@apply bg-uh-bg-2;
}
}
}
}

.power-grid {
.pg-header {
input {
@apply bg-white focus:ring-uh-indigo-400 focus:border-uh-indigo-400;
.pg-header {
input {
@apply bg-white focus:ring-uh-indigo-400 focus:border-uh-indigo-400;
}
}
}

.pg-footer {
select {
@apply bg-white focus:border-gray-300;
}
.pg-footer {
select {
@apply bg-white focus:border-gray-300;
}

nav {
a {
@apply bg-uh-indigo-600 hover:bg-uh-indigo-700 active:bg-uh-indigo-600;
}
nav {
a {
@apply bg-uh-indigo-600 hover:bg-uh-indigo-700 active:bg-uh-indigo-600;
}
}
}
}
}
8 changes: 0 additions & 8 deletions resources/js/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import _ from 'lodash';
import { Livewire } from '../../vendor/livewire/livewire/dist/livewire.esm';
import axios from 'axios';


Expand All @@ -14,13 +13,6 @@ window.axios = axios;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';


/**
* Alpine.js
*/

Livewire.start()


/**
* Echo exposes an expressive API for subscribing to channels and listening
* for events that are broadcast by Laravel. Echo and event broadcasting
Expand Down
4 changes: 2 additions & 2 deletions resources/sass/backend.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
@import url('https://fonts.googleapis.com/css?family=Nunito:200,300,400,600,700,800,900');

body {
font-family: 'Nunito', sans-serif;
background: #f8f9fb;
font-family: 'Nunito', sans-serif;
background: #f8f9fb;
}
88 changes: 44 additions & 44 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
module.exports = {
content: [
"./resources/**/*.blade.php",
"./resources/**/*.js",
"./resources/**/*.vue",
"./app/Livewire/**/*Table.php",
"./vendor/power-components/livewire-powergrid/resources/views/**/*.php",
"./vendor/power-components/livewire-powergrid/src/Themes/Tailwind.php",
],
presets: [
require('./vendor/power-components/livewire-powergrid/tailwind.config.js'),
],
theme: {
extend: {
colors: {
"uh-blue": "#3d5b99",
"uh-blue-2": "#005a9e",
"bg-primary": "#f8fafc",
"uh-bg-1": "#fff",
"uh-bg-2": "#f6f8fa",
"uh-border-color": "#d0d7de",
uh: {
1: "#344767",
"2a": "rgb(63 152 222)",
"2b": "rgb(53 140 208)",
"2c": "rgb(43 128 194)",
indigo: {
50: "rgb(247 246 253)",
100: "rgb(238 238 251)",
200: "rgb(213 212 245)",
300: "rgb(188 185 239)",
400: "rgb(138 133 228)",
500: "rgb(88 81 216)",
600: "rgb(79 73 194)",
700: "rgb(53 49 130)",
800: "rgb(40 36 97)",
900: "rgb(26 24 65)",
},
content: [
"./resources/**/*.blade.php",
"./resources/**/*.js",
"./resources/**/*.vue",
"./app/Livewire/**/*Table.php",
"./vendor/power-components/livewire-powergrid/resources/views/**/*.php",
"./vendor/power-components/livewire-powergrid/src/Themes/Tailwind.php",
],
presets: [
require('./vendor/power-components/livewire-powergrid/tailwind.config.js'),
],
theme: {
extend: {
colors: {
"uh-blue": "#3d5b99",
"uh-blue-2": "#005a9e",
"bg-primary": "#f8fafc",
"uh-bg-1": "#fff",
"uh-bg-2": "#f6f8fa",
"uh-border-color": "#d0d7de",
uh: {
1: "#344767",
"2a": "rgb(63 152 222)",
"2b": "rgb(53 140 208)",
"2c": "rgb(43 128 194)",
indigo: {
50: "rgb(247 246 253)",
100: "rgb(238 238 251)",
200: "rgb(213 212 245)",
300: "rgb(188 185 239)",
400: "rgb(138 133 228)",
500: "rgb(88 81 216)",
600: "rgb(79 73 194)",
700: "rgb(53 49 130)",
800: "rgb(40 36 97)",
900: "rgb(26 24 65)",
},
},
},
},
},
},
},
plugins: [
require("@tailwindcss/forms")({
strategy: "class",
}),
],
plugins: [
require("@tailwindcss/forms")({
strategy: "class",
}),
],
};
Loading

0 comments on commit 2485437

Please sign in to comment.