css_input_without_import.css

Same filename in other branches
  1. 9 core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_without_import.css
  2. 8.9.x core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_without_import.css
  3. 10 core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_without_import.css
  4. 11.x core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_without_import.css

Basic css that does not use import

File

modules/simpletest/files/css_test_files/css_input_without_import.css

View source
  1. /**
  2. * @file Basic css that does not use import
  3. */
  4. body {
  5. margin: 0;
  6. padding: 0;
  7. background: #edf5fa;
  8. font: 76%/170% Verdana, sans-serif;
  9. color: #494949;
  10. }
  11. .this .is .a .test {
  12. font: 1em/100% Verdana, sans-serif;
  13. color: #494949;
  14. }
  15. /**
  16. * CSS spec says that all whitespace is valid whitespace, so this selector
  17. * should be just as good as the one above.
  18. */
  19. .this
  20. .is
  21. .a
  22. .test {
  23. font: 1em/100% Verdana, sans-serif;
  24. color: #494949;
  25. }
  26. some :pseudo .thing {
  27. -moz-border-radius: 3px;
  28. -webkit-border-radius: 3px;
  29. border-radius: 3px;
  30. filter: progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10');
  31. -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#000000, direction='180', strength='10')";
  32. }
  33. ::-moz-selection {
  34. background: #000;
  35. color:#fff;
  36. }
  37. ::selection {
  38. background: #000;
  39. color: #fff;
  40. }
  41. @media print {
  42. * {
  43. background: #000 !important;
  44. color: #fff !important;
  45. }
  46. @page {
  47. margin: 0.5cm;
  48. }
  49. }
  50. @media screen and (max-device-width: 480px) {
  51. background: #000;
  52. color: #fff;
  53. }
  54. textarea, select {
  55. font: 1em/160% Verdana, sans-serif;
  56. color: #494949;
  57. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.