Browse Source

form required icon fixed

master
rdrew 1 year ago
parent
commit
adafbed266
  1. 2
      css/sass/components/_dialog.scss
  2. 28
      css/sass/components/_file.scss
  3. 4
      css/sass/components/_form.scss
  4. 4
      css/sass/components/_icons.scss
  5. 6
      css/sass/components/_menu.scss
  6. 6
      css/sass/components/_messages.scss

2
css/sass/components/_dialog.scss

@ -62,7 +62,7 @@
opacity: 0.9;
border-radius: 7px;
background-color: #232323;
background-image: url(../../images/icons/loading-small.gif);
background-image: url(../images/icons/loading-small.gif);
background-repeat: no-repeat;
background-position: center center;
}

28
css/sass/components/_file.scss

@ -19,44 +19,44 @@
}
.file--general,
.file--application-octet-stream {
background-image: url(../../images/icons/application-octet-stream.png);
background-image: url(../images/icons/application-octet-stream.png);
}
.file--package-x-generic {
background-image: url(../../images/icons/package-x-generic.png);
background-image: url(../images/icons/package-x-generic.png);
}
.file--x-office-spreadsheet {
background-image: url(../../images/icons/x-office-spreadsheet.png);
background-image: url(../images/icons/x-office-spreadsheet.png);
}
.file--x-office-document {
background-image: url(../../images/icons/x-office-document.png);
background-image: url(../images/icons/x-office-document.png);
}
.file--x-office-presentation {
background-image: url(../../images/icons/x-office-presentation.png);
background-image: url(../images/icons/x-office-presentation.png);
}
.file--text-x-script {
background-image: url(../../images/icons/text-x-script.png);
background-image: url(../images/icons/text-x-script.png);
}
.file--text-html {
background-image: url(../../images/icons/text-html.png);
background-image: url(../images/icons/text-html.png);
}
.file--text-plain {
background-image: url(../../images/icons/text-plain.png);
background-image: url(../images/icons/text-plain.png);
}
.file--application-pdf {
background-image: url(../../images/icons/application-pdf.png);
background-image: url(../images/icons/application-pdf.png);
}
.file--application-x-executable {
background-image: url(../../images/icons/application-x-executable.png);
background-image: url(../images/icons/application-x-executable.png);
}
.file--audio {
background-image: url(../../images/icons/audio-x-generic.png);
background-image: url(../images/icons/audio-x-generic.png);
}
.file--video {
background-image: url(../../images/icons/video-x-generic.png);
background-image: url(../images/icons/video-x-generic.png);
}
.file--text {
background-image: url(../../images/icons/text-x-generic.png);
background-image: url(../images/icons/text-x-generic.png);
}
.file--image {
background-image: url(../../images/icons/image-x-generic.png);
background-image: url(../images/icons/image-x-generic.png);
}

4
css/sass/components/_form.scss

@ -78,7 +78,7 @@ label.option {
content: "";
vertical-align: super;
/* Use a background image to prevent screen readers from announcing the text. */
background-image: url(../../images/icons/required.svg);
background-image: url(../images/icons/required.svg);
background-repeat: no-repeat;
background-size: 6px 6px;
}
@ -99,6 +99,6 @@ abbr.ajax-changed {
height: 14px;
content: "";
vertical-align: sub;
background: url(../../images/icons/error.svg) no-repeat;
background: url(../images/icons/error.svg) no-repeat;
background-size: contain;
}

4
css/sass/components/_icons.scss

@ -5,7 +5,7 @@
.icon-help {
padding: 1px 0 1px 20px; /* LTR */
background: url(../../images/icons/help.png) 0 50% no-repeat; /* LTR */
background: url(../images/icons/help.png) 0 50% no-repeat; /* LTR */
}
[dir="rtl"] .icon-help {
padding: 1px 20px 1px 0;
@ -17,5 +17,5 @@
width: 16px;
height: 16px;
text-indent: -9999px;
background: url(../../images/icons/feed.svg) no-repeat;
background: url(../images/icons/feed.svg) no-repeat;
}

6
css/sass/components/_menu.scss

@ -16,14 +16,14 @@ ul.menu {
}
.menu-item--expanded {
list-style-type: circle;
list-style-image: url(../../images/icons/menu-expanded.png);
list-style-image: url(../images/icons/menu-expanded.png);
}
.menu-item--collapsed {
list-style-type: disc;
list-style-image: url(../../images/icons/menu-collapsed.png); /* LTR */
list-style-image: url(../images/icons/menu-collapsed.png); /* LTR */
}
[dir="rtl"] .menu-item--collapsed {
list-style-image: url(../../images/icons/menu-collapsed-rtl.png);
list-style-image: url(../images/icons/menu-collapsed-rtl.png);
}
.menu-item {
margin: 0;

6
css/sass/components/_messages.scss

@ -34,7 +34,7 @@
color: #325e1c;
border-color: #c9e1bd #c9e1bd #c9e1bd transparent; /* LTR */
background-color: #f3faef;
background-image: url(../../images/icons/check.svg);
background-image: url(../images/icons/check.svg);
box-shadow: -8px 0 0 #77b259; /* LTR */
}
[dir="rtl"] .messages--status {
@ -46,7 +46,7 @@
color: #734c00;
border-color: #f4daa6 #f4daa6 #f4daa6 transparent; /* LTR */
background-color: #fdf8ed;
background-image: url(../../images/icons/warning.svg);
background-image: url(../images/icons/warning.svg);
box-shadow: -8px 0 0 #e09600; /* LTR */
}
[dir="rtl"] .messages--warning {
@ -57,7 +57,7 @@
color: #a51b00;
border-color: #f9c9bf #f9c9bf #f9c9bf transparent; /* LTR */
background-color: #fcf4f2;
background-image: url(../../images/icons/error.svg);
background-image: url(../images/icons/error.svg);
box-shadow: -8px 0 0 #e62600; /* LTR */
}
[dir="rtl"] .messages--error {

Loading…
Cancel
Save