docgen-tool 3.6.0 → 3.7.0

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.
@@ -972,72 +972,33 @@ button .icon svg,
972
972
  /*
973
973
  icons
974
974
  */
975
- .w-icon {
976
- width: 25px;
977
- height: 25px;
978
- display: inline-block;
979
- margin: 0;
980
- overflow: hidden;
981
- }
982
-
983
- .w-icon svg {
984
- margin: 0;
985
- fill: rgb(1, 3, 4);
986
- }
987
-
988
- /*table icons*/
989
- .w-table td > .w-icon {
990
- vertical-align: middle;
975
+ .dgIcon.small svg {
976
+ width: 20px;
977
+ height: 20px;
991
978
  }
992
-
993
- /*button icons*/
994
- .w-icon-button {
995
- padding-left: 2px;
979
+ .dgIcon.large svg {
980
+ width: 36px;
981
+ height: 36px;
996
982
  }
997
- .w-icon-button .w-icon {
998
- display: inline-block;
999
- float: left;
1000
- width: 28px;
1001
- height: 28px;
1002
- padding: 0;
1003
- margin: 0;
983
+ .dgIcon.success svg {
984
+ color: #3c8039;
1004
985
  }
1005
- .w-icon-button .w-icon > svg {
1006
- fill: #444;
986
+ .dgIcon.warning svg {
987
+ color: #987924;
1007
988
  }
1008
- .w-icon-button span:nth-child(2) {
1009
- display: inline-block;
1010
- padding: 4px 0 0 2px;
989
+ .dgIcon.error svg {
990
+ color: #922429;
1011
991
  }
1012
- .w-icon-button.w-large {
1013
- padding-left: 8px;
992
+ .dgIcon.info svg {
993
+ color: #296995;
1014
994
  }
1015
995
 
1016
- /*message icons*/
1017
- .w-message > .w-icon {
1018
- width: 21px;
1019
- height: 21px;
1020
- float: left;
1021
- margin-right: 5px;
1022
- }
1023
-
1024
- .w-success > .w-icon svg {
1025
- fill: #218900;
1026
- }
1027
-
1028
- .w-warning > .w-icon svg {
1029
- fill: #8a6b00;
1030
- }
1031
-
1032
- .w-error > .w-icon svg {
1033
- fill: #b30000;
1034
- }
1035
-
1036
- .w-information > .w-icon svg {
1037
- fill: #0e3d9a;
996
+ /*table icons*/
997
+ .w-table td > .dgIcon {
998
+ vertical-align: middle;
1038
999
  }
1039
1000
 
1040
- td.center {
1001
+ .w-table td.center {
1041
1002
  display: table-cell;
1042
1003
  }
1043
1004
 
@@ -1208,14 +1169,17 @@ section li p {
1208
1169
  font-size: 16px;
1209
1170
  }
1210
1171
 
1211
- .dg-tocIcon {
1172
+ .dgWebTocAttribution li {
1173
+ display: flex;
1174
+ align-items: center;
1175
+ }
1176
+ .dgWebTocAttribution .dgIcon {
1212
1177
  width: 18px;
1213
1178
  height: 18px;
1214
- float: left;
1215
1179
  }
1216
-
1217
- .dg-tocIcon svg {
1218
- fill: white;
1180
+ .dgWebTocAttribution .dgIcon svg {
1181
+ width: 18px;
1182
+ height: 18px;
1219
1183
  }
1220
1184
 
1221
1185
  /*
@@ -5410,10 +5410,10 @@
5410
5410
  */
5411
5411
 
5412
5412
  function svgInject() {
5413
- this.inject = function (container) {
5413
+ this.inject = (container) => {
5414
5414
  container = typeof container !== 'undefined' ? container : ''; //default value
5415
- $(container + ' .w-icon').each(function () {
5416
- var name = $(this).data('name');
5415
+ $(container + ' .dgIcon').each(function () {
5416
+ const name = $(this).data('name');
5417
5417
  $(this).html(w_icons[name]);
5418
5418
  });
5419
5419
  };