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

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.62",
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
 
@@ -951,4 +971,31 @@ a.navbar-line-item{
951
971
  }
952
972
  }
953
973
  }
954
- // 暫定:螢幕寬度小於 992px 不可使用 ------------------------------------------
974
+ // 暫定:螢幕寬度小於 992px 不可使用 ------------------------------------------
975
+
976
+
977
+
978
+ // sweet alert ------------------------------------------
979
+ div:where(.swal2-container){
980
+ .swal2-html-container{
981
+ font-size: 1rem !important;
982
+ color: var(--bs-body-color) !important;
983
+ }
984
+ h2:where(.swal2-title){
985
+ font-size: 1.5rem !important;
986
+ color: var(--bs-emphasis-color) !important;
987
+ }
988
+ .swal2-actions{
989
+ flex-direction: row-reverse;
990
+ width: 100%;
991
+ }
992
+ button:where(.swal2-styled){
993
+ margin-left: .5rem !important;
994
+ margin-right: .5rem !important;
995
+ }
996
+
997
+ button:where(.swal2-styled).swal2-cancel{
998
+ background-color: $secondary !important;
999
+ }
1000
+ }
1001
+ // sweet alert ------------------------------------------