commit 0c65f95fbbe9e4505c728a6ced2f26c574fdbbd7 Author: bachy Date: Sat Feb 4 11:55:38 2012 +0100 first import Signed-off-by: bachy diff --git a/apple-touch-icon.png b/apple-touch-icon.png new file mode 100644 index 00000000..b91580f9 Binary files /dev/null and b/apple-touch-icon.png differ diff --git a/css/guibik.css b/css/guibik.css new file mode 100644 index 00000000..1be6e5c5 --- /dev/null +++ b/css/guibik.css @@ -0,0 +1 @@ +a{color:#0092d2}table th{background-color:#e0e0e0}.block,.item-list,.help-items ul,.form-item,.confirmation ul,.admin-list,.node-type-list,.admin-panel{border-width:0;border-style:solid;border-color:#fff}.text-format-wrapper .form-item{background:#f4f4f4;margin:0 0 10px;border-width:0;border-style:solid;border-color:#ddd;padding:9px}.form-item label{color:#1a1a1a;font-weight:normal;font-size:12px;text-transform:none}input.form-autocomplete,input.form-text,textarea.form-textarea,select.form-select{padding:3px;border-width:1px;border-style:solid;border-color:#bfbfbf;background:#fff;color:#1a1a1a;max-width:100%}.fieldset{margin:0 0 10px;display:block;position:relative;min-height:28px;border:0 solid #eee}.item-list h3,.block .block-title,.fieldset-title,.collapsible .fieldset-legend a{display:block;font-size:14px;margin:0;padding:4px 9px 5px;color:#1a1a1a;background:#e0e0e0}.block .block-content,.container-inline .fieldset-content,.fieldset-content{padding:10px 9px 9px;background:#f4f4f4}.page-content .form-item .description{color:#0092d2;border-top:1px solid #e0e0e0}li{list-style:none inside url()}.node-form div.form-type-checkboxes>label,.node-form div.form-type-checkboxes>div.form-checkboxes{display:inline-block}.node-form .form-item-language>label,.node-form .form-item-language>select{display:inline-block}.node-form .form-type-textfield>label,.node-form .form-type-textfield>input.form-text{display:inline-block;margin:0}.node-form .form-type-textfield>label{width:35%}.node-form .form-type-textfield>input.form-text{max-width:60%}.node-form fieldset.filter-wrapper{display:none}.node-form input.fid.form-text{display:none}.node-form .form-region-right{position:relative}.node-form .form-region-right fieldset.form-wrapper{max-width:100%;padding:0;margin:0}.node-form .form-region-right .fieldset-wrapper{padding:0}.node-form .form-region-right input.form-text{width:100%}.vertical-tabs{background:#f4f4f4;border:1px solid #bfbfbf;margin:0 0 10px;position:relative}.vertical-tabs .fieldset-content,.vertical-tabs fieldset.titled .fieldset-content{border:0;padding:10px}.vertical-tabs .fieldset-content .fieldset-content{margin-top:20px}.vertical-tabs-list li a{display:block;text-shadow:#fff 0 1px 0;padding:5px 10px 4px 10px;border-bottom:1px solid #bfbfbf;border-right:1px solid #bfbfbf;color:#494949;background:#e0e0e0}.vertical-tabs-list li.last a{border-bottom:0 solid #bfbfbf}.vertical-tabs-list .selected a,.vertical-tabs-list li:hover a{background:#f4f4f4;color:#1a1a1a}.vertical-tabs-list .selected a{border-right:0 solid #f4f4f4}.vertical-tabs-list .summary{font-size:11px}.page-admin table tr.even,.page-admin table tr.even td{background:#efefef}.admin-block-description,.help-items ul li,.confirmation ul li,.item-list ul li,.prose .item-list li,.menu li{border-bottom:0 solid #f4f4f4}form .form-actions{background:#eee;border:0 solid #ddd;padding:9px}input.teaser-button,input.form-submit,.node-edit,.button,.node-delete{cursor:pointer;padding:2px 7px;color:#333;text-align:center;font-size:10px;font-weight:normal;border-width:1px;border-style:solid;border-color:#ddd #ddd #ccc;background:#bdf url();-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}input.form-submit:hover,.node-edit:hover,.button:hover,.node-delete:hover{border-color:#ddd #ddd #ccc;-webkit-box-shadow:#ace 0 0 0;color:#bdf;background-color:#848484}input.button-yes,.node-edit{background-color:#ccff2f}input.button-yes:hover,.node-edit:hover{color:#ccff2f}input.button-no,.node-delete{background-color:#ea4b4a}input.button-no:hover,.node-delete:hover{color:#ea4b4a}body.admin-vertical #admin-menu{background:#222;background-image:none}body.admin-vertical #admin-menu-wrapper{margin-left:35px!important}body.admin-vertical.admin-expanded #admin-menu-wrapper{border-left:1px solid #323232;margin-left:260px!important}#admin-toolbar{z-index:1000!important}#views-ui-edit-form div.changed{background-color:#fff98e}#views-ui-edit-form .views-ui-display-tab-bucket h3{font-weight:bold;background-color:#DDD}#views-ui-edit-form .defaulted,#views-ui-edit-form .views-ui-display-tab-bucket .views-display-setting.even,#views-ui-edit-form .views-ui-display-tab-bucket .views-display-setting.odd{color:#666;background-color:#ededed;font-style:italic}#views-ui-edit-form .defaulted a,#views-ui-edit-form .views-ui-display-tab-bucket .views-display-setting.even a,#views-ui-edit-form .views-ui-display-tab-bucket .views-display-setting.odd a{color:#3188d1}#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting,#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting,#views-ui-edit-form .views-display-setting.overridden,#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting.even,#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting.even,#views-ui-edit-form .views-display-setting.overridden.even,#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting.odd,#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting.odd,#views-ui-edit-form .views-display-setting.overridden.odd{color:#7f7f7f;background-color:#f9f9f9;font-style:normal}#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting a,#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting a,#views-ui-edit-form .views-display-setting.overridden a,#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting.even a,#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting.even a,#views-ui-edit-form .views-display-setting.overridden.even a,#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting.odd a,#views-ui-edit-form .views-ui-display-tab-bucket.overridden .views-display-setting.odd a,#views-ui-edit-form .views-display-setting.overridden.odd a{color:#3188d1} \ No newline at end of file diff --git a/guibik.info b/guibik.info new file mode 100644 index 00000000..25fd5951 --- /dev/null +++ b/guibik.info @@ -0,0 +1,20 @@ +;----------// Theme Information + name = Guibik + description = rubik admin subtheme + core = 7.x + engine = phptemplate + screenshot = screenshot.png + base theme = rubik + +;----------// Stylesheets + stylesheets[screen][] = css/guibik.css + +;----------// Regions + regions[content] = Content + regions[help] = Help + regions[page_top] = Page top + regions[page_bottom] = Page bottom + + +;----------// Shortcut link + settings[shortcut_module_link] = 1 diff --git a/icon.png b/icon.png new file mode 100644 index 00000000..ea1a1090 Binary files /dev/null and b/icon.png differ diff --git a/images/bleeds.png b/images/bleeds.png new file mode 100644 index 00000000..e202e258 Binary files /dev/null and b/images/bleeds.png differ diff --git a/images/bleeds.svg b/images/bleeds.svg new file mode 100644 index 00000000..e85138ce --- /dev/null +++ b/images/bleeds.svg @@ -0,0 +1,497 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/buttons.png b/images/buttons.png new file mode 100644 index 00000000..abc686b5 Binary files /dev/null and b/images/buttons.png differ diff --git a/images/buttons.svg b/images/buttons.svg new file mode 100644 index 00000000..03d0418c --- /dev/null +++ b/images/buttons.svg @@ -0,0 +1,678 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/icons.png b/images/icons.png new file mode 100644 index 00000000..7944f267 Binary files /dev/null and b/images/icons.png differ diff --git a/images/icons.svg b/images/icons.svg new file mode 100644 index 00000000..1bbd651d --- /dev/null +++ b/images/icons.svg @@ -0,0 +1,11435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/popup.png b/images/popup.png new file mode 100644 index 00000000..1e09253d Binary files /dev/null and b/images/popup.png differ diff --git a/images/popup.svg b/images/popup.svg new file mode 100644 index 00000000..bcd98875 --- /dev/null +++ b/images/popup.svg @@ -0,0 +1,185 @@ + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/images/vrule.png b/images/vrule.png new file mode 100644 index 00000000..5750d283 Binary files /dev/null and b/images/vrule.png differ diff --git a/images/vtabs.png b/images/vtabs.png new file mode 100644 index 00000000..3f2a4478 Binary files /dev/null and b/images/vtabs.png differ diff --git a/images/vtabs.svg b/images/vtabs.svg new file mode 100644 index 00000000..94777874 --- /dev/null +++ b/images/vtabs.svg @@ -0,0 +1,84 @@ + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/less/guibik.less b/less/guibik.less new file mode 100644 index 00000000..e3732179 --- /dev/null +++ b/less/guibik.less @@ -0,0 +1,269 @@ +/** table */ +@grey:#E0E0E0; +@grey-lite:#F4F4F4; + + +/** GENERAL FORM */ +a{color:#0092D2;} + +table th{background-color: @grey;} + +.block, +.item-list, +.help-items ul, +.form-item, +.confirmation ul, +.admin-list, +.node-type-list, +.admin-panel { + border-width:0px; + border-style:solid; + border-color:#fff; +} + +.text-format-wrapper .form-item { + background:#F4F4F4; + margin:0px 0px 10px; + + border-width:0; + border-style:solid; + border-color:#ddd; + padding: 9px; + } + + +.form-item label { + color:#1A1A1A; + font-weight:normal; + font-size:12px; + text-transform: none; +} + +input.form-autocomplete, +input.form-text, +textarea.form-textarea, +select.form-select { + padding:3px; + border-width:1px; + border-style:solid; + border-color:#BFBFBF; + background:#fff; + color:#1A1A1A; + max-width:100%; +} + +.fieldset { + margin:0px 0px 10px; + display:block; + position:relative; + min-height:28px; + border: 0 solid #eee; +} + +.item-list h3, +.block .block-title, +.fieldset-title, +.collapsible .fieldset-legend a { + display:block; + font-size:14px; + margin:0px; + padding:4px 9px 5px; + color:#1A1A1A; + background:#E0E0E0; +} + +.block .block-content, +.container-inline .fieldset-content, +.fieldset-content { + padding:10px 9px 9px; + background:#F4F4F4; +} + +/** popup description */ +.page-content .form-item .description { + color:#0092D2; + border-top:1px solid #E0E0E0; +} + + +li{list-style: none inside url();} + +/** NODE FORM */ +.node-form{ + div.form-type-checkboxes>label, div.form-type-checkboxes>div.form-checkboxes{display:inline-block;} + .form-item-language>label, .form-item-language>select{display: inline-block;} + .form-type-textfield{ + &>label, &>input.form-text{display:inline-block; margin:0;} + &>label{width:35%;} + &>input.form-text{max-width:60%;} + } + + fieldset.filter-wrapper{display:none;} + input.fid.form-text{display:none;} + + .form-region-right{ + position:relative; + fieldset.form-wrapper{max-width:100%; padding:0; margin:0;} + .fieldset-wrapper{padding:0;} + input.form-text{width:100%;} + + + } +} + +/** VERTICAL TABS */ +.vertical-tabs { + background:@grey-lite; + border:1px solid #BFBFBF; + margin:0px 0px 10px; + position:relative; + } + +.vertical-tabs .fieldset-content, +.vertical-tabs fieldset.titled .fieldset-content { + border:0px; + padding:10px; + } +.vertical-tabs .fieldset-content .fieldset-content { + margin-top: 20px; +} + +.vertical-tabs-list li a { + display:block; + text-shadow:#fff 0px 1px 0px; + padding:5px 10px 4px 10px; + border-bottom:1px solid #BFBFBF; + border-right:1px solid #BFBFBF; + color:#494949; + background: @grey; + } +.vertical-tabs-list li.last a{ + border-bottom:0px solid #BFBFBF +} +.vertical-tabs-list .selected a , +.vertical-tabs-list li:hover a { + background:@grey-lite; + color:#1A1A1A; +} +.vertical-tabs-list .selected a{ + border-right:0 solid @grey-lite; +} +.vertical-tabs-list .summary { font-size:11px; } + +.page-admin table tr.even, .page-admin table tr.even td { + background: #EFEFEF; +} + +.admin-block-description, +.help-items ul li, +.confirmation ul li, +.item-list ul li, +.prose .item-list li, +.menu li { + border-bottom:0 solid #f4f4f4; + } + +form .form-actions { + background:#eee; + border:0 solid #ddd; + padding:9px; +} + + +/** boutons */ +input.teaser-button, +input.form-submit, +.node-edit, .button, .node-delete{ + cursor:pointer; + padding:2px 7px; + color:#333; + + text-align:center; + + font-size:10px; + font-weight:normal; + border-width:1px; + border-style:solid; + border-color:#ddd #ddd #ccc; + background:#bdf url(); + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + +} +input.form-submit:hover, +.node-edit:hover, .button:hover, .node-delete:hover{ + border-color:#ddd #ddd #ccc; + -webkit-box-shadow:#ace 0px 0px 0px; + + color:#bdf; + background-color: #848484; +} + +input.button-yes, .node-edit{ + background-color: #CCFF2F; + &:hover{ + color:#CCFF2F; + } +} + +input.button-no, .node-delete{ + background-color: #EA4B4A; + &:hover{ + color:#EA4B4A; + } + +} + +/** admin module */ +/** +* +* /!\ CUSTOM HERE /!\ +* +* Provide better display for admin menu ============================== +*/ +body.admin-vertical #admin-menu{background:#222;background-image:none;} +body.admin-vertical #admin-menu-wrapper{margin-left:35px!important;} +body.admin-vertical.admin-expanded #admin-menu-wrapper{border-left:1px solid #323232;margin-left:260px!important;} +#admin-toolbar{z-index:1000!important;} + + +/* --- */ + + +/** + * VIEW + */ +#views-ui-edit-form{ + div.changed { + background-color: #FFF98E; + } + + .views-ui-display-tab-bucket h3{ + font-weight:bold; + background-color: #DDD; + } + + .defaulted, .views-ui-display-tab-bucket .views-display-setting.even, .views-ui-display-tab-bucket .views-display-setting.odd{ //:not(.overriden) + color: #666; + background-color: #EDEDED; + font-style: italic; + /* font-weight:bold;*/ + a{color: #3188D1} + } + + .views-ui-display-tab-bucket.overridden .views-display-setting, .views-ui-display-tab-bucket.overridden .views-display-setting, + .views-display-setting.overridden{ //:not(.overriden) + &, &.even, &.odd{ + color: #7F7F7F; + background-color: #F9F9F9; + font-style: normal; + /* font-weight:bold;*/ + a{color: #3188D1;} + } + } + + +} + + diff --git a/logo-lite-alpha.png b/logo-lite-alpha.png new file mode 100644 index 00000000..512fba02 Binary files /dev/null and b/logo-lite-alpha.png differ diff --git a/logo-lite.png b/logo-lite.png new file mode 100644 index 00000000..1a095b2a Binary files /dev/null and b/logo-lite.png differ diff --git a/logo.png b/logo.png new file mode 100644 index 00000000..053a2584 Binary files /dev/null and b/logo.png differ diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 00000000..e8fb4aed Binary files /dev/null and b/screenshot.png differ diff --git a/template.php b/template.php new file mode 100644 index 00000000..3941e7d0 --- /dev/null +++ b/template.php @@ -0,0 +1,81 @@ + drupal_get_path('theme', 'rubik') .'/templates', + 'template' => 'object', + ); + $items['node']['template'] = 'node'; + + // Help pages really need help. See preprocess_page(). + $items['help_page'] = array( + 'variables' => array('content' => array()), + 'path' => drupal_get_path('theme', 'rubik') .'/templates', + 'template' => 'object', + 'preprocess functions' => array( + 'template_preprocess', + 'rubik_preprocess_help_page', + ), + 'process functions' => array('template_process'), + ); + + // Form layout: default (2 column). + $items['block_add_block_form'] = + $items['block_admin_configure'] = + $items['comment_form'] = + $items['contact_admin_edit'] = + $items['contact_mail_page'] = + $items['contact_mail_user'] = + $items['filter_admin_format_form'] = + $items['forum_form'] = + $items['locale_languages_edit_form'] = + $items['menu_edit_menu'] = + $items['menu_edit_item'] = + $items['node_type_form'] = + $items['path_admin_form'] = + $items['system_settings_form'] = + $items['system_themes_form'] = + $items['system_modules'] = + $items['system_actions_configure'] = + $items['taxonomy_form_term'] = + $items['taxonomy_form_vocabulary'] = + $items['user_profile_form'] = + $items['user_admin_access_add_form'] = array( + 'render element' => 'form', + 'path' => drupal_get_path('theme', 'guibik') .'/templates', + 'template' => 'form-default', + 'preprocess functions' => array( + 'rubik_preprocess_form_buttons', + ), + ); + + // These forms require additional massaging. + $items['confirm_form'] = array( + 'render element' => 'form', + 'path' => drupal_get_path('theme', 'rubik') .'/templates', + 'template' => 'form-simple', + 'preprocess functions' => array( + 'rubik_preprocess_form_confirm' + ), + ); + $items['node_form'] = array( + 'render element' => 'form', + 'path' => drupal_get_path('theme', 'guibik') .'/templates', + 'template' => 'form-default', + 'preprocess functions' => array( + 'rubik_preprocess_form_buttons', + 'rubik_preprocess_form_node', + ), + ); + + return $items; +} + diff --git a/templates/form-default.tpl.php b/templates/form-default.tpl.php new file mode 100644 index 00000000..08696ef0 --- /dev/null +++ b/templates/form-default.tpl.php @@ -0,0 +1,13 @@ +
+
+ + +
+
+ + +
+ + + +