Skip to content

Commit

Permalink
Updated fileAdmission object with common css style.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsofshiva committed Oct 28, 2024
1 parent dabefe9 commit 9c7c219
Showing 1 changed file with 3 additions and 48 deletions.
51 changes: 3 additions & 48 deletions src/objectTypes/fileAdmissionNotice.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {css, html} from 'lit';
import {BaseObject, BaseFormElement, BaseHitElement, BaseViewElement} from './baseObject';
import {BaseObject, BaseFormElement, BaseHitElement, BaseViewElement, getCommonStyles} from './baseObject';
import * as formElements from './formElements.js';
import {renderFieldWithHighlight} from '../utils';
import * as viewElements from './viewElements.js';
Expand Down Expand Up @@ -66,54 +66,9 @@ class CabinetHitElement extends BaseHitElement {
static get styles() {
// language=css
return css`
${super.styles}
${super.styles}
${getCommonStyles()}
.ais-doc-Hits-header{
border-bottom: 1px solid rgb(34, 33, 32);
margin-bottom: calc(7px + 1vh);
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
padding: 5px;
}
.ais-doc-Hits-header-items{
display: flex;
}
.ais-doc-Hits-content {
display: grid;
grid-template-rows: repeat(3, 1fr);
gap: 10px;
}
.hit-content-item1 {
grid-row: 1/2;
}
.hit-content-item2 {
grid-row: 2/3;
}
.hit-content-item3 {
grid-row: 3/3;
padding-top: 30px;
}
.header-item1 {
grid-column: 1 / 2;
color: #345de2;
}
.header-item2 {
grid-column: 3 / 4;
justify-self: end;
}
.header-item3 {
grid-column: 1 / 2;
}
.header-item4 {
grid-column: 2 / 3;
}
.header-item5 {
grid-column: 3 / 4;
}
`;
}

Expand Down

0 comments on commit 9c7c219

Please sign in to comment.