Commit 81ef9334 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

move pi1 css from global to plugins css

parent 682de071
......@@ -59,6 +59,9 @@ class tx_nG6_pi1 extends tslib_pibase {
// Loading the LOCAL_LANG values
$this->pi_loadLL();
// Add the ng6 plugins css
$GLOBALS['TSFE']->additionalHeaderData[$this->prefixId] = '<link type="text/css" rel="stylesheet" media="screen" href="'.t3lib_extMgm::siteRelPath($this->extKey).'res/css/tx_nG6.css"/>';
// If the user is authorized to access the specified project/run, display the page
if (tx_nG6_db::user_is_authorized($GLOBALS['TSFE']->fe_user->user['usergroup'], $this->piVars['project_id'], $this->piVars['run_id'])) {
switch((string)$this->conf['view']) {
......@@ -486,6 +489,7 @@ class tx_nG6_pi1 extends tslib_pibase {
<script type="text/javascript" src="'.t3lib_extMgm::siteRelPath($this->extKey).'res/js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="'.t3lib_extMgm::siteRelPath($this->extKey).'res/js/jquery.url.packed.js"></script>
<script type="text/javascript" src="'.t3lib_extMgm::siteRelPath($this->extKey).'res/js/tx_nG6_pi1.js"></script>
<link type="text/css" rel="stylesheet" media="screen" href="'.t3lib_extMgm::siteRelPath($this->extKey).'res/css/tx_nG6.css"/>
<link type="text/css" rel="stylesheet" media="screen" href="'.t3lib_extMgm::siteRelPath($this->extKey).'res/css/jquery.ui.core.css"/>
<link type="text/css" rel="stylesheet" media="screen" href="'.t3lib_extMgm::siteRelPath($this->extKey).'res/css/jquery.ui.theme.css"/>
<link type="text/css" rel="stylesheet" media="screen" href="'.t3lib_extMgm::siteRelPath($this->extKey).'res/css/jquery.ui.dialog.css"/>';
......
......@@ -23,17 +23,99 @@
.tx-nG6-wait { margin-left: 0px; padding-left: 50px; padding-top: 10px; height: 40px; background: url(../img/light_wait.gif) left no-repeat; }
/* tx-nG6-pi1 plugin style */
table.tx-nG6-pi1-listrow { width: 100%; margin: 1em 0;font-size:90%;}
table.tx-nG6-pi1-listrow th, table.tx-nG6-pi1-listrow td { text-align: left; padding: 5px 8px; }
table.tx-nG6-pi1-listrow th {
background: #EFEEDF;
-moz-border-radius-topleft:7px;
-moz-border-radius-topright:7px;
-webkit-border-top-right-radius: 7px;
-webkit-border-top-left-radius: 7px;
border-top-right-radius:7px;
border-top-left-radius:7px;
}
table.tx-nG6-pi1-listrow tr.tx-nG6-pi1-listrowlast{
background: #EFEEDF;
-moz-border-radius-bottomleft:7px;
-moz-border-radius-bottomright:7px;
-webkit-border-bottom-right-radius: 7px;
-webkit-border-bottom-left-radius: 7px;
border-bottom-right-radius:7px;
border-bottom-left-radius:7px;
}
table.tx-nG6-pi1-listrow td { border-bottom: 1px solid #ddd; }
.tx-nG6-pi1 ul li { list-style: none; margin-left: 10px; padding-left: 17px; background: url(../images/ico-fleche.png) left 4px no-repeat; }
.tx-nG6-pi1-hidden { color:#9a9a9a; }
.tx-nG6-pi1-hidden a { color:#aacbfb; }
.tx-nG6-pi1-help {
background:#EFEEDF;
border:1px solid #f9f9f9;
margin-top:15px;
clear: both;
overflow: hidden;
-moz-border-radius:10px;
-webkit-border-radius:10px;
border-radius:10px;
padding:5px 5px 5px 5px;
}
.tx-nG6-pi1-help-end { clear:both; margin-bottom:10px; }
.tx-nG6-pi1-help .meta { color:#555; font-size:1.0em; }
.tx-nG6-pi1-help p { border-bottom:2px dashed #fff; color:#284087; margin:5px; padding-bottom: 4px; text-align:left; font-style: bold;}
.tx-nG6-pi1-help .img {
padding: 10px;
background:#EFEEDF url(../images/help_icon.png) no-repeat 96% 30%;
margin:5px 5px 5px 5px;
float:left;
}
/* tx-nG6-pi5 plugin style */
.tx-nG6-pi5-download-builder-tree { float: left; width: 600px; border-top: 1px solid #999; }
.tx-nG6-pi5-download-builder-header { border-bottom: 1px dotted #666; position: relative;}
.tx-nG6-pi5-download-builder-header h3 { margin-left: 10px; padding-left: 110px; padding-top: 30px; height: 88px; background: url(../img/download_builder.png) left no-repeat; }
.tx-nG6-pi5-download-builder { float: right; width: 240px; background: #EFEEDF; border-bottom: 1px dotted #666; border-top: 1px solid #999;padding: 20px 0 30px; margin-right: 20px; }
.tx-nG6-pi5-download-builder-header h3 {
margin-left: 10px;
padding-left: 110px;
padding-top: 30px;
height: 88px;
background: url(../img/download_builder.png) left no-repeat;
}
.tx-nG6-pi5-download-builder {
float: right;
width: 240px;
background: #EFEEDF;
border-bottom: 1px dotted #666;
border-top: 1px solid #999;
padding: 20px 0 30px;
margin-right: 20px;
}
.tx-nG6-pi5-download-builder .tx-nG6-pi5-download-builder-group { margin: 0 15px 15px; border-bottom: 1px dotted #999; padding-bottom: 15px; }
.tx-nG6-pi5-download-builder .tx-nG6-pi5-download-builder-group h2 { font-size: 1.2em; }
.tx-nG6-pi5-download-builder .tx-nG6-pi5-download-builder-group ul li { font-size: 1.0em; font-weight: bold; color: #000; text-decoration: none; list-style: none; margin-left: 10px; padding-left: 17px; background: url(../images/ico-fleche.png) left 4px no-repeat; }
.tx-nG6-pi5-download-builder .tx-nG6-pi5-download-builder-group ul li {
font-size: 1.0em;
font-weight: bold;
color: #000;
text-decoration: none;
list-style: none;
margin-left: 10px;
padding-left: 17px;
background: url(../images/ico-fleche.png) left 4px no-repeat;
}
.tx-nG6-pi5-download-builder .tx-nG6-pi5-download-builder-group input { margin-left: 10px; padding-left: 17px; }
.tx-nG6-pi5-download-builder-tree #download_tree { border-bottom: 1px dotted #666; padding: 25px 15px 15px; position: relative;}
.tx-nG6-pi5-download { border:none; color : #fff; background: transparent url('../img/download.png') no-repeat top left; width:200px; height:38px; }
.tx-nG6-pi5-download-disable { border:none; color : #fff; background: transparent url('../img/download_off.png') no-repeat top left; width:200px; height:38px; cursor: default !important;}
.tx-nG6-pi5-symlink { margin-left: 0px; padding-left: 140px; padding-top: 10px; height: 160px; background: url(../img/symbolic_link.png) left no-repeat; }
.tx-nG6-pi5-archive { margin-left: 0px; padding-left: 140px; padding-top: 30px; height: 100px; background: url(../img/archive.png) left no-repeat; }
\ No newline at end of file
.tx-nG6-pi5-download {
border:none;
color : #fff;
background: transparent url('../img/download.png') no-repeat top left;
width:200px;
height:38px;
}
.tx-nG6-pi5-download-disable {
border:none;
color : #fff;
background: transparent url('../img/download_off.png') no-repeat top left;
width:200px;
height:38px;
cursor: default !important;
}
.tx-nG6-pi5-symlink { margin-left: 0px; padding-left: 140px; padding-top: 10px; height: 160px; background: url(../img/symbolic_link.png) left no-repeat; }
.tx-nG6-pi5-archive { margin-left: 0px; padding-left: 140px; padding-top: 30px; height: 100px; background: url(../img/archive.png) left no-repeat; }
......@@ -110,53 +110,6 @@ ul#menu li a { text-decoration: none; color: #fff; font-size: 1.5em; font-weight
.tx-newloginbox-pi1 a:hover { text-decoration: underline; }
.login { width: 95px; border: 1px solid #C6C0AC; background: white; padding: 4px; color: #333; font-size:0.9em; vertical-align:3px; }
/* Specific to the nG6 component */
table.tx-nG6-pi1-listrow { width: 100%; margin: 1em 0;font-size:90%;}
table.tx-nG6-pi1-listrow th, table.tx-nG6-pi1-listrow td { text-align: left; padding: 5px 8px; }
table.tx-nG6-pi1-listrow th {
background: #EFEEDF;
-moz-border-radius-topleft:7px;
-moz-border-radius-topright:7px;
-webkit-border-top-right-radius: 7px;
-webkit-border-top-left-radius: 7px;
border-top-right-radius:7px;
border-top-left-radius:7px;
}
table.tx-nG6-pi1-listrow tr.tx-nG6-pi1-listrowlast{
background: #EFEEDF;
-moz-border-radius-bottomleft:7px;
-moz-border-radius-bottomright:7px;
-webkit-border-bottom-right-radius: 7px;
-webkit-border-bottom-left-radius: 7px;
border-bottom-right-radius:7px;
border-bottom-left-radius:7px;
}
table.tx-nG6-pi1-listrow td { border-bottom: 1px solid #ddd; }
.tx-nG6-pi1 ul li { list-style: none; margin-left: 10px; padding-left: 17px; background: url(../images/ico-fleche.png) left 4px no-repeat; }
.tx-nG6-pi1-hidden { color:#9a9a9a; }
.tx-nG6-pi1-hidden a { color:#aacbfb; }
.tx-nG6-pi1-help {
background:#EFEEDF;
border:1px solid #f9f9f9;
margin-top:15px;
clear: both;
overflow: hidden;
-moz-border-radius:10px;
-webkit-border-radius:10px;
border-radius:10px;
padding:5px 5px 5px 5px;
}
.tx-nG6-pi1-help-end { clear:both; margin-bottom:10px; }
.tx-nG6-pi1-help .meta { color:#555; font-size:1.0em; }
.tx-nG6-pi1-help p { border-bottom:2px dashed #fff; color:#284087; margin:5px; padding-bottom: 4px; text-align:left; font-style: bold;}
.tx-nG6-pi1-help .img {
padding: 10px;
background:#EFEEDF url(../images/help_icon.png) no-repeat 96% 30%;
margin:5px 5px 5px 5px;
float:left;
}
#sous-menu form.tx-nG6-pi2-search-box { float: right; margin: 0; padding: 20px 20px 0 0; }
#sous-menu form.tx-nG6-pi2-search-box .tx-nG6-pi2-text-search { width: 155px; height: 27px; padding: 5px 0 0 25px; background: url(../images/input-search.png) right top no-repeat; border: none; margin: 0; vertical-align: top; color: #aaa; }
#sous-menu form.tx-nG6-pi2-search-box .tx-nG6-pi2-submit-search { width: 36px; height: 27px; border: none; margin: 0; padding: 0; color: white; background: url(../images/btn-ok.png) left top no-repeat; vertical-align: top; font-weight: bold; cursor: pointer; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment