/** * Magic getter. Returns this widget's css * @return array key is the proposed name of the css string which should be passed as the first * argument to yii's registerCss. The value is the css string. */ protected function getCss() { if (!isset($this->_css)) { $this->_css = array_merge(parent::getCss(), array('docViewerProfileWidgetCss' => "\n #" . get_called_class() . "-widget-content-container {\n padding-bottom: 1px;\n }\n\n #select-a-document-dialog p {\n display: inline;\n margin-right: 5px;\n }\n\n .default-text-container {\n text-align: center;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n }\n\n .default-text-container a {\n height: 17%;\n text-decoration: none;\n font-size: 16px;\n margin: auto;\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n color: #222222 !important;\n }\n ")); } return $this->_css; }
/** * overrides parent method. Returns chart specific css */ protected function getCss() { if (!isset($this->_css)) { $this->_css = array_merge(parent::getCss(), array('sortableWidgetChartCss' => "\n .sortable-widget-container .chart-subtype-selector {\n\t margin: 1px 0px 4px 5px;\n border: 1px solid #ddd;\n }\n\n .sortable-widget-container div.chart-container {\n -moz-border-radius: 0px !important;\n -o-border-radius: 0px !important;\n -webkit-border-radius: 0px !important;\n border-radius: 0px !important;\n }\n\n .sortable-chart-widget .chart-controls-container {\n width: 604px;\n padding: 3px;\n }\n\n .sortable-chart-widget .chart-widget-button-container .relabel-widget-button {\n margin-right: 5px;\n }\n\n @media (max-width: 684px) {\n .sortable-chart-widget .chart-controls-container {\n width: 95%;\n padding: 3px;\n }\n .sortable-chart-widget .popup-dropdown-menu.flipped:before {\n right: 52px;\n }\n .sortable-chart-widget .popup-dropdown-menu {\n left: 0 !important;\n right: 0!important;\n margin: auto;\n }\n }\n\n @media (max-width: 529px) {\n .sortable-chart-widget .chart-container .bin-size-button-set {\n margin-top: 6px;\n }\n }\n\n /* menu contents */\n @media (max-width: 500px) {\n .sortable-chart-widget .chart-container .chart-filters-container {\n height: auto;\n }\n .sortable-chart-widget .ui-multiselect {\n margin-top: 0 !important;\n }\n }\n ")); } return $this->_css; }
protected function getCss() { if (!isset($this->_css)) { $this->_css = array_merge(parent::getCss(), array('inlineTagsWidgetCSS' => "\n #x2-tags-container {\n padding: 7px;\n }\n ")); } return $this->_css; }
protected function getCss() { if (!isset($this->_css)) { $this->_css = array_merge(parent::getCss(), array('WorkflowStageDetailsWidgetCSS' => "\n\n #workflowSelector {\n margin-left: 13px;\n }\n\n #funnel-container {\n position: relative;\n width: auto;\n margin-left: 12px;\n margin-top: 9px;\n max-width: 500px;\n }\n\n #funnel-container .interaction-buttons > a {\n margin-right: 3px;\n display: inline-block;\n vertical-align: middle;\n text-decoration: none;\n }\n\n #funnel-container .interaction-buttons {\n height: 17px;\n }\n\n\n #funnel-container img {\n margin-right: 4px;\n opacity: 0.8;\n }\n\n #funnel-container img:hover {\n opacity: 1;\n }\n\n div.workflow-status {\n overflow: hidden;\n display: block;\n line-height: 20px;\n height: 24px;\n max-width: 340px;\n margin-right: 10px;\n }\n\n div.workflow-status b {\n float: left;\n }\n\n div.workflow-status a {\n float: right;\n }\n ")); } return $this->_css; }