uppdated modules
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
name = Adminimal
|
||||
description = A simple one-column, tableless, minimalist administration theme.
|
||||
description = Minimalist administration theme.
|
||||
core = 7.x
|
||||
scripts[] = js/jRespond.js
|
||||
scripts[] = js/adminimal_theme.js
|
||||
settings[shortcut_module_link] = 1
|
||||
settings[style_checkboxes] = 1
|
||||
settings[display_icons_config] = 1
|
||||
settings[rounded_buttons] = 1
|
||||
settings[sticky_actions] = 0
|
||||
settings[avoid_custom_font] = 0
|
||||
settings[adminimal_ckeditor] = 1
|
||||
settings[custom_css] = 0
|
||||
settings[use_custom_media_queries] = 0
|
||||
settings[media_query_mobile] = only screen and (max-width: 480px)
|
||||
settings[media_query_tablet] = only screen and (min-width : 481px) and (max-width : 1024px)
|
||||
regions[hidden] = Hidden
|
||||
regions[content_before] = Before Content
|
||||
regions[sidebar_left] = Sidebar Left
|
||||
regions[content] = Content
|
||||
@@ -17,12 +23,10 @@ regions[content_after] = After Content
|
||||
regions[help] = Help
|
||||
regions[page_top] = Page top
|
||||
regions[page_bottom] = Page bottom
|
||||
regions[sidebar_first] = First sidebar
|
||||
regions_hidden[] = sidebar_first
|
||||
|
||||
; Information added by Drupal.org packaging script on 2015-01-28
|
||||
version = "7.x-1.20"
|
||||
; Information added by Drupal.org packaging script on 2016-02-23
|
||||
version = "7.x-1.24"
|
||||
core = "7.x"
|
||||
project = "adminimal_theme"
|
||||
datestamp = "1422442296"
|
||||
datestamp = "1456190957"
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
body.adminimal-theme * {
|
||||
font-family: "Segoe UI", "Helvetica", sans-serif !important;
|
||||
}
|
||||
@@ -0,0 +1,220 @@
|
||||
/* Ckeditor Styling */
|
||||
|
||||
body.adminimal-theme .cke_reset_all,body.adminimal-theme .cke_reset_all * {
|
||||
border-radius: 0;
|
||||
font-family: "Open Sans", "Segoe UI", "Helvetica", sans-serif;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
body.adminimal-theme .ckeditor_links {
|
||||
border-left: 1px solid #DDDDDD;
|
||||
border-right: 1px solid #DDDDDD;
|
||||
display: block;
|
||||
padding: 10px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
body.adminimal-theme .ckeditor_links:hover {
|
||||
background: #eee;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_chrome {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_top {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_toolgroup {
|
||||
background: #fff;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
|
||||
body.adminimal-theme .cke_combo_button {
|
||||
background: #fff;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_combo_off a.cke_combo_button:hover {
|
||||
background: #fff;
|
||||
border: 1px solid #0074BD;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_button_on {
|
||||
background: #fff;
|
||||
box-shadow: 0px 3px 0px #0074BD;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_button_on:hover {
|
||||
box-shadow: 0px 3px 0px #0074BD;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_bottom {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_combo_off a.cke_combo_button:active,body.adminimal-theme .cke_combo_on a.cke_combo_button {
|
||||
border: 1px solid #0074BD;
|
||||
border-bottom-width: 3px;
|
||||
background: #fff;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
body.adminimal-theme a.cke_button_on:hover,
|
||||
body.adminimal-theme a.cke_button_on:focus,
|
||||
body.adminimal-theme a.cke_button_on:active,
|
||||
body.adminimal-theme .cke_button:first-child,
|
||||
body.adminimal-theme .cke_button:last-child {
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
body.adminimal-theme a.cke_button_off:hover,
|
||||
body.adminimal-theme a.cke_button_off:focus, a.cke_button_off:active,
|
||||
body.adminimal-theme a.cke_button_disabled:hover,
|
||||
body.adminimal-theme a.cke_button_disabled:focus,
|
||||
body.adminimal-theme a.cke_button_disabled:active {
|
||||
background: #eee;
|
||||
box-shadow: none;
|
||||
border-color: #0074BD;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_reset_all label {
|
||||
display: inline-block;
|
||||
margin-top: 5px;
|
||||
padding-bottom: 2px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_dialog_body label.cke_required {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_reset_all .cke_dialog_body {
|
||||
font-family: "Open Sans", "Segoe UI", "Helvetica", sans-serif;
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_reset_all fieldset {
|
||||
border: 1px solid #DDDDDD;
|
||||
border-top: 3px solid #0074BD;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_reset_all legend {
|
||||
font-family: "Open Sans", "Segoe UI", "Helvetica", sans-serif;
|
||||
font-size: 18px;
|
||||
font-weight: 100;
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_combopanel {
|
||||
height: 170px;
|
||||
width: 170px;
|
||||
border: 1px solid #DDDDDD;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_dialog_footer {
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
body.adminimal-theme a.cke_dialog_tab:hover {
|
||||
text-decoration: none;
|
||||
background: #fff;
|
||||
color: #0074BD;
|
||||
}
|
||||
|
||||
body.adminimal-theme select.cke_dialog_ui_input_select {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
body.adminimal-theme input.cke_dialog_ui_input_text,
|
||||
body.adminimal-theme input.cke_dialog_ui_input_password,
|
||||
body.adminimal-theme textarea.cke_dialog_ui_input_textarea {
|
||||
box-shadow: none;
|
||||
border-color: #CCCCCC;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_dialog_title {
|
||||
background: #333333;
|
||||
border-bottom: none;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
color: #FFFFFF;
|
||||
font-size: 18px;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_dialog_ui_vbox_child label {
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
body.adminimal-theme input.cke_dialog_ui_input_text:focus,
|
||||
body.adminimal-theme input.cke_dialog_ui_input_password:focus,
|
||||
body.adminimal-theme textarea.cke_dialog_ui_input_textarea:focus,
|
||||
body.adminimal-theme select.cke_dialog_ui_input_select:focus {
|
||||
border-color: #0074BD;
|
||||
}
|
||||
|
||||
body.adminimal-theme a.cke_dialog_ui_button:focus,
|
||||
body.adminimal-theme a.cke_dialog_ui_button:hover,
|
||||
body.adminimal-theme a.cke_dialog_ui_button:active {
|
||||
border-color: #0074BD;
|
||||
box-shadow: none;
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
background: #0074BD;
|
||||
}
|
||||
|
||||
body.adminimal-theme a.cke_dialog_ui_button {
|
||||
background: #eee;
|
||||
padding: 4px 0;
|
||||
}
|
||||
|
||||
body.adminimal-theme a.cke_dialog_ui_button:focus span,
|
||||
body.adminimal-theme a.cke_dialog_ui_button:hover span,
|
||||
body.adminimal-theme a.cke_dialog_ui_button:active span {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_ltr .cke_dialog_close_button {
|
||||
background: url("images/x-white.png") scroll no-repeat 50% 2px #B73939;
|
||||
right: 10px;
|
||||
top: 1px;
|
||||
width: 45px;
|
||||
}
|
||||
|
||||
body.adminimal-theme .cke_ltr .cke_dialog_close_button:hover {
|
||||
background-color: #e55454;
|
||||
}
|
||||
|
||||
body.adminimal-theme a.cke_dialog_ui_button_ok {
|
||||
background: #4D8F46;
|
||||
border-color: #4D8F46;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
body.adminimal-theme a.cke_dialog_ui_button_ok:hover {
|
||||
background: #0A6700;
|
||||
border-color: #0A6700;
|
||||
}
|
||||
|
||||
body.adminimal-theme a.cke_path_item:hover, body.adminimal-theme a.cke_path_item:focus, body.adminimal-theme a.cke_path_item:active {
|
||||
border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
box-shadow: none;
|
||||
text-decoration:none;
|
||||
text-shadow: none;
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* @file
|
||||
* Includes style for homebox module boxes
|
||||
*
|
||||
* Includes proper styling for homebox module when enabled. Includes style for boxes
|
||||
* and icons for the box actions
|
||||
*/
|
||||
|
||||
#homebox-buttons {
|
||||
margin: 20px 0 10px;
|
||||
}
|
||||
#homebox-buttons a {
|
||||
padding: 0px 20px;
|
||||
font-family: "Helvetica", sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
background: #fff;
|
||||
line-height: 30px;
|
||||
border: 2px solid #0074BD;
|
||||
margin: 5px auto;
|
||||
border-radius: 100px;
|
||||
display: inline-block;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
#homebox-buttons a:hover {
|
||||
text-decoration: none;
|
||||
background: #0074BD;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#homebox .homebox-column {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#homebox .homebox-portlet {
|
||||
border: none;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
#homebox .homebox-portlet .portlet-header {
|
||||
font-size: 15px;
|
||||
padding: 8px 13px;
|
||||
background-color: #F3F4EE;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* Just some support for views on homebox portlets */
|
||||
#homebox .homebox-portlet .view .view-footer{
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Material style
|
||||
*/
|
||||
body.adminimal-skin-material #homebox-buttons a {
|
||||
text-transform: uppercase;
|
||||
font-weight: 500;
|
||||
font-size: 15px;
|
||||
background: #2196f3;
|
||||
border: none;
|
||||
color: #FFFFFF;
|
||||
padding: 3px 20px 2px;
|
||||
border-radius: 3px;
|
||||
display: inline-block;
|
||||
}
|
||||
body.adminimal-skin-material #homebox-buttons a:hover {
|
||||
background: #29B6F6;
|
||||
text-decoration: none;
|
||||
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
|
||||
body.adminimal-skin-material #homebox .homebox-portlet {
|
||||
border: none;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
|
||||
background: #fff;
|
||||
border-radius: 3px;
|
||||
}
|
||||
body.adminimal-skin-material #homebox .homebox-portlet-inner {
|
||||
border: none;
|
||||
}
|
||||
body.adminimal-skin-material #homebox .homebox-portlet .portlet-header {
|
||||
font-family: Roboto, sans-serif;
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
}
|
||||
@@ -45,6 +45,10 @@ ul.primary li {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body.adminimal-theme #navigation ul.primary li:first-of-type {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
body.adminimal-theme ul.primary li a:active, body.adminimal-theme ul.primary li a:link, body.adminimal-theme ul.primary li a:visited {
|
||||
border: 0 none;
|
||||
display: block;
|
||||
@@ -96,7 +100,7 @@ body.adminimal-theme div.admin .right, body.adminimal-theme div.admin .left {
|
||||
.exposed-filters .form-select {
|
||||
clear: both;
|
||||
margin-bottom: 10px;
|
||||
width: 100%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.views-exposed-form label {
|
||||
@@ -258,3 +262,11 @@ html.js .adminimal-theme #module-filter-show-wrapper .form-item {
|
||||
.adminimal-theme #module-filter-tabs.top-fixed{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.adminimal-theme #dashboard div#dashboard_sidebar {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.container-inline.form-actions.form-wrapper {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -39,6 +39,11 @@ div.vertical-tabs ul li.vertical-tab-button a {
|
||||
div.vertical-tabs ul li.first a {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
div.vertical-tabs .vertical-tabs-pane ul li.first a {
|
||||
border-top: 2px solid #0074BD;
|
||||
}
|
||||
|
||||
div.vertical-tabs ul li.vertical-tab-button strong {
|
||||
font-size: 0.923em;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#0774BC" d="M15.5,2.037v3.938L8,13.404L0.5,6.021V2.037L8,9.549L15.5,2.037z"/>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 625 B |
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="16px" height="16px" viewBox="0 0 16 16" enable-background="new 0 0 16 16" xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#0774BC" d="M13.546,4.126l-5.935,8.859H7.412L2.325,8.591L3.761,6.71l3.352,2.888L11.7,2.75L13.546,4.126z"/>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 654 B |
@@ -1,22 +1,33 @@
|
||||
(function($) {
|
||||
'use strict';
|
||||
|
||||
// Define jRespond Media queries.
|
||||
var jRes = jRespond([
|
||||
{
|
||||
label: 'mobile',
|
||||
enter: 0,
|
||||
exit: 480
|
||||
},{
|
||||
label: 'tablet',
|
||||
enter: 481,
|
||||
exit: 979
|
||||
},{
|
||||
label: 'desktop',
|
||||
enter: 980,
|
||||
exit: 9999
|
||||
}
|
||||
{
|
||||
label: 'mobile',
|
||||
enter: 0,
|
||||
exit: 480
|
||||
},{
|
||||
label: 'tablet',
|
||||
enter: 481,
|
||||
exit: 979
|
||||
},{
|
||||
label: 'desktop',
|
||||
enter: 980,
|
||||
exit: 9999
|
||||
}
|
||||
]);
|
||||
|
||||
// Detect Operating system and add class to the body.
|
||||
Drupal.behaviors.adminimal_os_class = {
|
||||
attach: function (context, settings) {
|
||||
// Detect if OS is mac based.
|
||||
if (navigator.userAgent.indexOf('Mac OS X') != -1) {
|
||||
$("body").addClass("mac");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// Modify the Search field for module filter.
|
||||
Drupal.behaviors.adminimal_module_filter_box = {
|
||||
attach: function (context, settings) {
|
||||
@@ -28,63 +39,63 @@ Drupal.behaviors.adminimal_module_filter_box = {
|
||||
// Fix some krumo styling.
|
||||
Drupal.behaviors.krumo_remove_class = {
|
||||
attach: function (context, settings) {
|
||||
// Find status messages that has krumo div inside them, and change the classes.
|
||||
// Find status messages that has krumo div inside them, and change the classes.
|
||||
$('#console .messages.status').has("div.krumo-root").removeClass().addClass( "krumo-wrapper" );
|
||||
}
|
||||
};
|
||||
|
||||
// Add media query classes to the body tag.
|
||||
Drupal.behaviors.adminimal_media_queries = {
|
||||
attach: function (context, settings) {
|
||||
jRes.addFunc([
|
||||
{
|
||||
breakpoint: 'mobile',
|
||||
enter: function() {
|
||||
$( "body" ).addClass( "mq-mobile" );
|
||||
},
|
||||
exit: function() {
|
||||
$( "body" ).removeClass( "mq-mobile" );
|
||||
}
|
||||
},{
|
||||
breakpoint: 'tablet',
|
||||
enter: function() {
|
||||
$( "body" ).addClass( "mq-tablet" );
|
||||
},
|
||||
exit: function() {
|
||||
$( "body" ).removeClass( "mq-tablet" );
|
||||
}
|
||||
},{
|
||||
breakpoint: 'desktop',
|
||||
enter: function() {
|
||||
$( "body" ).addClass( "mq-desktop" );
|
||||
},
|
||||
exit: function() {
|
||||
$( "body" ).removeClass( "mq-desktop" );
|
||||
}
|
||||
}
|
||||
]);
|
||||
}
|
||||
attach: function (context, settings) {
|
||||
jRes.addFunc([
|
||||
{
|
||||
breakpoint: 'mobile',
|
||||
enter: function() {
|
||||
$( "body" ).addClass( "mq-mobile" );
|
||||
},
|
||||
exit: function() {
|
||||
$( "body" ).removeClass( "mq-mobile" );
|
||||
}
|
||||
},{
|
||||
breakpoint: 'tablet',
|
||||
enter: function() {
|
||||
$( "body" ).addClass( "mq-tablet" );
|
||||
},
|
||||
exit: function() {
|
||||
$( "body" ).removeClass( "mq-tablet" );
|
||||
}
|
||||
},{
|
||||
breakpoint: 'desktop',
|
||||
enter: function() {
|
||||
$( "body" ).addClass( "mq-desktop" );
|
||||
},
|
||||
exit: function() {
|
||||
$( "body" ).removeClass( "mq-desktop" );
|
||||
}
|
||||
}
|
||||
]);
|
||||
}
|
||||
};
|
||||
|
||||
// Move the active primary tab on mobile to be displayed last.
|
||||
// Move the active primary tab on mobile to be displayed last.
|
||||
Drupal.behaviors.adminimal_move_active_primary_tab = {
|
||||
attach: function (context, settings) {
|
||||
// Add primary tabs class to the branding div for the bottom border.
|
||||
attach: function (context, settings) {
|
||||
// Add primary tabs class to the branding div for the bottom border.
|
||||
$('#branding').has("ul.tabs.primary").addClass( "has-primary-tabs" );
|
||||
|
||||
// register enter and exit functions for a single breakpoint
|
||||
jRes.addFunc({
|
||||
breakpoint: 'mobile',
|
||||
enter: function() {
|
||||
$( "ul.tabs.primary li.active" ).clone().appendTo( "ul.tabs.primary" ).removeClass( "active" ).addClass( "current" );
|
||||
$( "ul.tabs.primary li.active" ).css("display", "none");
|
||||
},
|
||||
exit: function() {
|
||||
$( "ul.tabs.primary li.active" ).css("display", "table");
|
||||
$( "ul.tabs.primary li.current" ).css("display", "none");
|
||||
}
|
||||
});
|
||||
}
|
||||
// register enter and exit functions for a single breakpoint
|
||||
jRes.addFunc({
|
||||
breakpoint: 'mobile',
|
||||
enter: function() {
|
||||
$( "ul.tabs.primary li.active" ).clone().appendTo( "ul.tabs.primary" ).removeClass( "active" ).addClass( "current" );
|
||||
$( "ul.tabs.primary li.active" ).css("display", "none");
|
||||
},
|
||||
exit: function() {
|
||||
$( "ul.tabs.primary li.active" ).css("display", "table");
|
||||
$( "ul.tabs.primary li.current" ).css("display", "none");
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
|
||||
@@ -0,0 +1,117 @@
|
||||
(function($) {
|
||||
|
||||
Drupal.behaviors.moduleFilterUpdateStatus = {
|
||||
attach: function(context) {
|
||||
$('#module-filter-update-status-form').once('update-status', function() {
|
||||
var filterInput = $('input[name="module_filter[name]"]', context);
|
||||
filterInput.moduleFilter('table.update > tbody > tr', {
|
||||
wrapper: $('table.update:first').parent(),
|
||||
delay: 300,
|
||||
childSelector: 'div.project a',
|
||||
rules: [
|
||||
function(moduleFilter, item) {
|
||||
switch (moduleFilter.options.show) {
|
||||
case 'all':
|
||||
return true;
|
||||
case 'updates':
|
||||
if (item.state == 'warning' || item.state == 'error') {
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case 'security':
|
||||
if (item.state == 'error') {
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case 'ignore':
|
||||
if (item.state == 'ignored') {
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
case 'unknown':
|
||||
if (item.state == 'unknown') {
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
],
|
||||
buildIndex: [
|
||||
function(moduleFilter, item) {
|
||||
if ($('.version-status', item.element).text() == Drupal.t('Ignored from settings')) {
|
||||
item.state = 'ignored';
|
||||
return item;
|
||||
}
|
||||
if (item.element.is('.ok')) {
|
||||
item.state = 'ok';
|
||||
}
|
||||
else if (item.element.is('.warning')) {
|
||||
item.state = 'warning';
|
||||
}
|
||||
else if (item.element.is('.error')) {
|
||||
item.state = 'error';
|
||||
}
|
||||
else if (item.element.is('.unknown')) {
|
||||
item.state = 'unknown';
|
||||
}
|
||||
return item;
|
||||
}
|
||||
],
|
||||
show: $('#edit-module-filter-show input[name="module_filter[show]"]', context).val()
|
||||
});
|
||||
|
||||
var moduleFilter = filterInput.data('moduleFilter');
|
||||
|
||||
if (Drupal.settings.moduleFilter.rememberUpdateState) {
|
||||
var updateShow = Drupal.ModuleFilter.getState('updateShow');
|
||||
if (updateShow) {
|
||||
moduleFilter.options.show = updateShow;
|
||||
$('#edit-module-filter-show input[name="module_filter[show]"][value="' + updateShow + '"]', context).click();
|
||||
}
|
||||
}
|
||||
|
||||
$('#edit-module-filter-show input[name="module_filter[show]"]', context).change(function() {
|
||||
moduleFilter.options.show = $(this).val();
|
||||
Drupal.ModuleFilter.setState('updateShow', moduleFilter.options.show);
|
||||
moduleFilter.applyFilter();
|
||||
});
|
||||
|
||||
moduleFilter.element.bind('moduleFilter:start', function() {
|
||||
$('.overflow-fix').has('table.update').each(function() {
|
||||
$(this).show().prev('h3').show();
|
||||
});
|
||||
});
|
||||
|
||||
moduleFilter.element.bind('moduleFilter:finish', function(e, data) {
|
||||
$('.overflow-fix').has('table.update').each(function() {
|
||||
var $table = $(this);
|
||||
if ($('tbody tr', $(this)).filter(':visible').length == 0) {
|
||||
$table.hide().prev('h3').hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
moduleFilter.element.bind('moduleFilter:keyup', function() {
|
||||
if (moduleFilter.clearOffset == undefined) {
|
||||
moduleFilter.inputWidth = filterInput.width();
|
||||
moduleFilter.clearOffset = moduleFilter.element.parent().find('.module-filter-clear a').width();
|
||||
}
|
||||
if (moduleFilter.text) {
|
||||
filterInput.width(moduleFilter.inputWidth - moduleFilter.clearOffset - 5).parent().css('margin-right', moduleFilter.clearOffset + 5);
|
||||
}
|
||||
else {
|
||||
filterInput.width(moduleFilter.inputWidth).parent().css('margin-right', 0);
|
||||
}
|
||||
});
|
||||
|
||||
moduleFilter.element.parent().find('.module-filter-clear a').click(function() {
|
||||
filterInput.width(moduleFilter.inputWidth).parent().css('margin-right', 0);
|
||||
});
|
||||
|
||||
moduleFilter.applyFilter();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
@@ -0,0 +1,646 @@
|
||||
body.adminimal-skin-alternative {
|
||||
font-family: "Segoe UI", "Helvetica", sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative #branding div.breadcrumb {
|
||||
padding-bottom: 0px;
|
||||
margin-top: -4px;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative h1,
|
||||
body.adminimal-skin-alternative h2,
|
||||
body.adminimal-skin-alternative h3,
|
||||
body.adminimal-skin-alternative h4,
|
||||
body.adminimal-skin-alternative h5,
|
||||
body.adminimal-skin-alternative h6 {
|
||||
font-family: "Segoe UI", "Helvetica", sans-serif;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
/* Style checkbox and radio buttons in Chrome + Safari + Opera */
|
||||
@supports (-webkit-appearance:none) {
|
||||
.style-checkboxes input[type=checkbox],
|
||||
.style-checkboxes input[type=radio],
|
||||
.style-checkboxes input[type=checkbox]#edit-delete {
|
||||
-webkit-appearance:none;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
margin-right: 0.25em;
|
||||
padding: 0;
|
||||
background: #fff;
|
||||
border: 1px solid #B5B5B5;
|
||||
width: 16px !important;
|
||||
height: 16px !important;
|
||||
-webkit-transition: all 0.5s ease;
|
||||
-o-transition: all 0.5s ease;
|
||||
transition: background 0.5s ease;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.adminimal-theme .location .form-item input.form-checkbox {
|
||||
width: 16px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]#edit-delete {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=radio] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]:hover,
|
||||
.style-checkboxes input[type=checkbox]:focus,
|
||||
.style-checkboxes input[type=radio]:hover,
|
||||
.style-checkboxes input[type=radio]:focus {
|
||||
border-color: #0074BD;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]#edit-delete:hover,
|
||||
.style-checkboxes input[type=checkbox]#edit-delete:focus {
|
||||
border-color: #D01616;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]:checked,
|
||||
.style-checkboxes input[type=checkbox]:disabled:checked,
|
||||
.style-checkboxes input[type=radio]:checked,
|
||||
.style-checkboxes input[type=radio]:disabled:checked{
|
||||
background: #0074BD;
|
||||
box-shadow: inset 0px 0px 0px 4px #fff;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]#edit-delete:checked,
|
||||
.style-checkboxes input[type=checkbox]#edit-delete:disabled:checked {
|
||||
background: #D01616;
|
||||
box-shadow: inset 0px 0px 0px 4px #fff;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]:disabled,
|
||||
.style-checkboxes input[type=radio]:disabled {
|
||||
opacity: .5;
|
||||
background: #E2E2E2;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]#edit-delete:disabled {
|
||||
opacity: .5;
|
||||
background: #E88181;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]:disabled:hover {
|
||||
border-color: #B5B5B5;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]:disabled:hover,
|
||||
.style-checkboxes input[type=radio]:disabled:hover {
|
||||
border-color: #B5B5B5;
|
||||
cursor: default;
|
||||
/*cursor: not-allowed;*/
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
/* Gray Button */
|
||||
input.form-submit,
|
||||
a.button,
|
||||
div.exposed-filters input#edit-submit {
|
||||
cursor: pointer;
|
||||
background: #e3e3e3;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
padding: 6px 10px;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;/* LTR */
|
||||
color: #555;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
font-family: "Segoe UI", "Helvetica",sans-serif;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
input.form-submit:hover,
|
||||
a.button:hover,
|
||||
div.exposed-filters input#edit-submit:hover {
|
||||
background: #CECECE;
|
||||
}
|
||||
|
||||
input.form-submit:active,
|
||||
a.button:active,
|
||||
div.exposed-filters input#edit-submit:active {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
input.form-submit:focus,
|
||||
a.button:focus,
|
||||
div.exposed-filters input#edit-submit:focus {
|
||||
outline: 3px solid #EFEFEF;
|
||||
}
|
||||
|
||||
/* Green Button */
|
||||
input[type="submit"][id^="edit-submit"],
|
||||
input#edit-actions-submit,
|
||||
input[id^="save-continue"],
|
||||
input[type="submit"][id^="edit-save"],
|
||||
input#edit-save,
|
||||
input#edit-submit,
|
||||
input#edit-actions-save,
|
||||
.field-widget-inline-entity-form .container-inline .form-submit,
|
||||
#media-browser-page a.button-yes,
|
||||
input.add-new-condition,
|
||||
#edit-field-product-und-form-actions input.ief-entity-submit {
|
||||
cursor: pointer;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
padding: 6px 10px;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;/* LTR */
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
font-family: "Segoe UI", "Helvetica",sans-serif;
|
||||
background: #4d8f46;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
input[type="submit"][id^="edit-submit"]:hover,
|
||||
input#edit-actions-submit:hover,
|
||||
input[id^="save-continue"]:hover,
|
||||
input[type="submit"][id^="edit-save"]:hover,
|
||||
input#edit-save:hover,
|
||||
input#edit-submit:hover,
|
||||
input#edit-actions-save:hover,
|
||||
.field-widget-inline-entity-form .container-inline .form-submit:hover,
|
||||
#media-browser-page a.button-yes:hover,
|
||||
input.add-new-condition:hover,
|
||||
#edit-field-product-und-form-actions input.ief-entity-submit:hover {
|
||||
background: #0a6700;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input[type="submit"][id^="edit-submit"]:active,
|
||||
input#edit-actions-submit:active,
|
||||
input[id^="save-continue"]:active,
|
||||
input[type="submit"][id^="edit-save"]:active,
|
||||
input#edit-save:active,
|
||||
input#edit-submit:active,
|
||||
.field-widget-inline-entity-form .container-inline .form-submit:active,
|
||||
input#edit-actions-save:active,
|
||||
input.add-new-condition:active,
|
||||
#edit-field-product-und-form-actions input.ief-entity-submit:active {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input[type="submit"][id^="edit-submit"]:focus,
|
||||
input#edit-actions-submit:focus,
|
||||
input[id^="save-continue"]:focus,
|
||||
input[type="submit"][id^="edit-save"]:focus,
|
||||
input#edit-save:focus,
|
||||
input#edit-submit:focus,
|
||||
.field-widget-inline-entity-form .container-inline .form-submit:focus,
|
||||
input#edit-actions-save:focus,
|
||||
input.add-new-condition:focus,
|
||||
#edit-field-product-und-form-actions input.ief-entity-submit:focus {
|
||||
outline: 3px solid #D0E8CE;
|
||||
}
|
||||
|
||||
/* Red Button */
|
||||
input#edit-delete,
|
||||
input#remove-button,
|
||||
input#edit-remove,
|
||||
input#edit-clear,
|
||||
a.button.remove,
|
||||
.page-node-delete input#edit-submit,
|
||||
input[id*="remove-button"],
|
||||
.page-admin-modules-uninstall input#edit-submit,
|
||||
.remove-condition input,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="remove"].form-submit {
|
||||
cursor: pointer;
|
||||
padding: 6px 10px;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;/* LTR */
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
font-family: "Segoe UI", "Helvetica",sans-serif;
|
||||
background: #b73939;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
input#edit-delete:hover,
|
||||
input#remove-button:hover,
|
||||
input#edit-remove:hover,
|
||||
input#edit-clear:hover,
|
||||
a.button.remove:hover,
|
||||
.page-node-delete input#edit-submit:hover,
|
||||
input[id*="remove-button"]:hover,
|
||||
body.page-admin-modules-uninstall input#edit-submit:hover,
|
||||
.remove-condition input:hover,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="remove"].form-submit:hover {
|
||||
background: #990000;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input#edit-delete:active,
|
||||
input#remove-button:active,
|
||||
input#edit-remove:active,
|
||||
input#edit-clear:active,
|
||||
.page-node-delete input#edit-submit:active,
|
||||
input[id*="remove-button"]:active,
|
||||
body.page-admin-modules-uninstall input#edit-submit:active,
|
||||
.remove-condition input:active,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="remove"].form-submit:active {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input#edit-delete:focus,
|
||||
input#remove-button:focus,
|
||||
input#edit-remove:focus,
|
||||
input#edit-clear:focus,
|
||||
.page-node-delete input#edit-submit:focus,
|
||||
input[id*="remove-button"]:focus,
|
||||
body.page-admin-modules-uninstall input#edit-submit:focus,
|
||||
.remove-condition input:focus,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="remove"].form-submit:focus {
|
||||
outline: 3px solid #FFD8D8;
|
||||
}
|
||||
|
||||
/* Blue Button */
|
||||
input#edit-preview,
|
||||
input#edit-next,
|
||||
input#preview-submit,
|
||||
input.ief-entity-submit,
|
||||
input[type="submit"][id^="edit-return"],
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="edit"] {
|
||||
cursor: pointer;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
padding: 6px 10px;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;/* LTR */
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
font-family: "Segoe UI", "Helvetica",sans-serif;
|
||||
background: #0074BD;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
input#edit-preview:hover,
|
||||
input#edit-next:hover,
|
||||
input#preview-submit:hover,
|
||||
input.ief-entity-submit:hover,
|
||||
input[type="submit"][id^="edit-return"]:hover,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="edit"]:hover {
|
||||
background: #004c99;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input#edit-preview:active,
|
||||
input#edit-next:active,
|
||||
input#preview-submit:active,
|
||||
input.ief-entity-submit:active,
|
||||
input[type="submit"][id^="edit-return"]:active,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="edit"]:active {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input#edit-preview:focus,
|
||||
input#edit-next:focus,
|
||||
input#preview-submit:focus,
|
||||
input.ief-entity-submit:focus,
|
||||
input[type="submit"][id^="edit-return"]:focus,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="edit"]:focus {
|
||||
outline: 3px solid #D2E4F7;
|
||||
}
|
||||
|
||||
/* Orange Button */
|
||||
#edit-cancel,
|
||||
#edit-actions-cancel,
|
||||
input#edit-buttons-revert,
|
||||
#media-browser-page a.button-no,
|
||||
.field-widget-inline-entity-form input[id*="cancel"] {
|
||||
cursor: pointer;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
padding: 6px 10px;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;/* LTR */
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
font-family: "Segoe UI", "Helvetica",sans-serif;
|
||||
background: #f69231;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
a#edit-cancel,a#edit-actions-cancel {
|
||||
padding: 6px 10px;
|
||||
text-decoration: none;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#edit-cancel:hover,
|
||||
#edit-actions-cancel:hover,
|
||||
input#edit-buttons-revert:hover,
|
||||
#media-browser-page a.button-no:hover,
|
||||
.field-widget-inline-entity-form input[id*="cancel"]:hover {
|
||||
background: #ef6114;
|
||||
text-decoration: none;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#edit-cancel:active,
|
||||
#edit-actions-cancel:active,
|
||||
input#edit-buttons-revert:active,
|
||||
.field-widget-inline-entity-form input[id*="cancel"]:active {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#edit-cancel:focus,
|
||||
#edit-actions-cancel:focus,
|
||||
input#edit-buttons-revert:focus,
|
||||
.field-widget-inline-entity-form input[id*="cancel"]:focus {
|
||||
outline: 3px solid #FFE8D2;
|
||||
}
|
||||
|
||||
html body input.disabled,
|
||||
html body input.disabled:hover,
|
||||
html body input.disabled:active,
|
||||
html body input.disabled:focus {
|
||||
background-color: #A0A0A0;
|
||||
color: #CCCCCC;
|
||||
text-decoration: line-through;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
input[type="submit"]:disabled {
|
||||
background: repeating-linear-gradient(
|
||||
-45deg,
|
||||
#FFFFFF,
|
||||
#D2D2D2 4px
|
||||
) !important;
|
||||
color: #6B6B6B !important;
|
||||
cursor: not-allowed !important;
|
||||
outline: none !important;
|
||||
opacity: 0.665 !important;
|
||||
text-shadow: 1px 1px 0px #fff !important;
|
||||
}
|
||||
|
||||
/* END Buttons */
|
||||
|
||||
strong {
|
||||
font-family: "Segoe UI", "Helvetica",sans-serif !important;
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
|
||||
/* Omega Fieldset fix */
|
||||
html body.adminimal-skin-alternative.page-admin-appearance.page-admin-appearance-settings-omega fieldset {
|
||||
border: solid 1px #ddd !important;
|
||||
border-top: 3px solid #0074BD !important;
|
||||
padding: 12px !important;
|
||||
margin: 18px 0 !important;
|
||||
}
|
||||
|
||||
html body.adminimal-skin-alternative.page-admin-appearance.page-admin-appearance-settings-omega fieldset legend {
|
||||
color: #484848 !important;
|
||||
}
|
||||
|
||||
div.breadcrumb a {
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
ul.action-links a {
|
||||
padding: 0px 20px;
|
||||
font-family: "Segoe UI", "Helvetica", sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
background: #fff;
|
||||
line-height: 30px;
|
||||
border: 2px solid #0074BD;
|
||||
margin: 5px auto;
|
||||
border-radius: 100px;
|
||||
display: block;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
body.no-rounded-buttons ul.action-links a {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
ul.action-links a:hover {
|
||||
text-decoration: none;
|
||||
background: #0074BD;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#admin-menu {
|
||||
box-shadow: none;
|
||||
background: #2B2B2B;
|
||||
}
|
||||
|
||||
#admin-menu .dropdown .admin-menu-toolbar-category > a.active-trail {
|
||||
background: #0074BD;
|
||||
}
|
||||
|
||||
.overlay #overlay-close,
|
||||
.overlay #overlay-close:hover {
|
||||
height: 44px;
|
||||
background-position-y: 10px;
|
||||
left: -36px;
|
||||
}
|
||||
|
||||
.overlay #overlay-tabs {
|
||||
right: 2px;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative fieldset legend {
|
||||
background: white;
|
||||
padding: 0 6px;
|
||||
margin: 0;
|
||||
margin-left: -6px;
|
||||
font-family: "Segoe UI", "Helvetica",sans-serif;
|
||||
font-size: 21px;
|
||||
font-weight: 100;
|
||||
color: #9E9E9E;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative fieldset legend span {
|
||||
/*border-bottom: 3px solid #F1F1F1;*/
|
||||
/*padding-bottom: 10px;*/
|
||||
display: inline-block;
|
||||
font-size: 21px;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative fieldset:hover legend span {
|
||||
/*border-color: #0074BD;*/
|
||||
/*color: #000;*/
|
||||
}
|
||||
|
||||
html body.adminimal-skin-alternative.page-admin-appearance fieldset legend {
|
||||
background: white !important;
|
||||
padding: 0 6px !important;
|
||||
margin: 0 !important;
|
||||
margin-left: -6px !important;
|
||||
font-family: "Segoe UI", "Helvetica",sans-serif !important;
|
||||
font-size: 21px !important;
|
||||
font-weight: 100 !important;
|
||||
color: #AFAFAF !important;
|
||||
margin-bottom: 2px !important;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative fieldset {
|
||||
border: none;
|
||||
border-top: none;
|
||||
padding: 12px 0;
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative div.vertical-tabs .vertical-tabs-panes {
|
||||
margin: 0 0 0 265px;
|
||||
padding: 20px 15px 10px 0;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative .form-item label {
|
||||
font-family: "Segoe UI", "Helvetica", sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative .form-item.form-type-checkbox label {
|
||||
font-family: "Segoe UI", "Helvetica", sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative .form-item.form-type-radio label {
|
||||
font-family: "Segoe UI", "Helvetica", sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative #branding {
|
||||
overflow: hidden;
|
||||
padding: 12px 20px 0 20px;
|
||||
position: relative;
|
||||
background-color: #3B3C3E;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative #branding h1.page-title {
|
||||
color: #FFFFFF;
|
||||
float: left;
|
||||
font-family: "Segoe UI", "Helvetica", sans-serif;
|
||||
font-size: 32px;
|
||||
font-weight: 300;
|
||||
line-height: 38px;
|
||||
margin: 0;
|
||||
padding: 0 0 12px;
|
||||
letter-spacing: normal;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative div.add-or-remove-shortcuts {
|
||||
padding-top: 18px;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative #toolbar div.toolbar-menu {
|
||||
background: #464646;
|
||||
box-shadow: 0 0 6px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative #toolbar div.toolbar-menu ul li a:hover {
|
||||
background: #5D5D5D;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative.adminimal-menu div#admin-menu {
|
||||
background: #424242;
|
||||
border-bottom: 1px solid #3B3C3E;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative.adminimal-menu #admin-menu #admin-menu-wrapper .dropdown li li.expandable,
|
||||
body.adminimal-skin-alternative.adminimal-menu #admin-menu .dropdown li li,
|
||||
body.adminimal-skin-alternative.adminimal-menu.admin-menu.menu-render-collapsed div.shortcut-toolbar div#toolbar div.toolbar-shortcuts ul.menu:hover li {
|
||||
background-color: #353535;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative.adminimal-menu.admin-menu.menu-render-collapsed div.shortcut-toolbar div#toolbar div.toolbar-shortcuts ul.menu li.label a:hover {
|
||||
background-color: #353535 !important;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative.adminimal-theme.page-admin-structure-features fieldset legend {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative.adminimal-theme.page-admin-structure-features fieldset.features-export-component .fieldset-wrapper .form-checkboxes {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative.adminimal-theme.page-admin-structure-features #features-filter span {
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative.adminimal-theme.page-admin-structure-features #features-filter .form-item.form-type-checkbox.form-item-checkall {
|
||||
margin: 5px 2px;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative table th {
|
||||
font-family: "Segoe UI", "Helvetica", sans-serif;
|
||||
background-color: #F3F3F3;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative table th.active {
|
||||
background-color: #0074BD;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative #permissions td.module {
|
||||
font-family: "Segoe UI", "Helvetica", sans-serif;
|
||||
color: #4C4C4C;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative div.form-type-radio div.description,
|
||||
body.adminimal-skin-alternative div.form-type-checkbox div.description {
|
||||
color: #AFAFAF;
|
||||
}
|
||||
|
||||
body.adminimal-skin-alternative tr.even,
|
||||
body.adminimal-skin-alternative tr.odd {
|
||||
background-color: #fff;
|
||||
transition: all, 0.2s;
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
body.mac,
|
||||
body.mac input[type="submit"],
|
||||
body.mac div.admin-panel h3 {
|
||||
font-family: Helvetica !important;
|
||||
}
|
||||
|
||||
body.mac .form-item label {
|
||||
font-family: "Helvetica", sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
body.mac .form-item.form-type-checkbox label {
|
||||
font-family: "Helvetica", sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 300;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
body.mac .exposed-filters .form-item label {
|
||||
line-height: 38px;
|
||||
}
|
||||
|
||||
body.mac.style-checkboxes input[type=checkbox] {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 2px;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
body.mac.style-checkboxes input[type=radio] {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
body.mac.style-checkboxes input[type=checkbox]:checked,
|
||||
body.mac.style-checkboxes input[type=checkbox]:disabled:checked,
|
||||
body.mac.style-checkboxes input[type=radio]:checked,
|
||||
body.mac.style-checkboxes input[type=radio]:disabled:checked {
|
||||
box-shadow: inset 0px 0px 0px 4px #fff;
|
||||
}
|
||||
|
||||
body.mac table th {
|
||||
font-family: "Helvetica", sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
color: #696969;
|
||||
}
|
||||
|
||||
body.mac input.form-file {
|
||||
background: #F5F5F5;
|
||||
border: none;
|
||||
}
|
||||
|
||||
body.mac div.add-or-remove-shortcuts {
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
body.adminimal-theme.mac .exposed-filters .container-inline .form-actions,
|
||||
body.mac .exposed-filters .container-inline.form-actions {
|
||||
margin: 4px 0 0 -5px;
|
||||
}
|
||||
|
||||
body.mac input[type="submit"]{
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
@@ -0,0 +1,466 @@
|
||||
/* Style checkbox and radio buttons in Chrome + Safari + Opera */
|
||||
@supports (-webkit-appearance:none) {
|
||||
.style-checkboxes input[type=checkbox],
|
||||
.style-checkboxes input[type=radio],
|
||||
.style-checkboxes input[type=checkbox]#edit-delete {
|
||||
-webkit-appearance:none;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
margin-right: 0.25em;
|
||||
padding: 0;
|
||||
background: #fff;
|
||||
border: 1px solid #B5B5B5;
|
||||
width: 16px !important;
|
||||
height: 16px !important;
|
||||
-webkit-transition: all 0.5s ease;
|
||||
-o-transition: all 0.5s ease;
|
||||
transition: background 0.5s ease;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.adminimal-theme .location .form-item input.form-checkbox {
|
||||
width: 16px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]#edit-delete {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=radio] {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]:hover,
|
||||
.style-checkboxes input[type=checkbox]:focus,
|
||||
.style-checkboxes input[type=radio]:hover,
|
||||
.style-checkboxes input[type=radio]:focus {
|
||||
border-color: #0074BD;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]#edit-delete:hover,
|
||||
.style-checkboxes input[type=checkbox]#edit-delete:focus {
|
||||
border-color: #D01616;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]:checked,
|
||||
.style-checkboxes input[type=checkbox]:disabled:checked,
|
||||
.style-checkboxes input[type=radio]:checked,
|
||||
.style-checkboxes input[type=radio]:disabled:checked{
|
||||
background: #0074BD;
|
||||
box-shadow: inset 0px 0px 0px 4px #fff;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]#edit-delete:checked,
|
||||
.style-checkboxes input[type=checkbox]#edit-delete:disabled:checked {
|
||||
background: #D01616;
|
||||
box-shadow: inset 0px 0px 0px 4px #fff;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]:disabled,
|
||||
.style-checkboxes input[type=radio]:disabled {
|
||||
opacity: .5;
|
||||
background: #E2E2E2;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]#edit-delete:disabled {
|
||||
opacity: .5;
|
||||
background: #E88181;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]:disabled:hover {
|
||||
border-color: #B5B5B5;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.style-checkboxes input[type=checkbox]:disabled:hover,
|
||||
.style-checkboxes input[type=radio]:disabled:hover {
|
||||
border-color: #B5B5B5;
|
||||
cursor: default;
|
||||
/*cursor: not-allowed;*/
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
/* Gray Button */
|
||||
input.form-submit,
|
||||
a.button,
|
||||
div.exposed-filters input#edit-submit {
|
||||
cursor: pointer;
|
||||
background: #e3e3e3;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
padding: 6px 10px;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;/* LTR */
|
||||
color: #555;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-size: 1.077em;
|
||||
font-family: "Lucida Grande",Verdana,sans-serif;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
input.form-submit:hover,
|
||||
a.button:hover,
|
||||
div.exposed-filters input#edit-submit:hover {
|
||||
background: #CECECE;
|
||||
}
|
||||
|
||||
input.form-submit:active,
|
||||
a.button:active,
|
||||
div.exposed-filters input#edit-submit:active {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
input.form-submit:focus,
|
||||
a.button:focus,
|
||||
div.exposed-filters input#edit-submit:focus {
|
||||
outline: 3px solid #EFEFEF;
|
||||
}
|
||||
|
||||
/* Green Button */
|
||||
input[type="submit"][id^="edit-submit"],
|
||||
input#edit-actions-submit,
|
||||
input[id^="save-continue"],
|
||||
input[type="submit"][id^="edit-save"],
|
||||
input#edit-save,
|
||||
input#edit-submit,
|
||||
input#edit-actions-save,
|
||||
.field-widget-inline-entity-form .container-inline .form-submit,
|
||||
#media-browser-page a.button-yes,
|
||||
input.add-new-condition,
|
||||
#edit-field-product-und-form-actions input.ief-entity-submit {
|
||||
cursor: pointer;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
padding: 6px 10px;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;/* LTR */
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-size: 1.077em;
|
||||
font-family: "Lucida Grande",Verdana,sans-serif;
|
||||
background: #4d8f46;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
input[type="submit"][id^="edit-submit"]:hover,
|
||||
input#edit-actions-submit:hover,
|
||||
input[id^="save-continue"]:hover,
|
||||
input[type="submit"][id^="edit-save"]:hover,
|
||||
input#edit-save:hover,
|
||||
input#edit-submit:hover,
|
||||
input#edit-actions-save:hover,
|
||||
.field-widget-inline-entity-form .container-inline .form-submit:hover,
|
||||
#media-browser-page a.button-yes:hover,
|
||||
input.add-new-condition:hover,
|
||||
#edit-field-product-und-form-actions input.ief-entity-submit:hover {
|
||||
background: #0a6700;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input[type="submit"][id^="edit-submit"]:active,
|
||||
input#edit-actions-submit:active,
|
||||
input[id^="save-continue"]:active,
|
||||
input[type="submit"][id^="edit-save"]:active,
|
||||
input#edit-save:active,
|
||||
input#edit-submit:active,
|
||||
.field-widget-inline-entity-form .container-inline .form-submit:active,
|
||||
input#edit-actions-save:active,
|
||||
input.add-new-condition:active,
|
||||
#edit-field-product-und-form-actions input.ief-entity-submit:active {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input[type="submit"][id^="edit-submit"]:focus,
|
||||
input#edit-actions-submit:focus,
|
||||
input[id^="save-continue"]:focus,
|
||||
input[type="submit"][id^="edit-save"]:focus,
|
||||
input#edit-save:focus,
|
||||
input#edit-submit:focus,
|
||||
.field-widget-inline-entity-form .container-inline .form-submit:focus,
|
||||
input#edit-actions-save:focus,
|
||||
input.add-new-condition:focus,
|
||||
#edit-field-product-und-form-actions input.ief-entity-submit:focus {
|
||||
outline: 3px solid #D0E8CE;
|
||||
}
|
||||
|
||||
/* Red Button */
|
||||
input#edit-delete,
|
||||
input#remove-button,
|
||||
input#edit-remove,
|
||||
input#edit-clear,
|
||||
a.button.remove,
|
||||
.page-node-delete input#edit-submit,
|
||||
input[id*="remove-button"],
|
||||
.page-admin-modules-uninstall input#edit-submit,
|
||||
.remove-condition input,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="remove"].form-submit {
|
||||
cursor: pointer;
|
||||
padding: 6px 10px;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;/* LTR */
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-size: 1.077em;
|
||||
font-family: "Lucida Grande",Verdana,sans-serif;
|
||||
background: #b73939;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
input#edit-delete:hover,
|
||||
input#remove-button:hover,
|
||||
input#edit-remove:hover,
|
||||
input#edit-clear:hover,
|
||||
a.button.remove:hover,
|
||||
.page-node-delete input#edit-submit:hover,
|
||||
input[id*="remove-button"]:hover,
|
||||
body.page-admin-modules-uninstall input#edit-submit:hover,
|
||||
.remove-condition input:hover,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="remove"].form-submit:hover {
|
||||
background: #990000;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input#edit-delete:active,
|
||||
input#remove-button:active,
|
||||
input#edit-remove:active,
|
||||
input#edit-clear:active,
|
||||
.page-node-delete input#edit-submit:active,
|
||||
input[id*="remove-button"]:active,
|
||||
body.page-admin-modules-uninstall input#edit-submit:active,
|
||||
.remove-condition input:active,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="remove"].form-submit:active {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input#edit-delete:focus,
|
||||
input#remove-button:focus,
|
||||
input#edit-remove:focus,
|
||||
input#edit-clear:focus,
|
||||
.page-node-delete input#edit-submit:focus,
|
||||
input[id*="remove-button"]:focus,
|
||||
body.page-admin-modules-uninstall input#edit-submit:focus,
|
||||
.remove-condition input:focus,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="remove"].form-submit:focus {
|
||||
outline: 3px solid #FFD8D8;
|
||||
}
|
||||
|
||||
/* Blue Button */
|
||||
input#edit-preview,
|
||||
input#edit-next,
|
||||
input#preview-submit,
|
||||
input.ief-entity-submit,
|
||||
input[type="submit"][id^="edit-return"],
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="edit"] {
|
||||
cursor: pointer;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
padding: 6px 10px;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;/* LTR */
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-size: 1.077em;
|
||||
font-family: "Lucida Grande",Verdana,sans-serif;
|
||||
background: #0074BD;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
input#edit-preview:hover,
|
||||
input#edit-next:hover,
|
||||
input#preview-submit:hover,
|
||||
input.ief-entity-submit:hover,
|
||||
input[type="submit"][id^="edit-return"]:hover,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="edit"]:hover {
|
||||
background: #004c99;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input#edit-preview:active,
|
||||
input#edit-next:active,
|
||||
input#preview-submit:active,
|
||||
input.ief-entity-submit:active,
|
||||
input[type="submit"][id^="edit-return"]:active,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="edit"]:active {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
input#edit-preview:focus,
|
||||
input#edit-next:focus,
|
||||
input#preview-submit:focus,
|
||||
input.ief-entity-submit:focus,
|
||||
input[type="submit"][id^="edit-return"]:focus,
|
||||
.field-widget-inline-entity-form .ief-entity-operations input[id*="edit"]:focus {
|
||||
outline: 3px solid #D2E4F7;
|
||||
}
|
||||
|
||||
/* Orange Button */
|
||||
#edit-cancel,
|
||||
#edit-actions-cancel,
|
||||
input#edit-buttons-revert,
|
||||
#media-browser-page a.button-no,
|
||||
.field-widget-inline-entity-form input[id*="cancel"] {
|
||||
cursor: pointer;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
padding: 6px 10px;
|
||||
margin-bottom: 1em;
|
||||
margin-right: 1em;/* LTR */
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
font-size: 1.077em;
|
||||
font-family: "Lucida Grande",Verdana,sans-serif;
|
||||
background: #f69231;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
a#edit-cancel,a#edit-actions-cancel {
|
||||
padding: 6px 10px;
|
||||
text-decoration: none;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#edit-cancel:hover,
|
||||
#edit-actions-cancel:hover,
|
||||
input#edit-buttons-revert:hover,
|
||||
#media-browser-page a.button-no:hover,
|
||||
.field-widget-inline-entity-form input[id*="cancel"]:hover {
|
||||
background: #ef6114;
|
||||
text-decoration: none;
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#edit-cancel:active,
|
||||
#edit-actions-cancel:active,
|
||||
input#edit-buttons-revert:active,
|
||||
.field-widget-inline-entity-form input[id*="cancel"]:active {
|
||||
border-radius: 0;
|
||||
border: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#edit-cancel:focus,
|
||||
#edit-actions-cancel:focus,
|
||||
input#edit-buttons-revert:focus,
|
||||
.field-widget-inline-entity-form input[id*="cancel"]:focus {
|
||||
outline: 3px solid #FFE8D2;
|
||||
}
|
||||
|
||||
html body input.disabled,
|
||||
html body input.disabled:hover,
|
||||
html body input.disabled:active,
|
||||
html body input.disabled:focus {
|
||||
background-color: #A0A0A0;
|
||||
color: #CCCCCC;
|
||||
text-decoration: line-through;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
input[type="submit"]:disabled {
|
||||
background: repeating-linear-gradient(
|
||||
-45deg,
|
||||
#FFFFFF,
|
||||
#D2D2D2 4px
|
||||
) !important;
|
||||
color: #6B6B6B !important;
|
||||
cursor: not-allowed !important;
|
||||
outline: none !important;
|
||||
opacity: 0.665 !important;
|
||||
text-shadow: 1px 1px 0px #fff !important;
|
||||
}
|
||||
|
||||
/* END Buttons */
|
||||
|
||||
strong {
|
||||
font-family: Arial, Helvetica, sans-serif !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
/* Omega Fieldset fix */
|
||||
body.page-admin-appearance-settings-omega fieldset {
|
||||
border: solid 1px #ddd !important;
|
||||
border-top: 3px solid #0074BD !important;
|
||||
padding: 12px !important;
|
||||
margin: 18px 0 !important;
|
||||
}
|
||||
|
||||
div.breadcrumb a {
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
ul.action-links a {
|
||||
padding: 0px 20px;
|
||||
font-family: "Helvetica", sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
background: #fff;
|
||||
line-height: 30px;
|
||||
border: 2px solid #0074BD;
|
||||
margin: 5px auto;
|
||||
border-radius: 100px;
|
||||
display: block;
|
||||
transition: all, 0.3s;
|
||||
}
|
||||
|
||||
body.no-rounded-buttons ul.action-links a {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
ul.action-links a:hover {
|
||||
text-decoration: none;
|
||||
background: #0074BD;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#admin-menu {
|
||||
box-shadow: none;
|
||||
background: #2B2B2B;
|
||||
}
|
||||
|
||||
#admin-menu .dropdown .admin-menu-toolbar-category > a.active-trail {
|
||||
background: #0074BD;
|
||||
}
|
||||
|
||||
.overlay #overlay-close,
|
||||
.overlay #overlay-close:hover {
|
||||
height: 44px;
|
||||
background-position-y: 10px;
|
||||
left: -36px;
|
||||
}
|
||||
|
||||
.overlay #overlay-tabs {
|
||||
right: 2px;
|
||||
}
|
||||
|
||||
body.sticky-actions .form-actions.form-wrapper {
|
||||
box-shadow: -20px 2px 40px rgba(0,0,0,0.4);
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
body.mac,
|
||||
body.mac input[type="submit"],
|
||||
body.mac div.admin-panel h3 {
|
||||
font-family: Helvetica !important;
|
||||
}
|
||||
|
||||
body.mac .exposed-filters .form-item label {
|
||||
line-height: 38px;
|
||||
}
|
||||
|
||||
body.mac.style-checkboxes input[type=checkbox] {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 2px;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
body.mac.style-checkboxes input[type=radio] {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
top: 2px;
|
||||
}
|
||||
|
||||
body.mac.style-checkboxes input[type=checkbox]:checked,
|
||||
body.mac.style-checkboxes input[type=checkbox]:disabled:checked,
|
||||
body.mac.style-checkboxes input[type=radio]:checked,
|
||||
body.mac.style-checkboxes input[type=radio]:disabled:checked {
|
||||
box-shadow: inset 0px 0px 0px 4px #fff;
|
||||
}
|
||||
|
||||
body.mac table th {
|
||||
font-family: "Helvetica", sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
color: #696969;
|
||||
}
|
||||
|
||||
body.mac input.form-file {
|
||||
background: #F5F5F5;
|
||||
border: none;
|
||||
}
|
||||
|
||||
body.mac #branding h1.page-title {
|
||||
margin: -2px 0 4px 0;
|
||||
}
|
||||
|
||||
body.mac div.add-or-remove-shortcuts {
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
body.adminimal-theme.mac .exposed-filters .container-inline .form-actions,
|
||||
body.mac .exposed-filters .container-inline.form-actions {
|
||||
margin: 4px 0 0 -5px;
|
||||
}
|
||||
|
||||
body.mac input[type="submit"]{
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="14px" height="14px" viewBox="377 377 14 14" enable-background="new 377 377 14 14" xml:space="preserve">
|
||||
<path fill="#FFFFFF" enable-background="new " d="M382.449,385.252l-2.872-2.884l-1.776,1.788l4.637,4.614l7.763-7.752
|
||||
l-1.765-1.788L382.449,385.252z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 633 B |
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,378 @@
|
||||
(function($) {
|
||||
'use strict';
|
||||
|
||||
// Add wave effect.
|
||||
Drupal.behaviors.adminimal_material_wave_effect = {
|
||||
attach: function (context, settings) {
|
||||
// Init Waves
|
||||
$( ".action-links li a" ).addClass("waves-effect waves-button waves-float waves-classic");
|
||||
//$( ".form-actions input" ).addClass("waves-effect");
|
||||
//$( 'input[type="submit"]' ).addClass("waves-effect");
|
||||
$( "#navigation ul.tabs.primary li a" ).addClass("waves-effect waves-button waves-classic");
|
||||
$( "#navigation ul.tabs.secondary li a" ).addClass("waves-effect waves-button waves-classic");
|
||||
$( "#admin-menu a" ).addClass("waves-effect waves-button waves-light waves-classic");
|
||||
$( ".theme-info .operations a" ).addClass("waves-effect waves-button waves-classic");
|
||||
$( "table tbody td a" ).addClass("waves-effect waves-button waves-classic");
|
||||
}
|
||||
};
|
||||
|
||||
})(jQuery);
|
||||
|
||||
/*!
|
||||
* Waves v0.6.6
|
||||
* http://fian.my.id/Waves
|
||||
*
|
||||
* Copyright 2014 Alfiana E. Sibuea and other contributors
|
||||
* Released under the MIT license
|
||||
* https://github.com/fians/Waves/blob/master/LICENSE
|
||||
*/
|
||||
|
||||
;(function(window, factory) {
|
||||
"use strict";
|
||||
|
||||
// AMD. Register as an anonymous module. Wrap in function so we have access
|
||||
// to root via `this`.
|
||||
if (typeof define === "function" && define.amd) {
|
||||
define([], function() {
|
||||
return factory.apply(window);
|
||||
});
|
||||
}
|
||||
|
||||
// Node. Does not work with strict CommonJS, but only CommonJS-like
|
||||
// environments that support module.exports, like Node.
|
||||
else if (typeof exports === "object") {
|
||||
module.exports = factory.call(window);
|
||||
}
|
||||
|
||||
// Browser globals.
|
||||
else {
|
||||
window.Waves = factory.call(window);
|
||||
}
|
||||
})(typeof global === "object" ? global : this, function () {
|
||||
"use strict";
|
||||
|
||||
var Waves = Waves || {};
|
||||
var $$ = document.querySelectorAll.bind(document);
|
||||
|
||||
// Find exact position of element
|
||||
function isWindow(obj) {
|
||||
return obj !== null && obj === obj.window;
|
||||
}
|
||||
|
||||
function getWindow(elem) {
|
||||
return isWindow(elem) ? elem : elem.nodeType === 9 && elem.defaultView;
|
||||
}
|
||||
|
||||
function offset(elem) {
|
||||
var docElem, win,
|
||||
box = {top: 0, left: 0},
|
||||
doc = elem && elem.ownerDocument;
|
||||
|
||||
docElem = doc.documentElement;
|
||||
|
||||
if (typeof elem.getBoundingClientRect !== typeof undefined) {
|
||||
box = elem.getBoundingClientRect();
|
||||
}
|
||||
win = getWindow(doc);
|
||||
return {
|
||||
top: box.top + win.pageYOffset - docElem.clientTop,
|
||||
left: box.left + win.pageXOffset - docElem.clientLeft
|
||||
};
|
||||
}
|
||||
|
||||
function convertStyle(obj) {
|
||||
var style = '';
|
||||
|
||||
for (var a in obj) {
|
||||
if (obj.hasOwnProperty(a)) {
|
||||
style += (a + ':' + obj[a] + ';');
|
||||
}
|
||||
}
|
||||
|
||||
return style;
|
||||
}
|
||||
|
||||
var Effect = {
|
||||
|
||||
// Effect delay
|
||||
duration: 750,
|
||||
|
||||
show: function(e, element) {
|
||||
|
||||
// Disable right click
|
||||
if (e.button === 2) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var el = element || this;
|
||||
|
||||
// Create ripple
|
||||
var ripple = document.createElement('div');
|
||||
ripple.className = 'waves-ripple';
|
||||
el.appendChild(ripple);
|
||||
|
||||
// Get click coordinate and element witdh
|
||||
var pos = offset(el);
|
||||
var relativeY = (e.pageY - pos.top);
|
||||
var relativeX = (e.pageX - pos.left);
|
||||
var scale = 'scale('+((el.clientWidth / 100) * 3)+')';
|
||||
|
||||
// Support for touch devices
|
||||
if ('touches' in e) {
|
||||
relativeY = (e.touches[0].pageY - pos.top);
|
||||
relativeX = (e.touches[0].pageX - pos.left);
|
||||
}
|
||||
|
||||
// Attach data to element
|
||||
ripple.setAttribute('data-hold', Date.now());
|
||||
ripple.setAttribute('data-scale', scale);
|
||||
ripple.setAttribute('data-x', relativeX);
|
||||
ripple.setAttribute('data-y', relativeY);
|
||||
|
||||
// Set ripple position
|
||||
var rippleStyle = {
|
||||
'top': relativeY+'px',
|
||||
'left': relativeX+'px'
|
||||
};
|
||||
|
||||
ripple.className = ripple.className + ' waves-notransition';
|
||||
ripple.setAttribute('style', convertStyle(rippleStyle));
|
||||
ripple.className = ripple.className.replace('waves-notransition', '');
|
||||
|
||||
// Scale the ripple
|
||||
rippleStyle['-webkit-transform'] = scale;
|
||||
rippleStyle['-moz-transform'] = scale;
|
||||
rippleStyle['-ms-transform'] = scale;
|
||||
rippleStyle['-o-transform'] = scale;
|
||||
rippleStyle.transform = scale;
|
||||
rippleStyle.opacity = '1';
|
||||
|
||||
rippleStyle['-webkit-transition-duration'] = Effect.duration + 'ms';
|
||||
rippleStyle['-moz-transition-duration'] = Effect.duration + 'ms';
|
||||
rippleStyle['-o-transition-duration'] = Effect.duration + 'ms';
|
||||
rippleStyle['transition-duration'] = Effect.duration + 'ms';
|
||||
|
||||
ripple.setAttribute('style', convertStyle(rippleStyle));
|
||||
},
|
||||
|
||||
hide: function(e) {
|
||||
TouchHandler.touchup(e);
|
||||
|
||||
var el = this;
|
||||
var width = el.clientWidth * 1.4;
|
||||
|
||||
// Get first ripple
|
||||
var ripple = null;
|
||||
var ripples = el.getElementsByClassName('waves-ripple');
|
||||
if (ripples.length > 0) {
|
||||
ripple = ripples[ripples.length - 1];
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
var relativeX = ripple.getAttribute('data-x');
|
||||
var relativeY = ripple.getAttribute('data-y');
|
||||
var scale = ripple.getAttribute('data-scale');
|
||||
|
||||
// Get delay beetween mousedown and mouse leave
|
||||
var diff = Date.now() - Number(ripple.getAttribute('data-hold'));
|
||||
var delay = 350 - diff;
|
||||
|
||||
if (delay < 0) {
|
||||
delay = 0;
|
||||
}
|
||||
|
||||
// Fade out ripple after delay
|
||||
setTimeout(function() {
|
||||
var style = {
|
||||
'top': relativeY+'px',
|
||||
'left': relativeX+'px',
|
||||
'opacity': '0',
|
||||
|
||||
// Duration
|
||||
'-webkit-transition-duration': Effect.duration + 'ms',
|
||||
'-moz-transition-duration': Effect.duration + 'ms',
|
||||
'-o-transition-duration': Effect.duration + 'ms',
|
||||
'transition-duration': Effect.duration + 'ms',
|
||||
'-webkit-transform': scale,
|
||||
'-moz-transform': scale,
|
||||
'-ms-transform': scale,
|
||||
'-o-transform': scale,
|
||||
'transform': scale
|
||||
};
|
||||
|
||||
ripple.setAttribute('style', convertStyle(style));
|
||||
|
||||
setTimeout(function() {
|
||||
try {
|
||||
el.removeChild(ripple);
|
||||
} catch(e) {
|
||||
return false;
|
||||
}
|
||||
}, Effect.duration);
|
||||
}, delay);
|
||||
},
|
||||
|
||||
// Little hack to make <input> can perform waves effect
|
||||
wrapInput: function(elements) {
|
||||
for (var a = 0; a < elements.length; a++) {
|
||||
var el = elements[a];
|
||||
|
||||
if (el.tagName.toLowerCase() === 'input') {
|
||||
var parent = el.parentNode;
|
||||
|
||||
// If input already have parent just pass through
|
||||
if (parent.tagName.toLowerCase() === 'i' && parent.className.indexOf('waves-effect') !== -1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Put element class and style to the specified parent
|
||||
var wrapper = document.createElement('i');
|
||||
wrapper.className = el.className + ' waves-input-wrapper';
|
||||
|
||||
var elementStyle = el.getAttribute('style');
|
||||
|
||||
if (!elementStyle) {
|
||||
elementStyle = '';
|
||||
}
|
||||
|
||||
wrapper.setAttribute('style', elementStyle);
|
||||
|
||||
el.className = 'waves-button-input';
|
||||
el.removeAttribute('style');
|
||||
|
||||
// Put element as child
|
||||
parent.replaceChild(wrapper, el);
|
||||
wrapper.appendChild(el);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Disable mousedown event for 500ms during and after touch
|
||||
*/
|
||||
var TouchHandler = {
|
||||
/* uses an integer rather than bool so there's no issues with
|
||||
* needing to clear timeouts if another touch event occurred
|
||||
* within the 500ms. Cannot mouseup between touchstart and
|
||||
* touchend, nor in the 500ms after touchend. */
|
||||
touches: 0,
|
||||
allowEvent: function(e) {
|
||||
var allow = true;
|
||||
|
||||
if (e.type === 'touchstart') {
|
||||
TouchHandler.touches += 1; //push
|
||||
} else if (e.type === 'touchend' || e.type === 'touchcancel') {
|
||||
setTimeout(function() {
|
||||
if (TouchHandler.touches > 0) {
|
||||
TouchHandler.touches -= 1; //pop after 500ms
|
||||
}
|
||||
}, 500);
|
||||
} else if (e.type === 'mousedown' && TouchHandler.touches > 0) {
|
||||
allow = false;
|
||||
}
|
||||
|
||||
return allow;
|
||||
},
|
||||
touchup: function(e) {
|
||||
TouchHandler.allowEvent(e);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Delegated click handler for .waves-effect element.
|
||||
* returns null when .waves-effect element not in "click tree"
|
||||
*/
|
||||
function getWavesEffectElement(e) {
|
||||
if (TouchHandler.allowEvent(e) === false) {
|
||||
return null;
|
||||
}
|
||||
|
||||
var element = null;
|
||||
var target = e.target || e.srcElement;
|
||||
|
||||
while (target.parentElement !== null) {
|
||||
if (!(target instanceof SVGElement) && target.className.indexOf('waves-effect') !== -1) {
|
||||
element = target;
|
||||
break;
|
||||
} else if (target.classList.contains('waves-effect')) {
|
||||
element = target;
|
||||
break;
|
||||
}
|
||||
target = target.parentElement;
|
||||
}
|
||||
|
||||
return element;
|
||||
}
|
||||
|
||||
/**
|
||||
* Bubble the click and show effect if .waves-effect elem was found
|
||||
*/
|
||||
function showEffect(e) {
|
||||
var element = getWavesEffectElement(e);
|
||||
|
||||
if (element !== null) {
|
||||
Effect.show(e, element);
|
||||
|
||||
if ('ontouchstart' in window) {
|
||||
element.addEventListener('touchend', Effect.hide, false);
|
||||
element.addEventListener('touchcancel', Effect.hide, false);
|
||||
}
|
||||
|
||||
element.addEventListener('mouseup', Effect.hide, false);
|
||||
element.addEventListener('mouseleave', Effect.hide, false);
|
||||
}
|
||||
}
|
||||
|
||||
Waves.displayEffect = function(options) {
|
||||
options = options || {};
|
||||
|
||||
if ('duration' in options) {
|
||||
Effect.duration = options.duration;
|
||||
}
|
||||
|
||||
//Wrap input inside <i> tag
|
||||
Effect.wrapInput($$('.waves-effect'));
|
||||
|
||||
if ('ontouchstart' in window) {
|
||||
document.body.addEventListener('touchstart', showEffect, false);
|
||||
}
|
||||
|
||||
document.body.addEventListener('mousedown', showEffect, false);
|
||||
};
|
||||
|
||||
/**
|
||||
* Attach Waves to an input element (or any element which doesn't
|
||||
* bubble mouseup/mousedown events).
|
||||
* Intended to be used with dynamically loaded forms/inputs, or
|
||||
* where the user doesn't want a delegated click handler.
|
||||
*/
|
||||
Waves.attach = function(element) {
|
||||
//FUTURE: automatically add waves classes and allow users
|
||||
// to specify them with an options param? Eg. light/classic/button
|
||||
if (element.tagName.toLowerCase() === 'input') {
|
||||
Effect.wrapInput([element]);
|
||||
element = element.parentElement;
|
||||
}
|
||||
|
||||
if ('ontouchstart' in window) {
|
||||
element.addEventListener('touchstart', showEffect, false);
|
||||
}
|
||||
|
||||
element.addEventListener('mousedown', showEffect, false);
|
||||
};
|
||||
|
||||
return Waves;
|
||||
});
|
||||
|
||||
// Init Waves
|
||||
(function ($) {
|
||||
Drupal.behaviors.wavesInit = {
|
||||
attach: function (context, settings) {
|
||||
Waves.displayEffect();
|
||||
}
|
||||
};
|
||||
})(jQuery);
|
||||
@@ -30,20 +30,50 @@ function adminimal_preprocess_html(&$vars) {
|
||||
drupal_add_css($adminimal_path . '/css/style.css', array('group' => CSS_THEME, 'media' => 'all', 'weight' => 1));
|
||||
|
||||
// Add conditional CSS for IE8 and below.
|
||||
drupal_add_css($adminimal_path . '/css/ie.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'weight' => 999, 'preprocess' => FALSE));
|
||||
drupal_add_css($adminimal_path . '/css/ie.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'weight' => 999, 'preprocess' => TRUE));
|
||||
|
||||
// Add conditional CSS for IE7 and below.
|
||||
drupal_add_css($adminimal_path . '/css/ie7.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 7', '!IE' => FALSE), 'weight' => 999, 'preprocess' => FALSE));
|
||||
drupal_add_css($adminimal_path . '/css/ie7.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 7', '!IE' => FALSE), 'weight' => 999, 'preprocess' => TRUE));
|
||||
|
||||
// Add conditional CSS for IE6.
|
||||
drupal_add_css($adminimal_path . '/css/ie6.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 6', '!IE' => FALSE), 'weight' => 999, 'preprocess' => FALSE));
|
||||
drupal_add_css($adminimal_path . '/css/ie6.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 6', '!IE' => FALSE), 'weight' => 999, 'preprocess' => TRUE));
|
||||
|
||||
//Add Homebox module support
|
||||
if (module_exists('homebox')) {
|
||||
drupal_add_css($adminimal_path . '/css/homebox_custom.css', array('group' => CSS_THEME, 'media' => 'all', 'weight' => 1));
|
||||
}
|
||||
|
||||
// Add theme name to body class.
|
||||
$vars['classes_array'][] = 'adminimal-theme';
|
||||
|
||||
// Style checkbox and radio buttons in Webkit Browsers.
|
||||
if (theme_get_setting('style_checkboxes')) {
|
||||
$vars['classes_array'][] = 'style-checkboxes';
|
||||
}
|
||||
|
||||
// Disable rounded buttons setting.
|
||||
if (!theme_get_setting('rounded_buttons')) {
|
||||
$vars['classes_array'][] = 'no-rounded-buttons';
|
||||
}
|
||||
|
||||
// Enable sticky action buttons.
|
||||
if (theme_get_setting('sticky_actions')) {
|
||||
$vars['classes_array'][] = 'sticky-actions';
|
||||
}
|
||||
|
||||
// Add icons to the admin configuration page.
|
||||
if (theme_get_setting('display_icons_config')) {
|
||||
drupal_add_css($adminimal_path . '/css/icons-config.css', array('group' => CSS_THEME, 'weight' => 10, 'preprocess' => FALSE));
|
||||
drupal_add_css($adminimal_path . '/css/icons-config.css', array('group' => CSS_THEME, 'weight' => 10, 'preprocess' => TRUE));
|
||||
}
|
||||
|
||||
// Add icons to the admin configuration page.
|
||||
if (theme_get_setting('avoid_custom_font')) {
|
||||
drupal_add_css($adminimal_path . '/css/avoid_custom_font.css', array('group' => CSS_THEME, 'weight' => 9000, 'preprocess' => TRUE));
|
||||
}
|
||||
|
||||
// Load CKEditor styles if enabled in settings.
|
||||
if (theme_get_setting('adminimal_ckeditor')) {
|
||||
drupal_add_css($adminimal_path . '/css/ckeditor-adminimal.css', array('group' => CSS_THEME, 'media' => 'all', 'weight' => 2));
|
||||
}
|
||||
|
||||
// Define Default media queries.
|
||||
@@ -56,6 +86,23 @@ function adminimal_preprocess_html(&$vars) {
|
||||
$media_query_tablet = theme_get_setting('media_query_tablet');
|
||||
}
|
||||
|
||||
// Load custom Adminimal skin.
|
||||
$adminimal_skin = theme_get_setting('adminimal_theme_skin');
|
||||
if ((!is_null($adminimal_skin))) {
|
||||
drupal_add_css($adminimal_path . '/skins/' . $adminimal_skin . '/' . $adminimal_skin . '.css', array('group' => CSS_THEME, 'weight' => 900, 'preprocess' => TRUE));
|
||||
// Add conditional CSS for Mac OS X.
|
||||
drupal_add_css($adminimal_path . '/skins/' . $adminimal_skin . '/mac_os_x.css', array('group' => CSS_THEME, 'weight' => 950, 'preprocess' => TRUE));
|
||||
drupal_add_js($adminimal_path . '/skins/' . $adminimal_skin . '/' . $adminimal_skin . '.js');
|
||||
$vars['classes_array'][] = 'adminimal-skin-' . $adminimal_skin ;
|
||||
}
|
||||
else {
|
||||
drupal_add_css($adminimal_path . '/skins/default/default.css', array('group' => CSS_THEME, 'weight' => 900, 'preprocess' => TRUE));
|
||||
// Add conditional CSS for Mac OS X.
|
||||
drupal_add_css($adminimal_path . '/skins/default/mac_os_x.css', array('group' => CSS_THEME, 'weight' => 950, 'preprocess' => TRUE));
|
||||
drupal_add_js($adminimal_path . '/skins/default/default.js');
|
||||
$vars['classes_array'][] = 'adminimal-skin-default' ;
|
||||
}
|
||||
|
||||
// Add responsive styles.
|
||||
drupal_add_css($adminimal_path . '/css/mobile.css', array('group' => CSS_THEME, 'media' => $media_query_mobile, 'weight' => 1000));
|
||||
drupal_add_css($adminimal_path . '/css/tablet.css', array('group' => CSS_THEME, 'media' => $media_query_tablet, 'weight' => 1000));
|
||||
@@ -63,7 +110,7 @@ function adminimal_preprocess_html(&$vars) {
|
||||
// Add custom CSS.
|
||||
$custom_css_path = 'public://adminimal-custom.css';
|
||||
if (theme_get_setting('custom_css') && file_exists($custom_css_path)) {
|
||||
drupal_add_css($custom_css_path, array('group' => CSS_THEME, 'weight' => 9999, 'preprocess' => FALSE));
|
||||
drupal_add_css($custom_css_path, array('group' => CSS_THEME, 'weight' => 9999, 'preprocess' => TRUE));
|
||||
}
|
||||
|
||||
// Fix the viewport and zooming in mobile devices.
|
||||
@@ -76,6 +123,26 @@ function adminimal_preprocess_html(&$vars) {
|
||||
);
|
||||
drupal_add_html_head($viewport, 'viewport');
|
||||
|
||||
// Remove the no-sidebars class which is always added by core. Core assumes
|
||||
// the sidebar regions are called sidebar_first and sidebar_second, which
|
||||
// is not the case in this theme.
|
||||
$key = array_search('no-sidebars', $vars['classes_array']);
|
||||
if ($key !== FALSE) {
|
||||
unset($vars['classes_array'][$key]);
|
||||
}
|
||||
// Add information about the number of sidebars.
|
||||
if (!empty($vars['page']['sidebar_left']) && !empty($vars['page']['sidebar_right'])) {
|
||||
$vars['classes_array'][] = 'two-sidebars';
|
||||
}
|
||||
elseif (!empty($vars['page']['sidebar_left'])) {
|
||||
$vars['classes_array'][] = 'one-sidebar sidebar-left';
|
||||
}
|
||||
elseif (!empty($vars['page']['sidebar_right'])) {
|
||||
$vars['classes_array'][] = 'one-sidebar sidebar-right';
|
||||
}
|
||||
else {
|
||||
$vars['classes_array'][] = 'no-sidebars';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -88,7 +155,7 @@ function adminimal_preprocess_page(&$vars) {
|
||||
'#theme' => 'menu_local_tasks',
|
||||
'#secondary' => $vars['tabs']['#secondary'],
|
||||
);
|
||||
|
||||
unset($vars['page']['hidden']);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -138,7 +205,7 @@ function adminimal_adminimal_block_content($variables) {
|
||||
|
||||
/**
|
||||
* Implements theme_tablesort_indicator().
|
||||
*
|
||||
*
|
||||
* Use our own image versions, so they show up as black and not gray on gray.
|
||||
*/
|
||||
function adminimal_tablesort_indicator($variables) {
|
||||
@@ -169,6 +236,16 @@ function adminimal_css_alter(&$css) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_js_alter().
|
||||
*/
|
||||
function adminimal_js_alter(&$javascript) {
|
||||
// Fix module filter available updates page.
|
||||
if (isset($javascript[drupal_get_path('module','module_filter').'/js/update_status.js'])) {
|
||||
$javascript[drupal_get_path('module','module_filter').'/js/update_status.js']['data'] = drupal_get_path('theme', 'adminimal') . '/js/update_status.js';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements theme_admin_block().
|
||||
* Adding classes to the administration blocks see issue #1869690.
|
||||
@@ -206,7 +283,6 @@ function adminimal_admin_block($variables) {
|
||||
$output .= '</div>';
|
||||
|
||||
return $output;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
|
||||
<div id="page">
|
||||
|
||||
<?php if ($sidebar_first): ?>
|
||||
<div id="sidebar-first" class="sidebar">
|
||||
<?php if ($logo): ?>
|
||||
<img id="logo" src="<?php print $logo ?>" alt="<?php print $site_name ?>" />
|
||||
<?php endif; ?>
|
||||
<div id="sidebar-first" class="sidebar">
|
||||
<?php if ($logo): ?>
|
||||
<img id="logo" src="<?php print $logo ?>" alt="<?php print $site_name ?>" />
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($sidebar_first)): ?>
|
||||
<?php print $sidebar_first ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div id="content" class="clearfix">
|
||||
<?php if ($messages): ?>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Theme setting callbacks for the Adminimal theme.
|
||||
@@ -49,12 +48,70 @@ function adminimal_form_system_theme_settings_alter(&$form, &$form_state) {
|
||||
'#weight' => -10,
|
||||
);
|
||||
|
||||
$form['skin'] = array(
|
||||
'#type' => 'fieldset',
|
||||
'#title' => t('Adminimal skin'),
|
||||
'#weight' => -11,
|
||||
);
|
||||
|
||||
// Create the select list.
|
||||
$form['skin']['adminimal_theme_skin'] = array(
|
||||
'#type' => 'select',
|
||||
'#title' => t('Skin selection'),
|
||||
'#default_value' => theme_get_setting('adminimal_theme_skin'),
|
||||
'#options' => array(
|
||||
'default' => t('Adminimal Default'),
|
||||
//'dark' => t('Dark'),
|
||||
//'flat' => t('Flat'),
|
||||
'material' => t('Material (BETA version)'),
|
||||
'alternative' => t('Alternative'),
|
||||
),
|
||||
'#description' => t('Select desired skin style. Note that this feature is in beta stage and there might be some issues.'),
|
||||
'#required' => FALSE,
|
||||
);
|
||||
|
||||
$form['adminimal_custom']['style_checkboxes'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Style checkboxes and radio buttons in Webkit browsers.'),
|
||||
'#description' => t('Enabling this option will style checkbox and radio buttons for Webkit browsers like Google Chrome, Safari, Opera and their mobile versions.
|
||||
Enabling this option will <strong>not</strong> have any negative impact on older browsers that dont support pure CSS styling of checkboxes like Internet Explorer or Firefox.'),
|
||||
'#default_value' => theme_get_setting('style_checkboxes'),
|
||||
);
|
||||
|
||||
$form['adminimal_custom']['display_icons_config'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Display icons in Configuration page'),
|
||||
'#default_value' => theme_get_setting('display_icons_config'),
|
||||
);
|
||||
|
||||
$form['adminimal_custom']['rounded_buttons'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Use rounded buttons'),
|
||||
'#description' => t('Uncheck this setting if you dont like the rounded button styling for some action links'),
|
||||
'#default_value' => theme_get_setting('rounded_buttons'),
|
||||
);
|
||||
|
||||
$form['adminimal_custom']['sticky_actions'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Sticky form actions'),
|
||||
'#description' => t('This will make the form actions div fixed bottom positioning. So for example when you visit the node edit page you wont need to scroll down to save/preview/delete the node. The form action buttons will be sticky to the bottom of the screen.'),
|
||||
'#default_value' => theme_get_setting('sticky_actions'),
|
||||
);
|
||||
|
||||
$form['adminimal_custom']['avoid_custom_font'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Avoid using "Open Sans" font'),
|
||||
'#description' => t('(useful for languages that are not well supported by the "Open sans" font. Like Japanese for example)'),
|
||||
'#default_value' => theme_get_setting('avoid_custom_font'),
|
||||
);
|
||||
|
||||
$form['adminimal_custom']['adminimal_ckeditor'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('CKEditor support'),
|
||||
'#description' => t('Loads custom adminimal css skin for CKEditor. Disable this to avoid css conflicts when using other CKEditor skins.'),
|
||||
'#default_value' => theme_get_setting('adminimal_ckeditor'),
|
||||
);
|
||||
|
||||
$form['adminimal_custom']['use_custom_media_queries'] = array(
|
||||
'#type' => 'checkbox',
|
||||
'#title' => t('Use Custom Media Queries'),
|
||||
|
||||
Reference in New Issue
Block a user