Skip to content

Commit

Permalink
Stylelint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Faizal-aelf committed Nov 14, 2023
1 parent 61e4354 commit 729d67d
Show file tree
Hide file tree
Showing 5 changed files with 1,384 additions and 166 deletions.
1 change: 1 addition & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
10 changes: 10 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": [
"stylelint-config-standard"
],
"plugins": [
],
"rules": {
}
}

34 changes: 31 additions & 3 deletions components/App.css
Original file line number Diff line number Diff line change
@@ -1,77 +1,95 @@
html, body {
height: 100%;
}

body {
margin: 0;
padding: 0;
font-size: 14px;
color: #1A1A1A;
font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji';
}

a {
color: #3EABFD
}

.layout-container {
min-height: 100vh;
width: 100%
}

.layout-content {
padding: 20px 20px 0 20px;
padding: 20px 20px 0;
}

.layout-content-center {
display: flex;
justify-content: center;
align-items: center;
}

.container {
width: 1360px;
margin-left: auto;
margin-right: auto;
}

.p0 {
padding: 0
}

.mainnetwork-header {
background: #1d2a51 !important;
}

.mainnetwork-header .header-title {
color: #fff;
}

.testnetwork-header {
background: #ffffff !important;
background: #fff !important;
}

@keyframes spinner-loader {
to {
transform: rotate(360deg);
}
}

/* Style override for select field ant design - starts */
.ant-select .ant-select-selector {
color: #0275F5;
border-color: #0275F5 !important;
border-radius: 6px
}

.ant-select-arrow svg path {
fill: #266CD3
}

.hidden-selected-value .ant-select-selector, .hidden-selected-value .ant-select-arrow svg path {
color: #fff;
fill: #fff;
}

.select-field-icon-wrapper .ant-select-selector {
background: transparent !important;
}

.select-field-icon-wrapper .ant-select-selection-search,
.select-field-icon-wrapper .ant-select-selection-item,
.select-field-icon-wrapper .ant-select-arrow {
opacity: 0;
}

/* Style override for select field ant design - ends */

/* Style override for input number field ant design - starts */
.ant-input-number-input-wrap {
margin-top: 4px;
}

/* Style override for input number field ant design - ends */

/* Style override for table ant design - starts */
Expand All @@ -80,48 +98,58 @@ a {
font-weight: 500 !important;
background: none !important;
}

.ant-table-thead .ant-table-cell::before {
display: none;
}

.ant-table-tbody .ant-table-cell {
font-size: 14px;
font-weight: 300 !important;
}

/* Style override for table ant design - ends */

/* Style override for links ant design - starts */
.ant-btn-link {
color: #3EABFD
}

.ant-btn-primary, .ant-btn-default {
font-weight: 500;
padding: 4px 12px;
font-size: 14px;
height: 40px;
cursor: pointer;
}

/* Style override for links ant design - ends */

/* Style override for message ant design - starts */
.ant-message-notice-content {
padding-left: 12px !important;
padding-right: 12px !important;
}

.ant-message-custom-content {
display: flex;
}

.ant-message-notice-error .ant-message-notice-content {
color: #fff;
background: #FF4D4F !important;
font-weight: 400;
display: flex;
}

.ant-message-notice-success .ant-message-notice-content {
color: #1A1A1A;
background: #FFFFFF !important;
background: #fff !important;
font-weight: 400;
}

.ant-message-notice-content .anticon-close-circle {
display: none;
}

/* Style override for message ant design - ends */
Loading

0 comments on commit 729d67d

Please sign in to comment.