diff --git a/component.php b/component.php index 8d0f4cf..7a2e4a7 100644 --- a/component.php +++ b/component.php @@ -10,6 +10,9 @@ $app = JFactory::getApplication(); $doc = JFactory::getDocument(); // Add Stylesheets +$doc->addStyleSheet('templates/' . $this->template . '/css/bootstrap.min.css'); +$doc->addStyleSheet('templates/' . $this->template . '/css/icons.css'); +$doc->addStyleSheet('templates/' . $this->template . '/css/editor-modal.css'); $doc->addStyleSheet('templates/'.$this->template.'/css/template.css'); ?> @@ -26,4 +29,4 @@ - \ No newline at end of file + diff --git a/css/editor-modal b/css/editor-modal new file mode 100644 index 0000000..83457cc --- /dev/null +++ b/css/editor-modal @@ -0,0 +1,84 @@ +.label, +.badge { + display: inline-block; + padding: 2px 4px; + font-size: 10.998px; + font-weight: bold; + line-height: 14px; + color: #fff; + vertical-align: baseline; + white-space: nowrap; + text-shadow: 0 -1px 0 rgba(0,0,0,0.25); + background-color: #999; +} +.element-invisible { + position: absolute; + padding: 0; + margin: 0; + border: 0; + height: 1px; + width: 1px; + overflow: hidden; +} +.btn { + display: inline-block; + padding: 4px 12px; + margin-bottom: 0; + font-size: 13px; + line-height: 18px; + text-align: center; + vertical-align: middle; + cursor: pointer; + color: #333; + background-color: #f5f5f5; +} +.btn:hover { + border-color: transparent; +} +.btn-success { + color: #fff; + background-color: #5cb85c; + border-color: #4cae4c; +} +.btn-primary { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; +} +.btn-warning { + color: #fff; + background-color: #f0ad4e; + border-color: #eea236; +} +.btn-success:hover { + color: #fff; + background-color: #449d44; + border-color: #398439; +} +.btn-primary:hover { + color: #fff; + background-color: #286090; + border-color: #204d74; +} +.btn-warning:hover { + color: #fff; + background-color: #ec971f; + border-color: #d58512; +} +.btn-toolbar { + padding-top: 20px; +} +.btn-toolbar label { + margin-top: 5px; +} +input, optgroup, select, textarea { + margin: 0!important; +} +.table>caption+thead>tr:first-child>td, .table>caption+thead>tr:first-child>th, .table>colgroup+thead>tr:first-child>td, .table>colgroup+thead>tr:first-child>th, .table>thead:first-child>tr:first-child>td, .table>thead:first-child>tr:first-child>th { + width: auto; +} +.span6.control-group { + float: left; + margin: 0 5px; + display: inline-block; +}