Skip to content

Commit

Permalink
feat: Feat/cloudscape nuxt theme (#240)
Browse files Browse the repository at this point in the history
* feat: Add Haiku and Deepseek model support (#212)

* feat:added mitt and few styles and components (#218)

* added mitt and few styles and components

* enabled comments in project types

* added new components

* added new components

* Feature/header card UI (#223)

* chore: updated instance type for qwen 1.5B and qwen7B (#217)

Co-authored-by: nanda.teja1 <[email protected]>

* chore/update deepseek instance (#219)

* breadcumb moved below card and header card added

---------

Co-authored-by: nandateja <[email protected]>
Co-authored-by: nanda.teja1 <[email protected]>

* Dropdown header changes (#229)

* chore: updated instance type for qwen 1.5B and qwen7B (#217)

Co-authored-by: nanda.teja1 <[email protected]>

* chore/update deepseek instance (#219)

* dropdown changes, header changes done

* options border added

* margins adjusted

---------

Co-authored-by: nandateja <[email protected]>
Co-authored-by: nanda.teja1 <[email protected]>

* Tabs theme changes (#230)

* chore: updated instance type for qwen 1.5B and qwen7B (#217)

Co-authored-by: nanda.teja1 <[email protected]>

* chore/update deepseek instance (#219)

* tabs css changed to look like cloudscape tabs

---------

Co-authored-by: nandateja <[email protected]>
Co-authored-by: nanda.teja1 <[email protected]>

* Loader checkbox theme changes (#231)

* chore: updated instance type for qwen 1.5B and qwen7B (#217)

Co-authored-by: nanda.teja1 <[email protected]>

* chore/update deepseek instance (#219)

* loader and check box theme changes done

---------

Co-authored-by: nandateja <[email protected]>
Co-authored-by: nanda.teja1 <[email protected]>

* chore: info text and buttons (#233)

* added info adjustments and html render along with buttons placement

* added tooltip text-html formatting

* added few changes

* added few ui changes (#236)

* Table height adjustments UI (#237)

* chore: updated instance type for qwen 1.5B and qwen7B (#217)

Co-authored-by: nanda.teja1 <[email protected]>

* chore/update deepseek instance (#219)

* table height and cell width fixed

---------

Co-authored-by: nandateja <[email protected]>
Co-authored-by: nanda.teja1 <[email protected]>

---------

Co-authored-by: Kiran_George <[email protected]>
Co-authored-by: abdul-fission <[email protected]>
Co-authored-by: nandateja <[email protected]>
Co-authored-by: nanda.teja1 <[email protected]>
  • Loading branch information
5 people authored Feb 13, 2025
1 parent cd7dd58 commit 9571f9d
Show file tree
Hide file tree
Showing 38 changed files with 1,371 additions and 573 deletions.
47 changes: 46 additions & 1 deletion ui/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default defineAppConfig({
ui: {
colors: {
primary: "orange",
// primary: "orange",
},
form: {
base: "space-y-3",
Expand All @@ -20,6 +20,13 @@ export default defineAppConfig({
// @ts-expect-error type inference
size: "xl",
},
slots : {
group: 'p-1 isolate-custom',
item : [
'custom-options-group w-full'
],
input: 'h-6',
}
},
inputNumber: {
slots: {
Expand All @@ -30,6 +37,44 @@ export default defineAppConfig({
slots: {
td: "!whitespace-normal",
},
compoundVariants : [
{
loading: true,
loadingColor: 'primary',
class: {
thead: 'after:bg-blue-300 '
}
},
]
},
tabs: {
slots : {
root : "gap-2",
list: "custom-tab-list-group",
indicator : "h-10px custom-tab-indicator",
trigger : ['custom-tabs-trigger'],
content : "focus-outline"
}
},
checkbox : {
slots : {
base : "",
},

compoundVariants : [
{
color: 'primary',
checked: true,
class: 'secondery-color '
},
]


},
card : {
slots : {
root : 'rounded-[16px]'
}
}
},
});
265 changes: 256 additions & 9 deletions ui/app/assets/css/main.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,43 @@
@import url('https://fonts.cdnfonts.com/css/amazon-ember');

@import "tailwindcss";
@import "@nuxt/ui";


* {
font-family: 'Amazon Ember', open-sans;
}

:root {
--ui-primary: #000000;
}

/* Table Styles */
table {
@apply w-full border-collapse;
}

th {
@apply bg-gray-100 text-left p-4 font-medium text-gray-700;
@apply bg-transparent text-left p-4;
border-block-end-color: rgb(198, 198, 205);
border-block-end-style: solid;
border-block-end-width: 1px;
color: rgb(66, 70, 80);
padding-block-end: 4px;
padding-block-start: 4px;
padding-inline-end: 8px;
padding-inline-start: 2px;
font-size: 14px;
}

td {
@apply p-4 text-gray-600;
@apply text-gray-600;
padding: 9px 19px 10px 1px;
}

tr:nth-child(even) {
/* tr:nth-child(even) {
@apply bg-gray-50;
}
} */

/* Status Colors */
.completed {
Expand Down Expand Up @@ -53,10 +74,33 @@ tr:nth-child(even) {
vertical-align: top !important;
}

.experiment-details-tabs div button {
color: #474545;
font-weight: bold;
}

.experiment-details-tabs div button[data-state]:not([data-state='active']) {
border : 1px solid lightgray;
border-radius: 0px;
border-right: 1px solid rgb(144, 150, 144);
margin-bottom: 10px;
cursor: pointer;
}
.experiment-details-tabs div button[data-state]:not([data-state='active']):hover {
color: var(--aws-secondary-color);
}
.experiment-details-tabs div button[data-state='active'] {
cursor: pointer;
color: var(--aws-secondary-color);
margin-bottom: 10px;
cursor: pointer;
margin:2px;

}
.experiment-details-tabs div button:last-child {
border: none;
}

.experiment-details-tabs div button[data-state]:not([data-state='active']):last-child {
border-right: none;
}


Expand All @@ -65,7 +109,210 @@ div.divide-y.divide-\[var\(--ui-border\)\].scroll-py-1 div[role='group'] {
overflow-y:scroll;
}

div.divide-y.divide-\[var\(--ui-border\)\].scroll-py-1 div[role='group'] {
max-height: 165px;
overflow-y:scroll;

@theme {
--font-family: 'Amazon Ember', sans-serif;
--aws-primary-color: #ff9900;
--aws-secondary-color: #006ce0;
--aws-tertiary-color: #000000;

--aws-primary-hover-color: #ec7211;
--aws-secondary-hover-color: #f0fbff;
--aws-secondary-hover-font-color: #002b66;


--aws-font-grey-color: #0f141a;
--aws-font-blue-color: #396ee0;
--aws-info-alert-color: #f9f9fa;

--aws-navbar-bg-color: #161d26;

--aws-info-tooltip-color: #002b66;

--aws-success-color: #00802f;
--aws-pending-color: #006ce0;
--aws-error-color: #db0000;
--aws-not-started-color: #656871;
}

.primary-color {
color: var(--aws-primary-color);
}

.secondary-color {
color: var(--aws-secondary-color);
}

.primary-btn {
background-color: var(--aws-primary-color);
color: var(--aws-font-grey-color);
border-radius: 0.25rem;
border-color: var(--aws-primary-color);
border-end-start-radius: 20px;
border-end-end-radius: 20px;
border-start-start-radius: 20px;
border-start-end-radius: 20px;
font-weight: 700;
font-size: 14px;
line-height: 22px;
}

.primary-btn:hover {
background-color: var(--aws-primary-hover-color);
}

.secondary-btn {
background-color: transparent;
color: var(--aws-font-blue-color);
border-radius: 0.25rem;
border-color: var(--aws-secondary-color);
border-width: 2px;
border-end-start-radius: 20px;
border-end-end-radius: 20px;
border-start-start-radius: 20px;
border-start-end-radius: 20px;
font-weight: 700;
font-size: 14px;
line-height: 22px;

}

.secondary-btn:hover {
background-color: var(--aws-secondary-hover-color);
color: var(--aws-secondary-hover-font-color);
border-color: var(--aws-secondary-hover-font-color);
}

.navbar {
background-color: var(--aws-navbar-bg-color);
}

.info-tooltip {
cursor: pointer;
font-size: 12px;
font-weight: 700;
line-height: 16px;
color: var(--aws-secondary-color);
}

.info-tooltip:hover {
color: var(--aws-info-tooltip-color);

}

.tooltip-title {
font-size: 18px;
color: rgb(15, 20, 26);
font-weight: 700;
line-height: 24px;
margin-left: 36px;
}

.tooltip-description {
font-size: 14px;
color: rgb(66, 70, 80);
line-height: 20px;
margin-left: 36px;
}

.info-alert {
background-color: var(--aws-secondary-color);
color: var(--aws-info-alert-color);
border-radius: 12px;
}

.info-error {
background-color: var(--aws-error-color);
color: var(--aws-info-alert-color);
border-radius: 12px;
}

.external-link {
color: var(--aws-secondary-color);
text-decoration: underline;
}

.external-link:hover {
color: var(--aws-secondary-hover-font-color);
}

.primary-modal-with-header > div:first-of-type {
border-bottom: unset;
}

.secondary-breadcrumb a{
color: var(--aws-secondary-color);
text-decoration: underline;
font-size: 14px;
line-height: 20px;
}

.secondary-breadcrumb a.cursor-not-allowed {
color: var(--aws-font-grey-color);
text-decoration: none;
}

.not-started-badge {
color: var(--aws-not-started-color);
}

.pending-badge {
color: var(--aws-pending-color);
}

.success-badge {
color: var(--aws-success-color);
}

.error-badge {
color: var(--aws-error-color);
}
input, .primary-dropdown {
height: 32px !important;
border-radius: 8px !important;
}

.custom-options-group {

border-bottom: 1px solid lightgray;
margin-bottom: 0px !important;
padding: 2px;

}

.custom-options-group:last-child {
border-bottom: none;
}

.custom-options-group:hover {
border-radius: 6px !important;
outline-style: solid;
outline-color: lightgrey;
outline-width: 2px;
border: none;
}

.custom-tab-list-group {
border-bottom:2px solid lightgray;
border-color : lightgray;
}
.custom-tab-list-group .custom-tabs-trigger{
border-radius: 0px;
border-right: 1px solid rgb(144, 150, 144);

margin-bottom: 10px;
}

.custom-tab-list-group .custom-tab-indicator {
height: 5px !important;
background-color: var(--aws-secondary-color);
}

.secondery-color {
background-color: var(--aws-secondary-color) !important;
border-color: var(--aws-secondary-color) !important;
}

.github-link {
height: 32px !important;
}
3 changes: 1 addition & 2 deletions ui/app/components/Breadcumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const breadcrumbItems = computed((): BreadcrumbItem[] => {
const items: BreadcrumbItem[] = [
{
label: "Home",
icon: "i-heroicons-home",
to: "/",
},
];
Expand Down Expand Up @@ -76,6 +75,6 @@ const breadcrumbItems = computed((): BreadcrumbItem[] => {
<UBreadcrumb
v-if="breadcrumbItems.length > 0"
:items="breadcrumbItems"
class="py-4"
class="py-4 secondary-breadcrumb ml-1"
/>
</template>
1 change: 1 addition & 0 deletions ui/app/components/DownloadResultsButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ const downloadResults = () => {
:label="buttonLabel"
icon="i-lucide-download"
@click="downloadResults"
class="primary-btn"
/>
</template>
Loading

0 comments on commit 9571f9d

Please sign in to comment.