Znovunacte CSS
@throws AbortException
333941
public function handleRestoreCss(): void
	{
		$this->checkHandlerPermission();

		$this->app->clearCss();
		$this->flashNotifier->success('dockbar.management.application.cssRestored');
	}
1279973
function() {
			this.movingElement.css({
				zIndex: this.oldZIndex
			});
			if ( this.movingElement[0] !== this.element[0] ) {
				this.movingElement.css({
					display: 'none'
				});
			}
			if ( this._removeMovingElement ) {
				this.movingElement.remove();
			}

			this.movingElement = this.element = this.event = null;
		}
664811
function() {
      container.find('.kelmu-annotation').resizable({
        start: function() {
          var elem = $(this);
          var data = window.kelmu.data[id];
          data.selectedElementNumber = parseInt(elem.attr('data-annotation'), 10);
          if (elem.css('background-color') === 'transparent' || elem.css('background-color') === 'rgba(0, 0, 0, 0)') {
            elem.css('background-color', 'rgba(0, 0, 0, 0.1)');
          }
        },
        stop: function() {
          restoreRotation.call(this);
          updatePosition.call(this);
          notifyModifications();
          updateView(false, true);
        }
      });
    }
100485
private void checkAsCss(InputSource is) throws IOException, SAXException {
        String charset = "UTF-8";
        if (is.getEncoding() != null) {
            charset = is.getEncoding();
        }
        List<InputStream> streamsList = new ArrayList<>();
        streamsList.add(new ByteArrayInputStream(CSS_CHECKING_PROLOG));
        streamsList.add(is.getByteStream());
        streamsList.add(new ByteArrayInputStream(CSS_CHECKING_EPILOG));
        Enumeration<InputStream> streams = Collections.enumeration(streamsList);
        is.setByteStream(new SequenceInputStream(streams));
        is.setEncoding(charset);
        sourceCode.setIsCss();
        sourceCode.initialize(is);
        try {
            htmlReader.parse(is);
        } catch (SAXParseException e) {
        }
    }
958913
public function run()
	{
		if (!is_dir($this->path)) {
			$message = 'The directory with CSS files was not found.';

		} elseif (!$this->findCssFiles($this->path)) {
			$message = 'The directory does not contain any CSS files.';

		} else {
			$this->applyCssRules($this->findCssFiles($this->path), $this->filename);
			$file = 'CSS file: ' . $this->filename . ' size: ' . filesize($this->filename) . ' Bytes were generated.';
		}
		return print isset($file) ? $file : $message;
	}
296876
public function onBeforeWrite()
    {
        if ($w = $this->owner->ModernoLogoImageWidth) {
            $this->owner->ModernoLogoImageWidth = is_numeric($w) ? (int) $w : null;
        }
        
        if ($h = $this->owner->ModernoLogoImageHeight) {
            $this->owner->ModernoLogoImageHeight = is_numeric($h) ? (int) $h : null;
        }
        
        if ($w = $this->owner->ModernoLoadingImageWidth) {
            $this->owner->ModernoLoadingImageWidth = is_numeric($w) ? (int) $w : null;
        }
        
        if ($h = $this->owner->ModernoLoadingImageHeight) {
            $this->owner->ModernoLoadingImageHeight = is_numeric($h) ? (int) $h : null;
        }
    }
939884
public void tagCssAction(CmsObject cms, HttpServletRequest req) throws CmsException, IOException {

        String includeType = TYPE_CSS;

        CmsJspStandardContextBean standardContext = getStandardContext(cms, req);
        CmsContainerPageBean containerPage = standardContext.getPage();

        Set<String> cssIncludes = new LinkedHashSet<String>();
        Map<String, String> inlineCss = new LinkedHashMap<String, String>();
        // add defaults
        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_defaults)) {
            String[] defaults = m_defaults.split("\\|");
            for (int i = 0; i < defaults.length; i++) {
                cssIncludes.add(defaults[i].trim());
            }
        }

        collectHeadIncludesForContainerElement(
            cms,
            req,
            standardContext,
            containerPage,
            includeType,
            cssIncludes,
            inlineCss);
        if (standardContext.getDetailContentId() != null) {
            try {
                CmsResource detailContent = cms.readResource(
                    standardContext.getDetailContentId(),
                    CmsResourceFilter.ignoreExpirationOffline(cms));
                CmsFormatterConfiguration config = OpenCms.getADEManager().lookupConfiguration(
                    cms,
                    cms.getRequestContext().getRootUri()).getFormatters(cms, detailContent);
                boolean requiresAllIncludes = true;
                if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(getDetailtype())
                    && CmsStringUtil.isNotEmptyOrWhitespaceOnly(getDetailwidth())) {
                    try {
                        int width = Integer.parseInt(getDetailwidth());
                        I_CmsFormatterBean formatter = config.getDetailFormatter(getDetailtype(), width);
                        cssIncludes.addAll(formatter.getCssHeadIncludes());
                        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(formatter.getInlineCss())) {
                            inlineCss.put(formatter.getId(), formatter.getInlineCss());
                        }
                        requiresAllIncludes = false;
                    } catch (NumberFormatException ne) {
                        // nothing to do, we will include CSS for all detail containers
                    }
                }
                if (requiresAllIncludes) {
                    for (I_CmsFormatterBean formatter : config.getDetailFormatters()) {
                        cssIncludes.addAll(getHeadIncludes(formatter, includeType));
                        String inlineIncludeData = getInlineData(formatter, includeType);
                        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(inlineIncludeData)) {
                            inlineCss.put(formatter.getId(), inlineIncludeData);
                        }
                    }
                }
            } catch (CmsException e) {
                LOG.error(
                    Messages.get().getBundle().key(
                        Messages.ERR_READING_REQUIRED_RESOURCE_1,
                        standardContext.getDetailContentId()),
                    e);
            }
        }
        for (String cssUri : cssIncludes) {
            pageContext.getOut().print(
                "\n<link rel=\"stylesheet\" href=\""
                    + CmsJspTagLink.linkTagAction(cssUri.trim(), req)
                    + generateReqParams()
                    + "\" type=\"text/css\" ");
            if (shouldCloseTags()) {
                pageContext.getOut().print("/>");
            } else {
                pageContext.getOut().print(">");
            }
        }
        if (cms.getRequestContext().getCurrentProject().isOnlineProject()) {
            if (!inlineCss.isEmpty()) {
                StringBuffer inline = new StringBuffer("\n<style type=\"text/css\">\n");
                for (Entry<String, String> cssEntry : inlineCss.entrySet()) {
                    inline.append(cssEntry.getValue()).append("\n\n");
                }
                inline.append("\n</style>\n");
                pageContext.getOut().print(inline.toString());
            }
        } else {
            StringBuffer inline = new StringBuffer();
            for (Entry<String, String> cssEntry : inlineCss.entrySet()) {
                inline.append("\n<style type=\"text/css\" rel=\"" + cssEntry.getKey() + "\">\n");
                inline.append(cssEntry.getValue()).append("\n\n");
                inline.append("\n</style>\n");
            }
            pageContext.getOut().print(inline.toString());
        }
    }
606969
@Override
	protected String postcss(HttpServletRequest request, String css, IResource resource) throws IOException {
		final String sourceMethod = "postcss"; //$NON-NLS-1$
		final boolean isTraceLogging = log.isLoggable(Level.FINER);
		if (isTraceLogging) {
			log.entering(sourceClass, sourceMethod, new Object[]{css, resource});
		}
		if (resource.getPath().toLowerCase().endsWith(LESS_SUFFIX)) {
			css = processLess(resource.getReferenceURI().toString(), css);
			if (inlineImports) {
				css = _inlineImports(request, css, resource, ""); //$NON-NLS-1$
			}
		}
		css = super.postcss(request, css, resource);

		if (isTraceLogging) {
			log.exiting(sourceMethod, sourceMethod, css);
		}
		return css;
	}
144822
public function _amp_post_template_css() {
		ob_start();
		$this->_print_front_styles();
		$css = ob_get_clean();
		$css = str_replace( '!important', '', $css );
		// @codingStandardsIgnoreStart
		echo $css;
		// @codingStandardsIgnoreEnd
	}
681886
public function waitUntilElementIsVisible(string $cssSelector, int $timeout = 5, TraversableElement $baseElement = null): void
    {
        $baseElement = $baseElement ?? $this->getSession()->getPage();

        try {
            $this->waitUntil($timeout, function () use ($cssSelector, $baseElement) {
                $element = $baseElement->find('css', $cssSelector);

                return isset($element) && $element->isVisible();
            });
        } catch (Exception $e) {
            throw new ElementNotVisible(sprintf('Element with selector: %s was not found', $cssSelector));
        }
    }
1148088
function flushDynamicCssRules() {
        var rules = layoutStyleElem.sheet.cssRules,
            classCount = staleClassNames.length,
            i,
            j,
            ruleSuffix;

        for (i = 0; i < classCount; i++) {
            ruleSuffix = "." + staleClassNames[i] + " ";
            for (j = rules.length - 1; j >= 0; j--) {
                if (rules[j].selectorText.indexOf(ruleSuffix) !== -1) {
                    layoutStyleElem.sheet.deleteRule(j);
                }
            }
        }
        staleClassNames = [];
    }
726604
public function init()
	{
		parent::init();

		if(empty($this->updateSelector))
			throw new CException(Yii::t('zii','The property updateSelector should be defined.'));
		if(empty($this->filterSelector))
			throw new CException(Yii::t('zii','The property filterSelector should be defined.'));

		if(!isset($this->htmlOptions['class']))
			$this->htmlOptions['class']='grid-view';

		if($this->baseScriptUrl===null)
			$this->baseScriptUrl=Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias('zii.widgets.assets')).'/gridview';

		if($this->cssFile!==false)
		{
			if($this->cssFile===null)
				$this->cssFile=$this->baseScriptUrl.'/styles.css';
			Yii::app()->getClientScript()->registerCssFile($this->cssFile);
		}

		$this->initColumns();
	}
13051
public function onCropImage()
    {
        $this->abortIfReadOnly();

        $imageSrcPath = trim(Input::get('img'));
        $selectionData = Input::get('selection');
        $cropSessionKey = Input::get('cropSessionKey');
        $path = Input::get('path');
        $path = MediaLibrary::validatePath($path);

        if (!strlen($imageSrcPath)) {
            throw new ApplicationException('Invalid input data');
        }

        if (!preg_match('/^[0-9a-z]+$/', $cropSessionKey)) {
            throw new ApplicationException('Invalid input data');
        }

        if (!is_array($selectionData)) {
            throw new ApplicationException('Invalid input data');
        }

        $result = $this->cropImage($imageSrcPath, $selectionData, $cropSessionKey, $path);

        $selectionMode = Input::get('selectionMode');
        $selectionWidth = Input::get('selectionWidth');
        $selectionHeight = Input::get('selectionHeight');

        $this->setSelectionParams($selectionMode, $selectionWidth, $selectionHeight);

        return $result;
    }
1084421
public static function end()
    {
        if (!self::$_page || ErrorHandling::lastError()) {
            return;
        }
        self::$_zones[self::$_outputZone]->append(ob_get_clean());
        self::$_page->output();

        // reset class
        self::$_page = null;
        self::$_zones = array();
        self::$_zoneStack = array();
        self::$_outputZone = 'body';

        echo '<!-- ';
        echo '~', Asbestos::executionTime();
        echo " -->\n";
    }
1020323
protected function injectCSS() {
            if (!$this->isCLI && !self::$cssInjected) {
                self::$cssInjected = true;
                if (file_exists($this->config->cssPath)) {
                    echo '<style type="text/css">';
                    /** @noinspection PhpIncludeInspection */
                    include $this->config->cssPath;
                    echo '</style>';
                } else {
                    echo 'The AloFramework handlers\' CSS file could not be found: ' . $this->config->cssPath . PHP_EOL;
                }
            }
        }
190357
function(name, cancel_sync) {

		if (name in this._static_styles) {
			delete this._static_styles[name];
			if (this._is_inDOM && !cancel_sync) Firestorm.Element.setStyle(this.getDOMElement(), name, null);
		}

	}
637717
public function FileNotFound() {
      $this->RemoveCssFile('admin.css');
      $this->AddCssFile('style.css');
      $this->MasterView = 'default';
      
      $this->CssClass = 'SplashMessage NoPanel';
      
      if ($this->Data('ViewPaths')) {
         Trace($this->Data('ViewPaths'), 'View Paths');
      }
      
      $this->SetData('_NoMessages', TRUE);
      
      if ($this->DeliveryMethod() == DELIVERY_METHOD_XHTML) {
         header("HTTP/1.0 404", TRUE, 404);
         $this->Render();
      } else
         $this->RenderException(NotFoundException());
   }