Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
CssCommand::$selector property core/lib/Drupal/Core/Ajax/CssCommand.php A CSS selector string.
CssCommand::render function core/lib/Drupal/Core/Ajax/CssCommand.php Implements Drupal\Core\Ajax\CommandInterface:render().
CssCommand::setProperty function core/lib/Drupal/Core/Ajax/CssCommand.php Adds a property/value pair to the CSS to be added to this element.
CssCommand::__construct function core/lib/Drupal/Core/Ajax/CssCommand.php Constructs a CssCommand object.
CssOptimizer class core/lib/Drupal/Core/Asset/CssOptimizer.php Optimizes a CSS asset.
CssOptimizer.php file core/lib/Drupal/Core/Asset/CssOptimizer.php
CssOptimizer::$rewriteFileURIBasePath property core/lib/Drupal/Core/Asset/CssOptimizer.php The base path used by rewriteFileURI().
CssOptimizer::clean function core/lib/Drupal/Core/Asset/CssOptimizer.php Processes the contents of a CSS asset for cleanup.
CssOptimizer::loadFile function core/lib/Drupal/Core/Asset/CssOptimizer.php Loads the stylesheet and resolves all @import commands.
CssOptimizer::loadNestedFile function core/lib/Drupal/Core/Asset/CssOptimizer.php Loads stylesheets recursively and returns contents with corrected paths.
CssOptimizer::optimize function core/lib/Drupal/Core/Asset/CssOptimizer.php Optimizes an asset.
CssOptimizer::processCss function core/lib/Drupal/Core/Asset/CssOptimizer.php Processes the contents of a stylesheet for aggregation.
CssOptimizer::processFile function core/lib/Drupal/Core/Asset/CssOptimizer.php Build aggregate CSS file.
CssOptimizer::rewriteFileURI function core/lib/Drupal/Core/Asset/CssOptimizer.php Prefixes all paths within a CSS file for processFile().
CssOptimizerUnitTest class core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests the CSS asset optimizer.
CssOptimizerUnitTest.php file core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
CssOptimizerUnitTest::$backupGlobals property core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
CssOptimizerUnitTest::$optimizer property core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php A CSS asset optimizer.
CssOptimizerUnitTest::providerTestOptimize function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Provides data for the CSS asset optimizing test.
CssOptimizerUnitTest::setUp function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
CssOptimizerUnitTest::testOptimize function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests optimizing a CSS asset group containing 'type' => 'file'.
CssOptimizerUnitTest::testTypeExternal function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests a CSS asset with 'type' => 'external'.
CssOptimizerUnitTest::testTypeFilePreprocessingDisabled function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests a file CSS asset with preprocessing disabled.
CSS_AGGREGATE_DEFAULT constant core/includes/common.inc The default aggregation group for CSS files added to the page.
CSS_AGGREGATE_THEME constant core/includes/common.inc The default aggregation group for theme CSS files added to the page.
css_bad_category.libraries.yml file core/tests/Drupal/Tests/Core/Asset/library_test_files/css_bad_category.libraries.yml core/tests/Drupal/Tests/Core/Asset/library_test_files/css_bad_category.libraries.yml
css_bad_nesting.libraries.yml file core/tests/Drupal/Tests/Core/Asset/library_test_files/css_bad_nesting.libraries.yml core/tests/Drupal/Tests/Core/Asset/library_test_files/css_bad_nesting.libraries.yml
css_bad_nesting_array.libraries.yml file core/tests/Drupal/Tests/Core/Asset/library_test_files/css_bad_nesting_array.libraries.yml core/tests/Drupal/Tests/Core/Asset/library_test_files/css_bad_nesting_array.libraries.yml
CSS_BASE constant core/includes/common.inc The default weight for CSS rules that style HTML elements ("base" styles).
CSS_COMPONENT constant core/includes/common.inc The default weight for CSS rules that style design components (and their associated states and themes.)
css_disable_transitions_test.info.yml file core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.info.yml core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.info.yml
css_disable_transitions_test.libraries.yml file core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.libraries.yml core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.libraries.yml
css_disable_transitions_test.module file core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.module Helper module for disabling animations in tests.
css_disable_transitions_test_page_attachments function core/modules/system/tests/modules/css_disable_transitions_test/css_disable_transitions_test.module Implements hook_page_attachments().
css_fix.theme.css file core/modules/settings_tray/tests/modules/settings_tray_test_css/css/css_fix.theme.css .dialog-off-canvas-main-canvas.js-settings-tray-edit-mode a,
.dialog-off-canvas-main-canvas.js-settings-tray-edit-mode input {
pointer-events: inherit !important;
}
css_input_without_import.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_without_import.css Basic css that does not use import
css_input_without_import.css.optimized.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_without_import.css.optimized.css body{margin:0;padding:0;background:#edf5fa;font:76%/170% Verdana,sans-serif;color:#494949;}.this .is .a .test{font:1em/100% Verdana,sans-serif;color:#494949;}.this
.is
.a
.test{font:1em/100% Verdana,sans-serif;color:#494949;}some :pseudo…
css_input_with_bom.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_bom.css .byte-order-mark-test {
content: "☃";
}
css_input_with_bom_and_charset.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_bom_and_charset.css @charset "utf-8";
.byte-order-mark-charset-test {
content: "☃";
}
css_input_with_charset.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_charset.css Non-displayable characters.
css_input_with_import.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_import.css @import "import1.css";
@import "import2.css";
@import url("http://example.com/style.css");
@import url("//example.com/style.css");

body {
margin: 0;
padding: 0;
background: #edf5fa;
font: 76%/170%…
css_input_with_import.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/css_subfolder/css_input_with_import.css @import "../import1.css";
@import "../import2.css";

body {
margin: 0;
padding: 0;
background: #edf5fa;
font: 76%/170% Verdana, sans-serif;
color: #494949;
}

.this .is .a .test {
font: 1em/100% Verdana, sans-serif;
css_input_with_import.css.optimized.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/css_subfolder/css_input_with_import.css.optimized.css ul,select{font:1em/160% Verdana,sans-serif;color:#494949;}.ui-icon{background-image:url(../images/icon.png);}.data .double-quote{background-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");}.data…
css_input_with_import.css.optimized.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_import.css.optimized.css ul,select{font:1em/160% Verdana,sans-serif;color:#494949;}.ui-icon{background-image:url(images/icon.png);}.data .double-quote{background-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");}.data…
css_input_with_utf16_bom.css file core/tests/Drupal/Tests/Core/Asset/css_test_files/css_input_with_utf16_bom.css Non-displayable characters.
css_js_settings.libraries.yml file core/tests/Drupal/Tests/Core/Asset/library_test_files/css_js_settings.libraries.yml core/tests/Drupal/Tests/Core/Asset/library_test_files/css_js_settings.libraries.yml
CSS_LAYOUT constant core/includes/common.inc The default weight for CSS rules that layout a page.
CSS_STATE constant core/includes/common.inc The default weight for CSS rules that style states and are not included with components.
CSS_THEME constant core/includes/common.inc The default weight for CSS rules that style themes and are not included with components.
css_weights.libraries.yml file core/tests/Drupal/Tests/Core/Asset/library_test_files/css_weights.libraries.yml core/tests/Drupal/Tests/Core/Asset/library_test_files/css_weights.libraries.yml

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