FINAL suepr merge step : added all modules to this super repos
112
sites/all/themes/gui/gui7/css/gui7.css
Normal file
@@ -0,0 +1,112 @@
|
||||
/*body{background-color: red;}*/
|
||||
|
||||
#page{width:1000px; margin:0 auto;}
|
||||
.sidebar{width:15%; min-width:150px;}
|
||||
|
||||
#center{min-width:800px;}
|
||||
.one-sidebar #center{width:83%;}
|
||||
.two-sidebar #center{width:68%;}
|
||||
|
||||
.sidebar, .one-sidebar #center, .two-sidebar #center{display:inline-block; vertical-align: top;}
|
||||
|
||||
.sidebar .region{padding:0 15px;}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* help description on hover
|
||||
*/
|
||||
form:not( #views-ui-config-item-form ) .form-item {
|
||||
position:relative;
|
||||
/* padding:9px;*/
|
||||
}
|
||||
|
||||
form:not( #views-ui-config-item-form ) .form-item .description{
|
||||
position:absolute;
|
||||
bottom:140%;
|
||||
/* right:-15px;*/
|
||||
z-index:5;
|
||||
left:50%;
|
||||
color:#1A1A1A;
|
||||
line-height:1.1;
|
||||
background:url(../images/popup.png) 50% 100% no-repeat;
|
||||
width:240px;
|
||||
margin:0px 0px -15px;
|
||||
padding:9px 10px 20px;
|
||||
display:none;
|
||||
border-top: 1px solid #9F9F9F;
|
||||
}
|
||||
form:not( #views-ui-config-item-form ) .form-item:hover {
|
||||
z-index:1;
|
||||
height:auto; /* Fix for flicker in IE7 */
|
||||
}
|
||||
form:not( #views-ui-config-item-form ) .form-item:hover > .description { display:block; }
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Messages.
|
||||
*/
|
||||
div.messages {
|
||||
position:relative;
|
||||
padding: 9px;
|
||||
margin: 0.5em 0 0;
|
||||
color: #036;
|
||||
background: #bdf;
|
||||
border: 1px solid #ace;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
|
||||
}
|
||||
|
||||
div.messages span.close{
|
||||
font-weight:bold;
|
||||
cursor:pointer;
|
||||
padding:0 5px;
|
||||
position:absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
}
|
||||
|
||||
div.warning {
|
||||
color: #840;
|
||||
background: #fe6;
|
||||
border-color: #ed5;
|
||||
}
|
||||
|
||||
div.error {
|
||||
color: #fff;
|
||||
background: #e63;
|
||||
border-color: #d52;
|
||||
}
|
||||
|
||||
div.error p.error {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
div.status {
|
||||
color: #360;
|
||||
background: #cf8;
|
||||
border-color: #be7;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* VIEW
|
||||
*/
|
||||
div.changed {
|
||||
background-color: #FFF98E;
|
||||
}
|
||||
|
||||
.views-display .tab-section .inside .defaulted {
|
||||
color: #4C4C4C;
|
||||
background-color: #E4E4E4;
|
||||
font-style: italic;
|
||||
/* font-weight:bold;*/
|
||||
}
|
||||
|
||||
.views-display .tab-section .inside .defaulted a {
|
||||
font-style: italic;
|
||||
}
|
14
sites/all/themes/gui/gui7/gui7.info
Normal file
@@ -0,0 +1,14 @@
|
||||
name = gui7
|
||||
description = A simple two-column, tableless, fluid width administration theme, based on Seven.
|
||||
package = Core
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
base theme = seven
|
||||
stylesheets[screen][] = css/gui7.css
|
||||
scripts[] = js/gui7.js
|
||||
regions[content] = Content
|
||||
regions[help] = Help
|
||||
regions[page_top] = Page top
|
||||
regions[page_bottom] = Page bottom
|
||||
regions[sidebar_first] = First sidebar
|
||||
regions[sidebar_second] = Second sidebar
|
61
sites/all/themes/gui/gui7/html.tpl.php
Normal file
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to display the basic html structure of a single
|
||||
* Drupal page.
|
||||
*
|
||||
* Variables:
|
||||
* - $css: An array of CSS files for the current page.
|
||||
* - $language: (object) The language the site is being displayed in.
|
||||
* $language->language contains its textual representation.
|
||||
* $language->dir contains the language direction. It will either be 'ltr' or 'rtl'.
|
||||
* - $rdf_namespaces: All the RDF namespace prefixes used in the HTML document.
|
||||
* - $grddl_profile: A GRDDL profile allowing agents to extract the RDF data.
|
||||
* - $head_title: A modified version of the page title, for use in the TITLE
|
||||
* tag.
|
||||
* - $head_title_array: (array) An associative array containing the string parts
|
||||
* that were used to generate the $head_title variable, already prepared to be
|
||||
* output as TITLE tag. The key/value pairs may contain one or more of the
|
||||
* following, depending on conditions:
|
||||
* - title: The title of the current page, if any.
|
||||
* - name: The name of the site.
|
||||
* - slogan: The slogan of the site, if any, and if there is no title.
|
||||
* - $head: Markup for the HEAD section (including meta tags, keyword tags, and
|
||||
* so on).
|
||||
* - $styles: Style tags necessary to import all CSS files for the page.
|
||||
* - $scripts: Script tags necessary to load the JavaScript files and settings
|
||||
* for the page.
|
||||
* - $page_top: Initial markup from any modules that have altered the
|
||||
* page. This variable should always be output first, before all other dynamic
|
||||
* content.
|
||||
* - $page: The rendered page content.
|
||||
* - $page_bottom: Final closing markup from any modules that have altered the
|
||||
* page. This variable should always be output last, after all other dynamic
|
||||
* content.
|
||||
* - $classes String of classes that can be used to style contextually through
|
||||
* CSS.
|
||||
*
|
||||
* @see template_preprocess()
|
||||
* @see template_preprocess_html()
|
||||
* @see template_process()
|
||||
*/
|
||||
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
|
||||
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print $language->dir; ?>"<?php print $rdf_namespaces; ?>>
|
||||
|
||||
<head profile="<?php print $grddl_profile; ?>">
|
||||
<?php print $head; ?>
|
||||
<title><?php print $head_title; ?></title>
|
||||
<?php print $styles; ?>
|
||||
<?php print $scripts; ?>
|
||||
</head>
|
||||
<body class="<?php print $classes; ?>" <?php print $attributes;?>>
|
||||
<div id="skip-link">
|
||||
<a href="#main-content" class="element-invisible element-focusable"><?php print t('Skip to main content'); ?></a>
|
||||
</div>
|
||||
<?php print $page_top; ?>
|
||||
<?php print $page; ?>
|
||||
<?php print $page_bottom; ?>
|
||||
</body>
|
||||
</html>
|
BIN
sites/all/themes/gui/gui7/images/bleeds.png
Normal file
After Width: | Height: | Size: 426 B |
159
sites/all/themes/gui/gui7/images/bleeds.svg
Normal file
@@ -0,0 +1,159 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="20"
|
||||
height="480"
|
||||
id="svg2"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.46"
|
||||
version="1.0"
|
||||
sodipodi:docname="bleeds.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
inkscape:export-filename="/home/yh/d6/sites/all/themes/rubiks/images/bleeds.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs4">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3170">
|
||||
<stop
|
||||
style="stop-color:#888888;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3172" />
|
||||
<stop
|
||||
style="stop-color:#aaaaaa;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3174" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3160"
|
||||
inkscape:collect="always">
|
||||
<stop
|
||||
id="stop3162"
|
||||
offset="0"
|
||||
style="stop-color:#f4f4f4;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop3164"
|
||||
offset="1"
|
||||
style="stop-color:#ffffff;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3157">
|
||||
<stop
|
||||
style="stop-color:#f8f8f8;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3159" />
|
||||
<stop
|
||||
style="stop-color:#cccccc;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3161" />
|
||||
</linearGradient>
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 526.18109 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
||||
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
||||
id="perspective10" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3157"
|
||||
id="linearGradient3163"
|
||||
x1="400"
|
||||
y1="400"
|
||||
x2="400"
|
||||
y2="0"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(5e-2,0,0,1,0,-480)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3160"
|
||||
id="linearGradient2388"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(5e-2,0,0,0.1,0,40)"
|
||||
x1="400"
|
||||
y1="400"
|
||||
x2="400"
|
||||
y2="0" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3170"
|
||||
id="linearGradient3176"
|
||||
x1="20"
|
||||
y1="80"
|
||||
x2="20"
|
||||
y2="40"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(0,-40)" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1"
|
||||
inkscape:cx="-5.75781"
|
||||
inkscape:cy="180.45457"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid2383"
|
||||
visible="true"
|
||||
enabled="true" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata7">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<rect
|
||||
style="opacity:1;fill:url(#linearGradient3163);fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect2385"
|
||||
width="20"
|
||||
height="400"
|
||||
x="0"
|
||||
y="-480"
|
||||
transform="scale(1,-1)" />
|
||||
<rect
|
||||
y="40"
|
||||
x="0"
|
||||
height="40"
|
||||
width="20"
|
||||
id="rect2386"
|
||||
style="opacity:1;fill:url(#linearGradient2388);fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<rect
|
||||
style="opacity:1;fill:url(#linearGradient3176);fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect3166"
|
||||
width="20"
|
||||
height="40"
|
||||
x="0"
|
||||
y="0" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.8 KiB |
BIN
sites/all/themes/gui/gui7/images/icons.png
Normal file
After Width: | Height: | Size: 49 KiB |
9180
sites/all/themes/gui/gui7/images/icons.svg
Normal file
After Width: | Height: | Size: 452 KiB |
BIN
sites/all/themes/gui/gui7/images/popup.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
50
sites/all/themes/gui/gui7/images/popup.svg
Normal file
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="260px"
|
||||
height="480px" viewBox="0 0 260 480" enable-background="new 0 0 260 480" xml:space="preserve">
|
||||
<g id="svg2" xmlns:svg="http://www.w3.org/2000/svg" sodipodi:version="0.32" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" inkscape:version="0.46" xmlns:dc="http://purl.org/dc/elements/1.1/" inkscape:export-xdpi="90" xmlns:cc="http://creativecommons.org/ns#" sodipodi:docname="popup.svg" inkscape:export-ydpi="90" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" inkscape:export-filename="/home/devseed/d6/sites/all/themes/rubik/images/popup.png" inkscape:output_extension="org.inkscape.output.svg.inkscape" display="none">
|
||||
<defs display="inline">
|
||||
|
||||
|
||||
<inkscape:perspective id="perspective10" inkscape:vp_x="0 : 526.18109 : 1" inkscape:persp3d-origin="372.04724 : 350.78739 : 1" inkscape:vp_y="0 : 1000 : 0" sodipodi:type="inkscape:persp3d" inkscape:vp_z="744.09448 : 526.18109 : 1">
|
||||
</inkscape:perspective>
|
||||
</defs>
|
||||
|
||||
<sodipodi:namedview id="base" inkscape:current-layer="layer1" showgrid="false" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="14.551915" inkscape:cx="13.515505" inkscape:cy="13.816348" inkscape:document-units="px">
|
||||
<inkscape:grid visible="true" id="grid3153" enabled="true" type="xygrid"></inkscape:grid>
|
||||
</sodipodi:namedview>
|
||||
<g id="layer1" inkscape:label="Layer 1" inkscape:groupmode="layer" display="inline">
|
||||
<path id="rect3157" sodipodi:nodetypes="ccccccccc" fill="#DEDEDE" d="M0,0v470h260V0h-1v469H1V0H0z"/>
|
||||
<path id="rect3163" fill="#DEDEDE" d="M0,469v1h260v-1h-1.084H1.083H0z"/>
|
||||
<rect id="rect3273" y="470" opacity="0.95" fill="#DEDEDE" enable-background="new " width="130" height="1.5"/>
|
||||
<rect id="rect3263" x="130" y="470" opacity="0.95" fill="#DEDEDE" enable-background="new " width="130" height="1.5"/>
|
||||
<rect id="rect3155" x="1" fill="#DEDEDE" width="258" height="469"/>
|
||||
<path id="path3159" sodipodi:nodetypes="ccc" fill="#DEDEDE" d="M120.5,469l9.5,11l9.5-11"/>
|
||||
<path id="path3165" sodipodi:nodetypes="ccc" fill="#DEDEDE" d="M122,469l8,9.5l8-9.5"/>
|
||||
<path id="rect3285" sodipodi:nodetypes="ccccccccccc" fill="#DEDEDE" d="M1,468v1h121l8,9.5l8-9.5h121v-1H137l-7,8.5l-7-8.5H1z"/>
|
||||
<rect id="rect3294" x="258" fill="#DEDEDE" width="1" height="469"/>
|
||||
<rect id="rect3296" x="1" fill="#DEDEDE" width="1" height="469"/>
|
||||
</g>
|
||||
</g>
|
||||
<g id="svg2_copy" xmlns:svg="http://www.w3.org/2000/svg" sodipodi:version="0.32" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" inkscape:version="0.46" xmlns:dc="http://purl.org/dc/elements/1.1/" inkscape:export-xdpi="90" xmlns:cc="http://creativecommons.org/ns#" sodipodi:docname="popup.svg" inkscape:export-ydpi="90" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" inkscape:export-filename="/home/devseed/d6/sites/all/themes/rubik/images/popup.png" inkscape:output_extension="org.inkscape.output.svg.inkscape">
|
||||
<defs>
|
||||
|
||||
|
||||
<inkscape:perspective id="perspective10" inkscape:vp_x="0 : 526.18109 : 1" inkscape:persp3d-origin="372.04724 : 350.78739 : 1" inkscape:vp_y="0 : 1000 : 0" sodipodi:type="inkscape:persp3d" inkscape:vp_z="744.09448 : 526.18109 : 1">
|
||||
</inkscape:perspective>
|
||||
</defs>
|
||||
|
||||
<sodipodi:namedview id="base" inkscape:current-layer="layer1" showgrid="false" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="14.551915" inkscape:cx="13.515505" inkscape:cy="13.816348" inkscape:document-units="px">
|
||||
<inkscape:grid visible="true" id="grid3153" enabled="true" type="xygrid"></inkscape:grid>
|
||||
</sodipodi:namedview>
|
||||
<g id="layer1_1_" inkscape:label="Layer 1" inkscape:groupmode="layer">
|
||||
<g id="path3159_1_" sodipodi:nodetypes="ccc">
|
||||
<polygon fill="#F0F0F0" points="120.614,468.25 0.25,468.25 0.25,-0.75 259.75,-0.75 259.75,468.25 139.386,468.25 130,479.117
|
||||
"/>
|
||||
<path fill="#666666" d="M259.5-0.5V468h-120h-0.229l-0.149,0.173L130,478.735l-9.122-10.562L120.729,468H120.5H0.5V-0.5H259.5
|
||||
M260-1H0v469.5h120.5l9.5,11l9.5-11H260V-1L260-1z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.7 KiB |
BIN
sites/all/themes/gui/gui7/images/sprite-rtl.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
sites/all/themes/gui/gui7/images/sprite.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
293
sites/all/themes/gui/gui7/images/sprite.svg
Normal file
@@ -0,0 +1,293 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="200"
|
||||
height="200"
|
||||
id="svg3178"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.46"
|
||||
version="1.0"
|
||||
sodipodi:docname="sprite.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
inkscape:export-filename="/home/devseed/atrium/profiles/openatrium/themes/rubik/images/sprite-rtl.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs3180">
|
||||
<linearGradient
|
||||
id="linearGradient3214">
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3216" />
|
||||
<stop
|
||||
id="stop3224"
|
||||
offset="0.5"
|
||||
style="stop-color:#ffffff;stop-opacity:1;" />
|
||||
<stop
|
||||
style="stop-color:#f8f8f8;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3218" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient3173">
|
||||
<stop
|
||||
style="stop-color:#c0c0c0;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3175" />
|
||||
<stop
|
||||
style="stop-color:#aaaaaa;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop3177" />
|
||||
</linearGradient>
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 526.18109 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
||||
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
||||
id="perspective3186" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3173"
|
||||
id="radialGradient3191"
|
||||
cx="50"
|
||||
cy="35"
|
||||
fx="50"
|
||||
fy="35"
|
||||
r="10"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-20,0)" />
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient3214"
|
||||
id="radialGradient3228"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0,1.5294118,-1.4438991,0,37.403286,-41.176471)"
|
||||
cx="29.82906"
|
||||
cy="5.1272879"
|
||||
fx="29.82906"
|
||||
fy="5.1272879"
|
||||
r="10" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1"
|
||||
inkscape:cx="61.795857"
|
||||
inkscape:cy="21.412293"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer2"
|
||||
showgrid="false">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid3188"
|
||||
visible="true"
|
||||
enabled="true" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata3183">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="LTR"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
style="display:none"
|
||||
sodipodi:insensitive="true">
|
||||
<g
|
||||
id="g2407">
|
||||
<path
|
||||
d="M 40,10 A 10,10 0 1 1 20,10 A 10,10 0 1 1 40,10 z"
|
||||
sodipodi:ry="10"
|
||||
sodipodi:rx="10"
|
||||
sodipodi:cy="10"
|
||||
sodipodi:cx="30"
|
||||
id="path3169"
|
||||
style="opacity:1;fill:#dddddd;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
sodipodi:type="arc"
|
||||
transform="translate(0,40)" />
|
||||
<path
|
||||
id="path3171"
|
||||
d="M 28.808482,48.378933 C 28.822162,47.407662 29.23256,46.600547 30.217511,46.600547 C 30.942545,46.600547 31.380301,46.997265 31.380301,47.831737 C 31.380301,48.570451 30.915185,48.885089 30.381669,49.309165 C 29.834475,49.733242 29.273598,50.266759 29.191519,51.456908 L 29.191519,52.072503 L 31.038304,52.072503 L 31.038304,51.552668 C 31.161423,50.745555 31.790699,50.389877 32.378933,49.95212 C 32.967169,49.500684 33.528044,48.967167 33.528044,47.640219 C 33.528044,46.586868 32.707248,45 30.121751,45 C 28.12449,45 26.838578,46.422711 26.797538,48.378933 L 28.808482,48.378933 M 29,55 L 31.147743,55 L 31.147743,52.893297 L 29,52.893297 L 29,55"
|
||||
style="font-size:11px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:110.00000238%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;font-family:Helvetica Neue;-inkscape-font-specification:Helvetica Neue Bold" />
|
||||
</g>
|
||||
<g
|
||||
id="g2411">
|
||||
<rect
|
||||
ry="9"
|
||||
y="20"
|
||||
x="20"
|
||||
height="20"
|
||||
width="20"
|
||||
id="rect3183"
|
||||
style="opacity:1;fill:url(#radialGradient3191);fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<path
|
||||
id="path3193"
|
||||
d="M 28.808482,29.378933 C 28.822162,28.407662 29.23256,27.600547 30.217511,27.600547 C 30.942545,27.600547 31.380301,27.997265 31.380301,28.831737 C 31.380301,29.570451 30.915185,29.885089 30.381669,30.309165 C 29.834475,30.733242 29.273598,31.266759 29.191519,32.456908 L 29.191519,33.072503 L 31.038304,33.072503 L 31.038304,32.552668 C 31.161423,31.745555 31.790699,31.389877 32.378933,30.95212 C 32.967169,30.500684 33.528044,29.967167 33.528044,28.640219 C 33.528044,27.586868 32.707248,26 30.121751,26 C 28.12449,26 26.838578,27.422711 26.797538,29.378933 L 28.808482,29.378933 M 29,36 L 31.147743,36 L 31.147743,33.893297 L 29,33.893297 L 29,36"
|
||||
style="font-size:11px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:110.00000238%;writing-mode:lr-tb;text-anchor:start;fill:#eeeeee;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;font-family:Helvetica Neue;-inkscape-font-specification:Helvetica Neue Bold" />
|
||||
<path
|
||||
style="font-size:11px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:110.00000238%;writing-mode:lr-tb;text-anchor:start;fill:#404040;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;font-family:Helvetica Neue;-inkscape-font-specification:Helvetica Neue Bold"
|
||||
d="M 28.808482,28.378933 C 28.822162,27.407662 29.23256,26.600547 30.217511,26.600547 C 30.942545,26.600547 31.380301,26.997265 31.380301,27.831737 C 31.380301,28.570451 30.915185,28.885089 30.381669,29.309165 C 29.834475,29.733242 29.273598,30.266759 29.191519,31.456908 L 29.191519,32.072503 L 31.038304,32.072503 L 31.038304,31.552668 C 31.161423,30.745555 31.790699,30.389877 32.378933,29.95212 C 32.967169,29.500684 33.528044,28.967167 33.528044,27.640219 C 33.528044,26.586868 32.707248,25 30.121751,25 C 28.12449,25 26.838578,26.422711 26.797538,28.378933 L 28.808482,28.378933 M 29,35 L 31.147743,35 L 31.147743,32.893297 L 29,32.893297 L 29,35"
|
||||
id="path3167" />
|
||||
</g>
|
||||
<g
|
||||
id="g2416">
|
||||
<path
|
||||
d="M 40,10 A 10,10 0 1 1 20,10 A 10,10 0 1 1 40,10 z"
|
||||
sodipodi:ry="10"
|
||||
sodipodi:rx="10"
|
||||
sodipodi:cy="10"
|
||||
sodipodi:cx="30"
|
||||
id="path3226"
|
||||
style="opacity:1;fill:url(#radialGradient3228);fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
sodipodi:type="arc" />
|
||||
<path
|
||||
style="font-size:11px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:110.00000238%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;font-family:Helvetica Neue;-inkscape-font-specification:Helvetica Neue Bold"
|
||||
d="M 28.808482,9.3789329 C 28.822162,8.4076616 29.23256,7.6005471 30.217511,7.6005471 C 30.942545,7.6005471 31.380301,7.9972648 31.380301,8.8317372 C 31.380301,9.5704506 30.915185,9.8850892 30.381669,10.309165 C 29.834475,10.733242 29.273598,11.266759 29.191519,12.456908 L 29.191519,13.072503 L 31.038304,13.072503 L 31.038304,12.552668 C 31.161423,11.745555 31.790699,11.389877 32.378933,10.95212 C 32.967169,10.500684 33.528044,9.9671668 33.528044,8.6402188 C 33.528044,7.5868682 32.707248,5.9999999 30.121751,5.9999999 C 28.12449,5.9999999 26.838578,7.4227105 26.797538,9.3789329 L 28.808482,9.3789329 M 29,16 L 31.147743,16 L 31.147743,13.893297 L 29,13.893297 L 29,16"
|
||||
id="path3230" />
|
||||
<path
|
||||
id="text3160"
|
||||
d="M 28.808482,8.3789329 C 28.822162,7.4076616 29.23256,6.6005471 30.217511,6.6005471 C 30.942545,6.6005471 31.380301,6.9972648 31.380301,7.8317372 C 31.380301,8.5704506 30.915185,8.8850892 30.381669,9.3091654 C 29.834475,9.7332416 29.273598,10.266759 29.191519,11.456908 L 29.191519,12.072503 L 31.038304,12.072503 L 31.038304,11.552668 C 31.161423,10.745555 31.790699,10.389877 32.378933,9.9521203 C 32.967169,9.5006844 33.528044,8.9671668 33.528044,7.6402188 C 33.528044,6.5868682 32.707248,4.9999999 30.121751,4.9999999 C 28.12449,4.9999999 26.838578,6.4227105 26.797538,8.3789329 L 28.808482,8.3789329 M 29,15 L 31.147743,15 L 31.147743,12.893297 L 29,12.893297 L 29,15"
|
||||
style="font-size:11px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:110.00000238%;writing-mode:lr-tb;text-anchor:start;fill:#666666;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;font-family:Helvetica Neue;-inkscape-font-specification:Helvetica Neue Bold" />
|
||||
</g>
|
||||
<g
|
||||
id="g2432">
|
||||
<path
|
||||
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="M 194,187 L 195,187 L 198,191 L 195,195 L 194,195 L 197,191"
|
||||
id="path3173"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
<path
|
||||
sodipodi:nodetypes="cccccc"
|
||||
id="path2385"
|
||||
d="M 194,186 L 195,186 L 198,190 L 195,194 L 194,194 L 197,190"
|
||||
style="opacity:1;fill:#c0c0c0;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g2421">
|
||||
<path
|
||||
sodipodi:nodetypes="ccccccc"
|
||||
id="rect3190"
|
||||
d="M 3,0 C 1.338,0 -2.6111925e-18,1.338 0,3 L 0,17 C 0,18.662 1.338,20 3,20 L 20,20 L 20,0 L 3,0 z"
|
||||
style="fill:#bbbbbb;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<rect
|
||||
ry="0.5"
|
||||
y="6"
|
||||
x="9"
|
||||
height="8"
|
||||
width="2"
|
||||
id="rect3704"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
<rect
|
||||
ry="0.5"
|
||||
transform="matrix(0,1,-1,0,0,0)"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
id="rect3706"
|
||||
width="2"
|
||||
height="8"
|
||||
x="9"
|
||||
y="-14" />
|
||||
<path
|
||||
id="path3190"
|
||||
d="M 0,16 L 0,17 C 0,18.662 1.338,20 3,20 L 20,20 L 20,19 L 3,19 C 1.338,19 0,17.662 0,16 z"
|
||||
style="fill:#aaaaaa;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
</g>
|
||||
<g
|
||||
id="g2427">
|
||||
<path
|
||||
style="fill:#bbbbbb;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="M 3,20 C 1.338,20 -2.6111925e-18,21.338 0,23 L 0,37 C 0,38.662 1.338,40 3,40 L 20,40 L 20,20 L 3,20 z"
|
||||
id="path3715"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<rect
|
||||
y="-14"
|
||||
x="29"
|
||||
height="8"
|
||||
width="2"
|
||||
id="rect3719"
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
transform="matrix(0,1,-1,0,0,0)"
|
||||
ry="0.5" />
|
||||
<path
|
||||
id="path3195"
|
||||
d="M 4.4408921e-16,36 L 4.4408921e-16,37 C 4.4408921e-16,38.662 1.338,40 3,40 L 20,40 L 20,39 L 3,39 C 1.338,39 4.4408921e-16,37.662 4.4408921e-16,36 z"
|
||||
style="fill:#aaaaaa;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer2"
|
||||
inkscape:label="RTL"
|
||||
style="display:inline">
|
||||
<use
|
||||
x="0"
|
||||
y="0"
|
||||
xlink:href="#g2407"
|
||||
id="use2436"
|
||||
width="200"
|
||||
height="200" />
|
||||
<use
|
||||
x="0"
|
||||
y="0"
|
||||
xlink:href="#g2411"
|
||||
id="use2438"
|
||||
width="200"
|
||||
height="200" />
|
||||
<use
|
||||
x="0"
|
||||
y="0"
|
||||
xlink:href="#g2416"
|
||||
id="use2440"
|
||||
width="200"
|
||||
height="200" />
|
||||
<use
|
||||
x="0"
|
||||
y="0"
|
||||
xlink:href="#g2421"
|
||||
id="use2442"
|
||||
transform="matrix(-1,0,0,1,20,0)"
|
||||
width="200"
|
||||
height="200" />
|
||||
<use
|
||||
x="0"
|
||||
y="0"
|
||||
xlink:href="#g2427"
|
||||
id="use2444"
|
||||
transform="matrix(-1,0,0,1,20,0)"
|
||||
width="200"
|
||||
height="200" />
|
||||
<use
|
||||
style="display:inline"
|
||||
x="0"
|
||||
y="0"
|
||||
xlink:href="#g2432"
|
||||
id="use2451"
|
||||
transform="matrix(-1,0,0,1,200,0)"
|
||||
width="200"
|
||||
height="200" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 15 KiB |
BIN
sites/all/themes/gui/gui7/images/vrule.png
Normal file
After Width: | Height: | Size: 173 B |
23
sites/all/themes/gui/gui7/js/gui7.js
Normal file
@@ -0,0 +1,23 @@
|
||||
Drupal.behaviors.gui7 = function (context) {
|
||||
// Growl-style system messages
|
||||
$('#console > div.messages:not(.processed)')
|
||||
.addClass('processed')
|
||||
.each(function() {
|
||||
// If a message meets these criteria, we don't autoclose
|
||||
// - contains a link
|
||||
// - is an error or warning
|
||||
// - contains a lenghthy amount of text
|
||||
if ($('a', this).size() || $(this).is('.error') || $(this).is('.warning') || $(this).text().length > 100) {
|
||||
$(this).prepend("<span class='close'>x</span>");
|
||||
$('span.close', this).click(function() {
|
||||
$(this).parent().slideUp('fast');
|
||||
});
|
||||
}
|
||||
else {
|
||||
// This essentially adds a 3 second pause before hiding the message.
|
||||
$(this).animate({opacity:1}, 5000, 'linear', function() {
|
||||
$(this).slideUp('fast');
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
BIN
sites/all/themes/gui/gui7/logo-lite.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
sites/all/themes/gui/gui7/logo.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
60
sites/all/themes/gui/gui7/page.tpl.php
Normal file
@@ -0,0 +1,60 @@
|
||||
<?php
|
||||
// krumo($page);
|
||||
?>
|
||||
<?php
|
||||
?>
|
||||
<div id="branding" class="clearfix">
|
||||
<?php print $breadcrumb; ?>
|
||||
<?php print render($title_prefix); ?>
|
||||
<?php if ($title): ?>
|
||||
<h1 class="page-title"><?php print $title; ?></h1>
|
||||
<?php endif; ?>
|
||||
<?php print render($title_suffix); ?>
|
||||
<?php print render($primary_local_tasks); ?>
|
||||
</div>
|
||||
|
||||
<div id="page">
|
||||
|
||||
<div id="content" class="clearfix">
|
||||
|
||||
<?php if($page['sidebar_first']): ?>
|
||||
<div id="sidebar-first" class="sidebar">
|
||||
<?php print render($page['sidebar_first']); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if($page['sidebar_first'] || $page['sidebar_second']): ?>
|
||||
<div id="center">
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="element-invisible"><a id="main-content"></a></div>
|
||||
<?php if ($messages): ?>
|
||||
<div id="console" class="clearfix"><?php print $messages; ?></div>
|
||||
<?php endif; ?>
|
||||
<?php if ($page['help']): ?>
|
||||
<div id="help">
|
||||
<?php print render($page['help']); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if ($action_links): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?>
|
||||
<?php print render($page['content']); ?>
|
||||
|
||||
<?php if($page['sidebar_first'] || $page['sidebar_second']): ?>
|
||||
</div><!-- // #center -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if($page['sidebar_second']): ?>
|
||||
<div id="sidebar-last" class="sidebar">
|
||||
<?php print render($page['sidebar_second']); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<?php print $feed_icons; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
BIN
sites/all/themes/gui/gui7/screenshot.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
113
sites/all/themes/gui/gui7/template.php
Normal file
@@ -0,0 +1,113 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Override or insert variables into the maintenance page template.
|
||||
*/
|
||||
function gui7_preprocess_maintenance_page(&$vars) {
|
||||
// While markup for normal pages is split into page.tpl.php and html.tpl.php,
|
||||
// the markup for the maintenance page is all in the single
|
||||
// maintenance-page.tpl.php template. So, to have what's done in
|
||||
// gui7_preprocess_html() also happen on the maintenance page, it has to be
|
||||
// called here.
|
||||
gui7_preprocess_html($vars);
|
||||
}
|
||||
|
||||
/**
|
||||
* Override or insert variables into the html template.
|
||||
*/
|
||||
function gui7_preprocess_html(&$vars) {
|
||||
// Add conditional CSS for IE8 and below.
|
||||
// drupal_add_css(path_to_theme() . '/ie.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'preprocess' => FALSE));
|
||||
// Add conditional CSS for IE6.
|
||||
// drupal_add_css(path_to_theme() . '/ie6.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lt IE 7', '!IE' => FALSE), 'preprocess' => FALSE));
|
||||
}
|
||||
|
||||
/**
|
||||
* Override or insert variables into the page template.
|
||||
*/
|
||||
function gui7_preprocess_page(&$vars) {
|
||||
$vars['primary_local_tasks'] = $vars['tabs'];
|
||||
unset($vars['primary_local_tasks']['#secondary']);
|
||||
$vars['secondary_local_tasks'] = array(
|
||||
'#theme' => 'menu_local_tasks',
|
||||
'#secondary' => $vars['tabs']['#secondary'],
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the list of available node types for node creation.
|
||||
*/
|
||||
function gui7_node_add_list($variables) {
|
||||
$content = $variables['content'];
|
||||
$output = '';
|
||||
if ($content) {
|
||||
$output = '<ul class="admin-list">';
|
||||
foreach ($content as $item) {
|
||||
$output .= '<li class="clearfix">';
|
||||
$output .= '<span class="label">' . l($item['title'], $item['href'], $item['localized_options']) . '</span>';
|
||||
$output .= '<div class="description">' . filter_xss_admin($item['description']) . '</div>';
|
||||
$output .= '</li>';
|
||||
}
|
||||
$output .= '</ul>';
|
||||
}
|
||||
else {
|
||||
$output = '<p>' . t('You have not created any content types yet. Go to the <a href="@create-content">content type creation page</a> to add a new content type.', array('@create-content' => url('admin/structure/types/add'))) . '</p>';
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Overrides theme_admin_block_content().
|
||||
*
|
||||
* Use unordered list markup in both compact and extended mode.
|
||||
*/
|
||||
function gui7_admin_block_content($variables) {
|
||||
$content = $variables['content'];
|
||||
$output = '';
|
||||
if (!empty($content)) {
|
||||
$output = system_admin_compact_mode() ? '<ul class="admin-list compact">' : '<ul class="admin-list">';
|
||||
foreach ($content as $item) {
|
||||
$output .= '<li class="leaf">';
|
||||
$output .= l($item['title'], $item['href'], $item['localized_options']);
|
||||
if (isset($item['description']) && !system_admin_compact_mode()) {
|
||||
$output .= '<div class="description">' . filter_xss_admin($item['description']) . '</div>';
|
||||
}
|
||||
$output .= '</li>';
|
||||
}
|
||||
$output .= '</ul>';
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Override of theme_tablesort_indicator().
|
||||
*
|
||||
* Use our own image versions, so they show up as black and not gray on gray.
|
||||
*/
|
||||
function gui7_tablesort_indicator($variables) {
|
||||
$style = $variables['style'];
|
||||
$theme_path = drupal_get_path('theme', 'seven');
|
||||
if ($style == 'asc') {
|
||||
return theme('image', array('path' => $theme_path . '/images/arrow-asc.png', 'alt' => t('sort ascending'), 'width' => 13, 'height' => 13, 'title' => t('sort ascending')));
|
||||
}
|
||||
else {
|
||||
return theme('image', array('path' => $theme_path . '/images/arrow-desc.png', 'alt' => t('sort descending'), 'width' => 13, 'height' => 13, 'title' => t('sort descending')));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_css_alter().
|
||||
*/
|
||||
function gui7_css_alter(&$css) {
|
||||
// Use Seven's vertical tabs style instead of the default one.
|
||||
if (isset($css['misc/vertical-tabs.css'])) {
|
||||
$css['misc/vertical-tabs.css']['data'] = drupal_get_path('theme', 'seven') . '/vertical-tabs.css';
|
||||
}
|
||||
if (isset($css['misc/vertical-tabs-rtl.css'])) {
|
||||
$css['misc/vertical-tabs-rtl.css']['data'] = drupal_get_path('theme', 'seven') . '/vertical-tabs-rtl.css';
|
||||
}
|
||||
// Use Seven's jQuery UI theme style instead of the default one.
|
||||
if (isset($css['misc/ui/jquery.ui.theme.css'])) {
|
||||
$css['misc/ui/jquery.ui.theme.css']['data'] = drupal_get_path('theme', 'seven') . '/jquery.ui.theme.css';
|
||||
}
|
||||
}
|