jobdone-shared-files 0.0.1-beta.61 → 0.0.1-beta.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jobdone-shared-files",
3
- "version": "0.0.1-beta.61",
3
+ "version": "0.0.1-beta.63",
4
4
  "description": "Shared JS and SCSS for Jobdone Enterprise.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -109,6 +109,14 @@ a{
109
109
  }
110
110
  }
111
111
 
112
+ .text-pre-wrap{
113
+ white-space: pre-wrap;
114
+ }
115
+
116
+ .fs-min{
117
+ font-size: 12px;
118
+ }
119
+
112
120
  .text-overflow{
113
121
  @include text-overflow();
114
122
  }
@@ -128,6 +136,18 @@ a{
128
136
  // text / link ------------------------------------------
129
137
 
130
138
 
139
+ // border ------------------------------------------
140
+ .hover-border{
141
+ transition: $transition-base;
142
+ &:hover{
143
+ box-shadow: $focus-ring-box-shadow;
144
+ }
145
+ }
146
+ .active-border{
147
+ box-shadow: $focus-ring-box-shadow;
148
+ }
149
+ // border ------------------------------------------
150
+
131
151
 
132
152
  // badge outline ------------------------------------------
133
153
 
@@ -867,8 +887,9 @@ a.navbar-line-item{
867
887
 
868
888
 
869
889
  .navbar[data-bs-theme="dark"]{
890
+ --dark-theme-primary: #bec9ff;
870
891
  .navbar-line-item.dropdown:not(.active) .dropdown-link{
871
- color: lighten($primary, 15%);
892
+ color: var(--dark-theme-primary);
872
893
  }
873
894
  .navbar-nav .show > .nav-link, .navbar-nav .nav-link.active{
874
895
  &, a{
@@ -876,7 +897,7 @@ a.navbar-line-item{
876
897
  }
877
898
  }
878
899
  .navbar-line-item:before{
879
- border-bottom-color: lighten($primary, 15%);
900
+ border-bottom-color: var(--dark-theme-primary);
880
901
  }
881
902
  .navbar-line-item.dropdown:not(.active) .dropdown-link,
882
903
  .navbar-line-item:before{
@@ -951,4 +972,31 @@ a.navbar-line-item{
951
972
  }
952
973
  }
953
974
  }
954
- // 暫定:螢幕寬度小於 992px 不可使用 ------------------------------------------
975
+ // 暫定:螢幕寬度小於 992px 不可使用 ------------------------------------------
976
+
977
+
978
+
979
+ // sweet alert ------------------------------------------
980
+ div:where(.swal2-container){
981
+ .swal2-html-container{
982
+ font-size: 1rem !important;
983
+ color: var(--bs-body-color) !important;
984
+ }
985
+ h2:where(.swal2-title){
986
+ font-size: 1.5rem !important;
987
+ color: var(--bs-emphasis-color) !important;
988
+ }
989
+ .swal2-actions{
990
+ flex-direction: row-reverse;
991
+ width: 100%;
992
+ }
993
+ button:where(.swal2-styled){
994
+ margin-left: .5rem !important;
995
+ margin-right: .5rem !important;
996
+ }
997
+
998
+ button:where(.swal2-styled).swal2-cancel{
999
+ background-color: $secondary !important;
1000
+ }
1001
+ }
1002
+ // sweet alert ------------------------------------------