mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 08:34:09 +02:00
Admin-area styling, including TinyMce.
This commit is contained in:
@@ -376,7 +376,7 @@ class adminstyle_infopanel
|
||||
|
||||
$panelOnline = "
|
||||
|
||||
<table class='table table-condensed table-striped' style='width:96%;margin-left:auto;margin-right:auto'>
|
||||
<table class='table table-condensed table-striped' >
|
||||
<colgroup>
|
||||
<col style='width: 10%' />
|
||||
<col style='width: 25%' />
|
||||
|
@@ -404,10 +404,10 @@ class news_admin_ui extends e_admin_ui
|
||||
'news_class' => array('title' => LAN_VISIBILITY, 'type' => 'userclasses','tab'=>2, 'inline'=>true, 'width' => 'auto', 'thclass' => '', 'class' => null, 'batch'=>true, 'filter'=>true),
|
||||
'news_render_type' => array('title' => LAN_TEMPLATE, 'type' => 'dropdown', 'tab'=>0, 'data'=> 'str', 'inline'=>false, 'width' => 'auto', 'thclass' => 'left', 'class' => 'left', 'nosort' => false, 'batch'=>true, 'filter'=>true),
|
||||
'news_sticky' => array('title' => LAN_NEWS_28, 'type' => 'boolean', 'tab'=>2, 'data' => 'int' , 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false, 'batch'=>true, 'filter'=>true),
|
||||
'news_allow_comments' => array('title' => LAN_COMMENTS, 'type' => 'boolean', 'tab'=>2, 'writeParms'=>'inverse=1', 'data' => 'int', 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false,'batch'=>true, 'filter'=>true,'readParms'=>'reverse=1','writeParms'=>'inverse=1'),
|
||||
'news_allow_comments' => array('title' => LAN_COMMENTS, 'type' => 'boolean', 'tab'=>2, 'writeParms'=>'inverse=1', 'data' => 'int', 'width' => 'auto', 'thclass' => 'center', 'class' => 'center', 'nosort' => false,'batch'=>true, 'filter'=>true,'readParms'=>'reverse=1'),
|
||||
'news_comment_total' => array('title' => LAN_NEWS_60, 'type' => 'number', 'tab'=>2, 'noedit'=>true, 'width' => '10%', 'thclass' => '', 'class' => null, 'nosort' => false),
|
||||
// admin_news_notify
|
||||
'news_email_notify' => array('title' => "Email notification", 'type' => 'checkbox', 'tab'=>2, 'data'=>false, 'writeParms'=>array('show'=>1), 'help'=>'Trigger an email notification when you submit this form.'),
|
||||
'news_email_notify' => array('title' => "Email notification", 'type' => 'checkbox', 'tab'=>2, 'data'=>false, 'writeParms'=>array('show'=>1, 'tdClassRight'=>'form-inline'), 'help'=>'Trigger an email notification when you submit this form.'),
|
||||
'submitted_id' => array('title' => LAN_NEWS_68, 'type' => 'hidden', 'tab'=>2, 'data'=>false, 'writeParms'=>'show=0'),
|
||||
'options' => array('title' => LAN_OPTIONS, 'type' => null, 'width' => '10%', 'thclass' => 'center last', 'class' => 'center', 'nosort' => true, 'forced' => TRUE)
|
||||
|
||||
|
@@ -58,6 +58,11 @@ a.core-mainpanel-link-icon:hover { text-decoration: none; filter: none; }
|
||||
#admin-ui-edit-db-language { margin-bottom: -30px; margin-top:-10px; padding-bottom:5px; padding-right:5px }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#e-online table { width:96%;margin-left:auto; margin-right:auto }
|
||||
|
||||
div.bbcode-panel {
|
||||
|
||||
background-color: rgb(245, 245, 245);
|
||||
|
@@ -1178,7 +1178,7 @@ li.rssRow > div {
|
||||
.admin-theme-cell-site { background-color: #d9edf7; border: 1px solid #bce8f1; }
|
||||
.admin-theme-cell-admin { background-color:#FFFFD5; border: 1px solid #FFCC00; }
|
||||
|
||||
|
||||
#e-online table { margin-top:10px; margin-left:auto; margin-right:auto }
|
||||
|
||||
/*
|
||||
|
||||
|
@@ -52,9 +52,9 @@ $E_ADMIN_NAVIGATION['button_active'] = '
|
||||
// Leave Admin Area.
|
||||
$E_ADMIN_NAVIGATION['button_home'] = '
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" style="display:inline-block; padding-right:0px;margin-right:0px;" title="'.ADLAN_53.'" href="'.e_HTTP.'" >
|
||||
<a class="dropdown-toggle" style="display:inline-block; margin-right:0;" title="'.ADLAN_53.'" href="'.e_HTTP.'" >
|
||||
{LINK_IMAGE} {LINK_TEXT}
|
||||
</a><a style="display:inline-block;margin-left:0px;padding-left:4px;padding-right:8px;margin-right:8px" class="dropdown-toggle" title="'.ADLAN_53.'" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}" >
|
||||
</a><a style="display:inline-block;border-left:0;margin-left:0;padding-left:4px" class="dropdown-toggle" title="'.ADLAN_53.'" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}" >
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
{SUB_MENU}
|
||||
|
@@ -26,6 +26,20 @@ e107::css('theme','admin_style.css');
|
||||
e107::css('theme','admin_dark.css');
|
||||
e107::css('theme','ie_all.css',null,'all',"<!--[if IE]>","<![endif]-->");
|
||||
|
||||
e107::css('inline', "
|
||||
/* TinyMce */
|
||||
.mce-menubar .mce-caret { border-top-color: #C6C6C6!important }
|
||||
.mce-menubar:hover .mce-caret { border-top-color: #FFFFFF!important }
|
||||
.mce-menubar .mce-btn button { color: #C6C6C6!important; }
|
||||
.mce-menubar .mce-btn button:hover { color: #FFFFFF!important; }
|
||||
.mce-menubar.mce-toolbar { background-color: #373737!important; }
|
||||
.mce-tinymce[role=application] { border-color: #373737!important; }
|
||||
.mce-menubar .mce-menubtn:hover,
|
||||
.mce-menubtn:active,
|
||||
.mce-menubtn:focus { background-color:transparent!important; color: #FFFFFF!important; border-color:transparent!important; }
|
||||
.mce-menubar .mce-btn.mce-active { color:white!important; border-color:transparent!important; background-color: transparent!important; }
|
||||
|
||||
");
|
||||
|
||||
/*
|
||||
$drop = "
|
||||
|
@@ -813,12 +813,12 @@ tbody.collapse.in{display:table-row-group}
|
||||
.dropdown-menu>li>a{display:block;clear:both;font-weight:400;color:#c6c6c6}
|
||||
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{text-decoration:none;color:#fff;background-color:#337ab7}
|
||||
.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0;background-color:transparent}
|
||||
.dropdown-header,.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover,.nav>li.disabled>a{color:#c6c6c6}
|
||||
.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#c6c6c6}
|
||||
.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);cursor:not-allowed}
|
||||
.open>.dropdown-menu{display:block}
|
||||
.open>a{outline:0}
|
||||
.dropdown-menu-left{left:0;right:auto}
|
||||
.dropdown-header{display:block;font-size:12px}
|
||||
.dropdown-header{display:block;font-size:12px;color:#c6c6c6}
|
||||
.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}
|
||||
.nav-justified>.dropdown .dropdown-menu,.nav-tabs.nav-justified>.dropdown .dropdown-menu{left:auto;top:auto}
|
||||
.pull-right>.dropdown-menu{right:0;left:auto}
|
||||
@@ -887,9 +887,10 @@ select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.i
|
||||
.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}
|
||||
.nav{margin-bottom:0;padding-left:0;list-style:none}
|
||||
.nav>li>a{padding:10px 15px}
|
||||
.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#999}
|
||||
.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#212121}
|
||||
.nav>li.disabled>a{color:#555}
|
||||
.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#c6c6c6;text-decoration:none;background-color:transparent;cursor:not-allowed}
|
||||
.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#999;border-color:#77acd9}
|
||||
.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#212121;border-color:#77acd9}
|
||||
.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}
|
||||
.nav>li>a>img{max-width:none}
|
||||
.nav-tabs{border-bottom:1px solid #999}
|
||||
@@ -1493,4 +1494,4 @@ legend{color:#fff}
|
||||
a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#0f0f0f}
|
||||
.jumbotron{border:1px solid rgba(0,0,0,.6)}
|
||||
.panel-danger .panel-heading,.panel-info .panel-heading,.panel-primary .panel-heading,.panel-success .panel-heading,.panel-warning .panel-heading{border-color:#000}
|
||||
.btn:focus,.nav-pills>li>a,.nav-tabs>li>a,.navbar-default .navbar-nav>li>a,.navbar-inverse .navbar-nav>li>a,a,a:active,a:hover{outline:0}
|
||||
.btn:focus,.nav-pills>li>a,.nav-tabs>li>a,.navbar-default .navbar-nav>li>a,.navbar-inverse .navbar-nav>li>a,a,a:active,a:hover{outline:0}
|
||||
|
Reference in New Issue
Block a user