hrms-user/src/style/quasar-variables.sass

117 lines
2.3 KiB
Sass
Raw Normal View History

2023-07-07 16:54:53 +07:00
// FILE (create it): src/quasar-variables.sass
$primary: #02A998
$secondary: #016987
$accent: #9C27B0
// $dark: #1D1D1D
$dark: #35473C
$positive: #21BA45
$negative: #C10015
$info: #31CCEC
$warning: #F2C037
$add: #00aa86
2023-11-08 17:46:41 +07:00
.text-add
color: $add !important
.bg-add
background: $add !important
2023-07-07 16:54:53 +07:00
2023-11-08 17:46:41 +07:00
$edit: #019fc4
.text-edit
color: $edit !important
.bg-edit
background: $edit !important
$public: #016987
.text-public
color: $public !important
.bg-public
background: $public !important
$save: #4154b3
.text-save
color: $save !important
.bg-save
background: $save !important
$nativetab: #c8d3db
.text-nativetab
color: $nativetab !important
.bg-nativetab
background: $nativetab !important
$activetab: #4a5568
.text-activetab
color: $activetab !important
.bg-activetab
background: $activetab !important
2023-07-07 16:54:53 +07:00
.bg-white-btn
background: #ffffff20 !important
2023-11-08 17:46:41 +07:00
.inputgreen .q-field__prefix,
.inputgreen .q-field__suffix,
.inputgreen .q-field__input,
.inputgreen .q-field__native
color: rgb(6, 136, 77)
2023-07-07 16:54:53 +07:00
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100;200;300;400;500;600;700;800;900&display=swap')
$noto-thai: 'Noto Sans Thai', sans-serif
#azay-app,
div
font-family: $noto-thai !important
text-rendering: optimizeLegibility
-webkit-font-smoothing: antialiased
-moz-osx-font-smoothing: grayscale
2023-11-08 17:46:41 +07:00
$separator-color: #EDEDED !default
input.input-alert
color: red !important
.input-alert .q-field--outlined .q-field__control
border: 1px solid red !important
background-color: rgb(255, 216, 216)
.input-alert .q-field--outlined input
color: #f00 !important
.input-alert i.text-primary
color: #f00 !important
2024-05-24 13:52:58 +07:00
.select_ellipsis .q-field__native > span
white-space: nowrap
overflow: hidden
text-overflow: ellipsis
width: 200px
2024-06-11 11:02:41 +07:00
.q-card__actions .q-btn--rectangle
padding: 0 14px !important
.table_ellipsis
max-width: 200px
white-space: nowrap
overflow: hidden
text-overflow: ellipsis
.table_ellipsis:hover
word-wrap: break-word
overflow: visible
white-space: normal
.table_ellipsis2
max-width: 25vw
white-space: nowrap
overflow: hidden
text-overflow: ellipsis
.table_ellipsis2:hover
word-wrap: break-word
overflow: visible
white-space: normal
transition: width 2s