_list.less 448 B

123456789101112131415161718
  1. // icons in a list
  2. // -------------------------
  3. .@{fa-css-prefix}-ul {
  4. list-style-type: none;
  5. margin-left: ~'var(--@{fa-css-prefix}-li-margin, @{fa-li-margin})';
  6. padding-left: 0;
  7. > li { position: relative; }
  8. }
  9. .@{fa-css-prefix}-li {
  10. left: calc(~'var(--@{fa-css-prefix}-li-width, @{fa-li-width})' * -1);
  11. position: absolute;
  12. text-align: center;
  13. width: ~'var(--@{fa-css-prefix}-li-width, @{fa-li-width})';
  14. line-height: inherit;
  15. }