Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 31 additions & 10 deletions frontend/tool-inventory-app/src/app/app.scss
Original file line number Diff line number Diff line change
@@ -1,44 +1,65 @@
.sidenav-container {
height: 100vh;
background: linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
}

.sidenav {
width: 220px;
width: 264px;
display: flex;
flex-direction: column;
border-right: 1px solid #dbe5f5;

mat-toolbar {
min-height: 72px;
font-weight: 600;
letter-spacing: 0.2px;
}
}

.content {
padding: 24px;
padding: 28px;
}

.sidenav :is(a[mat-list-item], .mdc-list-item) {
margin: 4px 8px;
border-radius: 10px;
}

.active-link {
background: rgba(0, 0, 0, 0.08);
background: rgba(21, 101, 192, 0.12);
color: #0d47a1;
font-weight: 600;
}

.sidenav-footer {
margin-top: auto;
padding: 12px 8px;
border-top: 1px solid rgba(0, 0, 0, 0.12);
padding: 14px 10px;
border-top: 1px solid #dbe5f5;
background: #f8fbff;
}

.user-info {
display: flex;
align-items: center;
align-items: flex-start;
gap: 8px;
padding: 8px;
font-size: 14px;
color: #555;
color: #374151;

.user-name {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
white-space: normal;
overflow-wrap: anywhere;
line-height: 1.35;
}
}

.logout-btn {
width: 100%;
justify-content: flex-start;
}

@media (max-width: 1024px) {
.content {
padding: 20px;
}
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,34 @@
.page-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
align-items: flex-start;
gap: 12px;
margin-bottom: 18px;
flex-wrap: wrap;

h1 {
margin: 0;
font-size: 1.625rem;
font-weight: 600;
line-height: 1.2;
color: #0f172a;
}
}

.table-container {
border-radius: 4px;
border-radius: 14px;
border: 1px solid #dbe5f5;
background: #ffffff;
overflow: auto;
box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

table {
width: 100%;
min-width: 980px;
}

.mat-column-actions {
white-space: nowrap;
width: 1%;
}
Original file line number Diff line number Diff line change
@@ -1,15 +1,34 @@
.page-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
align-items: flex-start;
gap: 12px;
margin-bottom: 18px;
flex-wrap: wrap;

h1 {
margin: 0;
font-size: 1.625rem;
font-weight: 600;
line-height: 1.2;
color: #0f172a;
}
}

.table-container {
border-radius: 4px;
border-radius: 14px;
border: 1px solid #dbe5f5;
background: #ffffff;
overflow: auto;
box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

table {
width: 100%;
min-width: 1040px;
}

.mat-column-actions {
white-space: nowrap;
width: 1%;
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
.page-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16px;
align-items: flex-start;
gap: 12px;
margin-bottom: 18px;
flex-wrap: wrap;

h1 {
margin: 0;
font-size: 1.625rem;
font-weight: 600;
line-height: 1.2;
color: #0f172a;
}
}

.header-actions {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;

mat-divider {
height: 32px;
Expand All @@ -25,6 +32,25 @@
}

.table-container {
border-radius: 4px;
border-radius: 14px;
border: 1px solid #dbe5f5;
background: #ffffff;
overflow: auto;
box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

table {
width: 100%;
min-width: 1080px;
}

.mat-column-actions {
white-space: nowrap;
width: 1%;
}

@media (max-width: 1100px) {
.header-actions {
width: 100%;
}
}
29 changes: 29 additions & 0 deletions frontend/tool-inventory-app/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,33 @@ html, body {
body {
margin: 0;
font-family: Roboto, 'Helvetica Neue', sans-serif;
color: #111827;
background: #eef3fb;
}

h1, h2, h3 {
letter-spacing: -0.02em;
}

.mat-mdc-card {
border-radius: 14px;
}

.mat-mdc-table .mat-mdc-cell,
.mat-mdc-table .mat-mdc-header-cell {
white-space: normal;
overflow-wrap: anywhere;
word-break: break-word;
}

.mat-mdc-table .mat-mdc-header-cell {
font-size: 12px;
font-weight: 600;
color: #475569;
text-transform: uppercase;
letter-spacing: 0.04em;
}

.mat-mdc-table .mat-mdc-cell {
color: #1f2937;
}
10 changes: 0 additions & 10 deletions mobile/ToolInventory.MAUI/AppShell.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@
Shell.NavBarIsVisible="True"
FlyoutBehavior="Disabled">

<Shell.Resources>
<ResourceDictionary>
<Style x:Key="BaseStyle" TargetType="Element">
<Setter Property="Shell.BackgroundColor" Value="{AppThemeBinding Light=#6200EE, Dark=#1C1C1E}" />
<Setter Property="Shell.ForegroundColor" Value="White" />
<Setter Property="Shell.TitleColor" Value="White" />
</Style>
</ResourceDictionary>
</Shell.Resources>

<ShellContent Route="login"
FlyoutItemIsVisible="False"
ContentTemplate="{DataTemplate views:LoginPage}" />
Expand Down
43 changes: 26 additions & 17 deletions mobile/ToolInventory.MAUI/Resources/Styles/Colors.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,34 @@

<!-- Note: For Android please see also Platforms\Android\Resources\values\colors.xml -->

<Color x:Key="Primary">#512BD4</Color>
<Color x:Key="PrimaryDark">#ac99ea</Color>
<Color x:Key="PrimaryDarkText">#242424</Color>
<Color x:Key="Secondary">#DFD8F7</Color>
<Color x:Key="SecondaryDarkText">#9880e5</Color>
<Color x:Key="Tertiary">#2B0B98</Color>
<Color x:Key="Primary">#1565C0</Color>
<Color x:Key="PrimaryDark">#0D47A1</Color>
<Color x:Key="PrimaryDarkText">#FFFFFF</Color>
<Color x:Key="Secondary">#DCEBFF</Color>
<Color x:Key="SecondaryDarkText">#1E3A8A</Color>
<Color x:Key="Tertiary">#2E7D32</Color>

<Color x:Key="White">White</Color>
<Color x:Key="Black">Black</Color>
<Color x:Key="Magenta">#D600AA</Color>
<Color x:Key="MidnightBlue">#190649</Color>
<Color x:Key="OffBlack">#1f1f1f</Color>
<Color x:Key="Magenta">#1565C0</Color>
<Color x:Key="MidnightBlue">#0F172A</Color>
<Color x:Key="OffBlack">#0B1220</Color>

<Color x:Key="Gray100">#E1E1E1</Color>
<Color x:Key="Gray200">#C8C8C8</Color>
<Color x:Key="Gray300">#ACACAC</Color>
<Color x:Key="Gray400">#919191</Color>
<Color x:Key="Gray500">#6E6E6E</Color>
<Color x:Key="Gray600">#404040</Color>
<Color x:Key="Gray900">#212121</Color>
<Color x:Key="Gray950">#141414</Color>
<Color x:Key="Gray100">#F1F5F9</Color>
<Color x:Key="Gray200">#E2E8F0</Color>
<Color x:Key="Gray300">#CBD5E1</Color>
<Color x:Key="Gray400">#94A3B8</Color>
<Color x:Key="Gray500">#64748B</Color>
<Color x:Key="Gray600">#475569</Color>
<Color x:Key="Gray900">#1F2937</Color>
<Color x:Key="Gray950">#0F172A</Color>

<Color x:Key="Surface">#FFFFFF</Color>
<Color x:Key="SurfaceAlt">#EEF3FB</Color>
<Color x:Key="BorderColor">#DBE5F5</Color>
<Color x:Key="SuccessColor">#166534</Color>
<Color x:Key="WarningColor">#92400E</Color>
<Color x:Key="DangerColor">#B91C1C</Color>

<SolidColorBrush x:Key="PrimaryBrush" Color="{StaticResource Primary}"/>
<SolidColorBrush x:Key="SecondaryBrush" Color="{StaticResource Secondary}"/>
Expand All @@ -41,4 +48,6 @@
<SolidColorBrush x:Key="Gray600Brush" Color="{StaticResource Gray600}"/>
<SolidColorBrush x:Key="Gray900Brush" Color="{StaticResource Gray900}"/>
<SolidColorBrush x:Key="Gray950Brush" Color="{StaticResource Gray950}"/>
<SolidColorBrush x:Key="SurfaceBrush" Color="{StaticResource Surface}"/>
<SolidColorBrush x:Key="SurfaceAltBrush" Color="{StaticResource SurfaceAlt}"/>
</ResourceDictionary>
Loading
Loading