File: primary-submit-btn-duplicate.less

package info (click to toggle)
icinga-php-library 0.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,148 kB
  • sloc: php: 49,799; javascript: 9,301; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
  Automatically set CSS class for duplicated submit buttons
  used for implicit form submission that should be invisible
  and not take up any space. `display: none` is not an option,
  because at least Safari will then ignore the element completely
  when submitting a form.
 */
.primary-submit-btn-duplicate {
  border: 0;
  height: 0;
  margin: 0;
  padding: 0;
  visibility: hidden;
  width: 0;
  position: absolute;
}