first commit

This commit is contained in:
2020-06-08 23:57:36 +02:00
commit 6277454f7a
16057 changed files with 1715382 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
ABOUT BARTIK
------------
Bartik is the default theme for Drupal 8. It is a flexible, recolorable theme
with a responsive and mobile-first layout, supporting 16 regions.
The Bartik theme is named after Jean Bartik, one of the original programmers
for the ENIAC computer.
This theme is not intended to be used as a base theme.
To read more about the Bartik theme please see:
https://www.drupal.org/docs/8/core/themes/bartik-theme
ABOUT DRUPAL THEMING
--------------------
See https://www.drupal.org/docs/8/theming for more information on Drupal
theming.
@@ -0,0 +1,18 @@
bartik.mobile:
label: mobile
mediaQuery: ''
weight: 0
multipliers:
- 1x
bartik.narrow:
label: narrow
mediaQuery: 'all and (min-width: 560px) and (max-width: 850px)'
weight: 1
multipliers:
- 1x
bartik.wide:
label: wide
mediaQuery: 'all and (min-width: 851px)'
weight: 2
multipliers:
- 1x
+85
View File
@@ -0,0 +1,85 @@
# This theme is marked as @internal. It is intended to evolve and change over
# minor releases.
# Change record https://www.drupal.org/node/2673014.
# As the UI of Drupal improves between minor versions, the mark up and assets
# in the Bartik theme will change. The Bartik theme is not backwards
# compatible. If you wish to modify the output or assets of Bartik you can:
# 1. Copy the whole of Bartik and rename it as your own theme. You will need to
# manually manage your own updates if you want to stay up to date with Bartik's
# bug fixes and feature support.
#
# 2. Sub-theme Bartik. This is only recommended if you want to make minor
# tweaks and understand that Bartik could break your modifications as it
# changes.
name: Bartik
type: theme
base theme: classy
description: 'A flexible, recolorable theme with many regions and a responsive, mobile-first layout.'
package: Core
version: VERSION
core: 8.x
libraries:
- bartik/global-styling
libraries-override:
classy/base: bartik/classy.base
classy/book-navigation: bartik/classy.book-navigation
classy/dialog: bartik/classy.dialog
classy/dropbutton: bartik/classy.dropbutton
classy/file: bartik/classy.file
classy/forum: bartik/classy.forum
classy/image-widget: bartik/classy.image-widget
classy/indented: bartik/classy.indented
classy/media_embed_ckeditor_theme: bartik/classy.media_embed_ckeditor_theme
classy/media_embed_error: bartik/classy.media_embed_error
classy/media_library: bartik/classy.media_library
classy/messages: bartik/classy.messages
classy/node: bartik/classy.node
classy/progress: bartik/classy.progress
classy/search-results: bartik/classy.search-results
classy/user: bartik/classy.user
libraries-extend:
core/drupal.dialog:
- bartik/classy.dialog
core/drupal.dropbutton:
- bartik/classy.dropbutton
core/drupal.progress:
- bartik/classy.progress
file/drupal.file:
- bartik/classy.file
media/media_embed_ckeditor_theme:
- bartik/classy.media_embed_ckeditor_theme
media_library/view:
- bartik/classy.media_library
media_library/widget:
- bartik/classy.media_library
user/drupal.user:
- bartik/classy.user
ckeditor_stylesheets:
- css/base/elements.css
- css/components/captions.css
- css/components/table.css
- css/components/text-formatted.css
- css/classy/components/media-embed-error.css
regions:
header: Header
primary_menu: 'Primary menu'
secondary_menu: 'Secondary menu'
page_top: 'Page top'
page_bottom: 'Page bottom'
highlighted: Highlighted
featured_top: 'Featured top'
breadcrumb: Breadcrumb
content: Content
sidebar_first: 'Sidebar first'
sidebar_second: 'Sidebar second'
featured_bottom_first: 'Featured bottom first'
featured_bottom_second: 'Featured bottom second'
featured_bottom_third: 'Featured bottom third'
footer_first: 'Footer first'
footer_second: 'Footer second'
footer_third: 'Footer third'
footer_fourth: 'Footer fourth'
footer_fifth: 'Footer fifth'
+204
View File
@@ -0,0 +1,204 @@
global-styling:
version: VERSION
css:
base:
css/base/elements.css: {}
component:
css/components/block.css: {}
css/components/book.css: {}
css/components/breadcrumb.css: {}
css/components/captions.css: {}
css/components/comments.css: {}
css/components/contextual.css: {}
css/components/demo-block.css: {}
# @see https://www.drupal.org/node/2389735
css/components/dropbutton.component.css: {}
css/components/featured-top.css: {}
css/components/feed-icon.css: {}
css/components/field.css: {}
css/components/form.css: {}
css/components/forum.css: {}
css/components/header.css: {}
css/components/help.css: {}
css/components/highlighted.css: {}
css/components/item-list.css: {}
css/components/list-group.css: {}
css/components/list.css: {}
css/components/main-content.css: {}
css/components/menu.css: {}
css/components/messages.css: {}
css/components/node.css: {}
css/components/node-preview.css: {}
css/components/page-title.css: {}
css/components/pager.css: {}
css/components/panel.css: {}
css/components/primary-menu.css: {}
css/components/search-form.css: {}
css/components/search-results.css: {}
css/components/secondary-menu.css: {}
css/components/shortcut.css: {}
css/components/skip-link.css: {}
css/components/sidebar.css: {}
css/components/site-branding.css: {}
css/components/site-footer.css: {}
css/components/table.css: {}
css/components/tablesort-indicator.css: {}
css/components/tabs.css: {}
css/components/text-formatted.css: {}
css/components/toolbar.css: {}
css/components/featured-bottom.css: {}
css/components/password-suggestions.css: {}
css/components/ui.widget.css: {}
# @see https://www.drupal.org/node/2389735
css/components/vertical-tabs.component.css: {}
css/components/views.css: {}
css/components/buttons.css: {}
css/components/image-button.css: {}
css/components/ui-dialog.css: {}
layout:
css/layout.css: {}
theme:
css/colors.css: {}
css/print.css: { media: print }
messages:
version: VERSION
css:
component:
css/components/messages.css: { preprocess: false }
color.preview:
version: VERSION
css:
theme:
color/preview.css: {}
js:
color/preview.js: {}
dependencies:
- color/drupal.color
maintenance_page:
version: VERSION
css:
theme:
css/maintenance-page.css: {}
dependencies:
- system/maintenance
- bartik/global-styling
classy.base:
version: VERSION
css:
component:
css/classy/components/action-links.css: { weight: -10 }
css/classy/components/breadcrumb.css: { weight: -10 }
css/classy/components/button.css: { weight: -10 }
css/classy/components/collapse-processed.css: { weight: -10 }
css/classy/components/container-inline.css: { weight: -10 }
css/classy/components/details.css: { weight: -10 }
css/classy/components/exposed-filters.css: { weight: -10 }
css/classy/components/field.css: { weight: -10 }
css/classy/components/form.css: { weight: -10 }
css/classy/components/icons.css: { weight: -10 }
css/classy/components/inline-form.css: { weight: -10 }
css/classy/components/item-list.css: { weight: -10 }
css/classy/components/link.css: { weight: -10 }
css/classy/components/links.css: { weight: -10 }
css/classy/components/menu.css: { weight: -10 }
css/classy/components/more-link.css: { weight: -10 }
css/classy/components/pager.css: { weight: -10 }
css/classy/components/tabledrag.css: { weight: -10 }
css/classy/components/tableselect.css: { weight: -10 }
css/classy/components/tablesort.css: { weight: -10 }
css/classy/components/tabs.css: { weight: -10 }
css/classy/components/textarea.css: { weight: -10 }
css/classy/components/ui-dialog.css: { weight: -10 }
classy.book-navigation:
version: VERSION
css:
component:
css/classy/components/book-navigation.css: {}
classy.dialog:
version: VERSION
css:
component:
css/classy/components/dialog.css: { weight: -10 }
classy.dropbutton:
version: VERSION
css:
component:
css/classy/components/dropbutton.css: { weight: -10 }
classy.file:
version: VERSION
css:
component:
css/classy/components/file.css: { weight: -10 }
classy.forum:
version: VERSION
css:
component:
css/classy/components/forum.css: { weight: -10 }
classy.image-widget:
version: VERSION
css:
component:
css/classy/components/image-widget.css: {}
classy.indented:
version: VERSION
css:
component:
css/classy/components/indented.css: {}
classy.media_embed_ckeditor_theme:
version: VERSION
js:
js/classy/media_embed_ckeditor.theme.js: {}
classy.media_embed_error:
version: VERSION
css:
component:
css/classy/components/media-embed-error.css: {}
classy.media_library:
version: VERSION
css:
layout:
css/classy/layout/media-library.css: {}
classy.messages:
version: VERSION
css:
component:
css/classy/components/messages.css: { weight: -10 }
classy.node:
version: VERSION
css:
component:
css/classy/components/node.css: { weight: -10 }
classy.progress:
version: VERSION
css:
component:
css/classy/components/progress.css: { weight: -10 }
classy.search-results:
version: VERSION
css:
component:
css/classy/components/search-results.css: {}
classy.user:
version: VERSION
css:
component:
css/classy/components/user.css: { weight: -10 }
+125
View File
@@ -0,0 +1,125 @@
<?php
/**
* @file
* Functions to support theming in the Bartik theme.
*/
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Template\Attribute;
/**
* Implements hook_preprocess_HOOK() for HTML document templates.
*
* Adds body classes if certain regions have content.
*/
function bartik_preprocess_html(&$variables) {
// Add information about the number of sidebars.
if (!empty($variables['page']['sidebar_first']) && !empty($variables['page']['sidebar_second'])) {
$variables['attributes']['class'][] = 'layout-two-sidebars';
}
elseif (!empty($variables['page']['sidebar_first'])) {
$variables['attributes']['class'][] = 'layout-one-sidebar';
$variables['attributes']['class'][] = 'layout-sidebar-first';
}
elseif (!empty($variables['page']['sidebar_second'])) {
$variables['attributes']['class'][] = 'layout-one-sidebar';
$variables['attributes']['class'][] = 'layout-sidebar-second';
}
else {
$variables['attributes']['class'][] = 'layout-no-sidebars';
}
if (!empty($variables['page']['featured_top'])) {
$variables['attributes']['class'][] = 'has-featured-top';
}
}
/**
* Implements hook_preprocess_HOOK() for page title templates.
*/
function bartik_preprocess_page_title(&$variables) {
// Since the title and the shortcut link are both block level elements,
// positioning them next to each other is much simpler with a wrapper div.
if (!empty($variables['title_suffix']['add_or_remove_shortcut']) && $variables['title']) {
// Add a wrapper div using the title_prefix and title_suffix render
// elements.
$variables['title_prefix']['shortcut_wrapper'] = [
'#markup' => '<div class="shortcut-wrapper clearfix">',
'#weight' => 100,
];
$variables['title_suffix']['shortcut_wrapper'] = [
'#markup' => '</div>',
'#weight' => -99,
];
// Make sure the shortcut link is the first item in title_suffix.
$variables['title_suffix']['add_or_remove_shortcut']['#weight'] = -100;
}
}
/**
* Implements hook_preprocess_HOOK() for maintenance-page.html.twig.
*/
function bartik_preprocess_maintenance_page(&$variables) {
// By default, site_name is set to Drupal if no db connection is available
// or during site installation. Setting site_name to an empty string makes
// the site and update pages look cleaner.
// @see template_preprocess_maintenance_page
if (!$variables['db_is_active']) {
$variables['site_name'] = '';
}
// Bartik has custom styling for the maintenance page.
$variables['#attached']['library'][] = 'bartik/maintenance_page';
}
/**
* Implements hook_preprocess_HOOK() for node.html.twig.
*/
function bartik_preprocess_node(&$variables) {
// Remove the "Add new comment" link on teasers or when the comment form is
// displayed on the page.
if ($variables['teaser'] || !empty($variables['content']['comments']['comment_form'])) {
unset($variables['content']['links']['comment']['#links']['comment-add']);
}
}
/**
* Implements hook_preprocess_HOOK() for block.html.twig.
*/
function bartik_preprocess_block(&$variables) {
// Add a clearfix class to system branding blocks.
if ($variables['plugin_id'] == 'system_branding_block') {
$variables['attributes']['class'][] = 'clearfix';
}
}
/**
* Implements hook_preprocess_HOOK() for menu.html.twig.
*/
function bartik_preprocess_menu(&$variables) {
$variables['attributes']['class'][] = 'clearfix';
}
/**
* Implements hook_theme_suggestions_HOOK_alter() for form templates.
*/
function bartik_theme_suggestions_form_alter(array &$suggestions, array $variables) {
if ($variables['element']['#form_id'] == 'search_block_form') {
$suggestions[] = 'form__search_block_form';
}
}
/**
* Implements hook_form_alter() to add classes to the search form.
*/
function bartik_form_alter(&$form, FormStateInterface $form_state, $form_id) {
if (in_array($form_id, ['search_block_form', 'search_form'])) {
$key = ($form_id == 'search_block_form') ? 'actions' : 'basic';
if (!isset($form[$key]['submit']['#attributes'])) {
$form[$key]['submit']['#attributes'] = new Attribute();
}
$form[$key]['submit']['#attributes']->addClass('search-form__submit');
}
}
+130
View File
@@ -0,0 +1,130 @@
<?php
/**
* @file
* Lists available colors and color schemes for the Bartik theme.
*/
$info = [
// Available colors and color labels used in theme.
'fields' => [
'top' => t('Header background top'),
'bottom' => t('Header background bottom'),
'bg' => t('Main background'),
'sidebar' => t('Sidebar background'),
'sidebarborders' => t('Sidebar borders'),
'footer' => t('Footer background'),
'titleslogan' => t('Title and slogan'),
'text' => t('Text color'),
'link' => t('Link color'),
],
// Pre-defined color schemes.
'schemes' => [
'default' => [
'title' => t('Blue Lagoon (default)'),
'colors' => [
'top' => '#055a8e',
'bottom' => '#1d84c3',
'bg' => '#ffffff',
'sidebar' => '#f6f6f2',
'sidebarborders' => '#f9f9f9',
'footer' => '#292929',
'titleslogan' => '#fffeff',
'text' => '#3b3b3b',
'link' => '#0071b3',
],
],
'firehouse' => [
'title' => t('Firehouse'),
'colors' => [
'top' => '#cd2d2d',
'bottom' => '#d64e4e',
'bg' => '#ffffff',
'sidebar' => '#f1f4f0',
'sidebarborders' => '#ededed',
'footer' => '#1f1d1c',
'titleslogan' => '#fffeff',
'text' => '#888888',
'link' => '#d6121f',
],
],
'ice' => [
'title' => t('Ice'),
'colors' => [
'top' => '#d0d0d0',
'bottom' => '#c2c4c5',
'bg' => '#ffffff',
'sidebar' => '#ffffff',
'sidebarborders' => '#cccccc',
'footer' => '#016b83',
'titleslogan' => '#000000',
'text' => '#4a4a4a',
'link' => '#019dbf',
],
],
'plum' => [
'title' => t('Plum'),
'colors' => [
'top' => '#4c1c58',
'bottom' => '#593662',
'bg' => '#fffdf7',
'sidebar' => '#edede7',
'sidebarborders' => '#e7e7e7',
'footer' => '#2c2c28',
'titleslogan' => '#ffffff',
'text' => '#301313',
'link' => '#9d408d',
],
],
'slate' => [
'title' => t('Slate'),
'colors' => [
'top' => '#4a4a4a',
'bottom' => '#4e4e4e',
'bg' => '#ffffff',
'sidebar' => '#ffffff',
'sidebarborders' => '#d0d0d0',
'footer' => '#161617',
'titleslogan' => '#ffffff',
'text' => '#3b3b3b',
'link' => '#0073b6',
],
],
],
// CSS files (excluding @import) to rewrite with new color scheme.
'css' => [
'css/colors.css',
],
// Files to copy.
'copy' => [
'logo.svg',
],
// Gradient definitions.
'gradients' => [
[
// (x, y, width, height).
'dimension' => [0, 0, 0, 0],
// Direction of gradient ('vertical' or 'horizontal').
'direction' => 'vertical',
// Keys of colors to use for the gradient.
'colors' => ['top', 'bottom'],
],
],
// Preview files.
'preview_library' => 'bartik/color.preview',
'preview_html' => 'color/preview.html',
// Attachments.
'#attached' => [
'drupalSettings' => [
'color' => [
// Put the logo path into JavaScript for the live preview.
'logo' => theme_get_setting('logo.url', 'bartik'),
],
],
],
];
+208
View File
@@ -0,0 +1,208 @@
/* ---------- Preview Styles ----------- */
.js .color-preview {
float: none !important;
clear: both;
}
.color-preview {
overflow: hidden;
margin-bottom: 10px;
word-wrap: break-word;
background-color: #fff;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
line-height: 1.5;
}
.color-preview-header {
position: relative;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.color-preview-logo {
float: left;
padding: 15px;
}
.color-preview-site-name {
margin-bottom: 30px;
margin-left: 15px; /* LTR */
padding-top: 34px;
color: #686868;
font-size: 1.821em;
font-weight: normal;
line-height: 1;
}
[dir="rtl"] .color-preview-site-name {
margin-right: 15px;
margin-left: 0;
}
.color-preview-main-menu {
clear: both;
padding: 0 15px 3px;
}
.color-preview-main-menu-links a {
padding: 0.6em 1em 0.4em;
color: #d9d9d9;
}
.color-preview-main-menu-links {
margin: 0;
padding: 0;
font-size: 0.929em;
}
.color-preview-main-menu-links a {
color: #333;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
background: #ccc;
background: rgba(255, 255, 255, 0.7);
text-shadow: 0 1px #eee;
}
.color-preview-main-menu-links a:hover,
.color-preview-main-menu-links a:focus {
cursor: pointer;
text-decoration: none;
background: #eee;
background: rgba(255, 255, 255, 0.95);
}
.color-preview-main-menu-links li a.is-active {
border-bottom: none;
background: #fff;
}
.color-preview-main-menu-links li {
display: inline;
padding: 0.6em 0 0.4em;
list-style-type: none;
}
.color-preview-sidebar,
.color-preview-content {
position: relative;
display: inline;
float: left; /* LTR */
}
[dir="rtl"] .color-preview-sidebar,
[dir="rtl"] .color-preview-content {
float: right;
}
.color-preview-sidebar {
width: 210px;
margin-left: 15px; /* LTR */
}
[dir="rtl"] .color-preview-sidebar {
margin-right: 15px;
margin-left: 0;
}
.color-preview-content {
width: 26.5em;
margin-left: 30px; /* LTR */
}
[dir="rtl"] .color-preview-content {
margin-right: 30px;
margin-left: 0;
}
.color-preview-sidebar .preview-block {
margin: 20px 0;
padding: 15px 20px;
border: 1px solid;
}
.color-preview-sidebar h2 {
margin-top: 0;
margin-right: 0;
margin-left: 0;
padding-bottom: 5px;
border-bottom: 1px solid #d6d6d6;
text-shadow: 0 1px 0 #fff;
font-weight: normal;
}
.color-preview .preview-block .preview-content {
margin-top: 1em;
}
.color-preview .preview-block-menu .preview-content,
.color-preview .preview-block-menu .preview-content ul {
margin-top: 0;
}
.color-preview-main {
margin-top: 20px;
margin-bottom: 40px;
}
.color-preview-page-title {
margin: 1em 0 0.5em;
font-size: 2em;
font-weight: normal;
line-height: 1;
}
.color-preview-footer-wrapper {
display: block !important;
padding: 20px 20px 25px;
color: #c0c0c0;
color: rgba(255, 255, 255, 0.65);
font-size: 0.857em;
}
.color-preview-footer-wrapper a {
color: #fcfcfc;
color: rgba(255, 255, 255, 0.8);
}
.color-preview-footer-wrapper a:hover,
.color-preview-footer-wrapper a:focus {
text-decoration: underline;
color: #fefefe;
color: rgba(255, 255, 255, 0.95);
}
.color-preview-footer-wrapper .preview-footer-column {
position: relative;
display: inline;
float: left; /* LTR */
width: 220px;
padding: 0 10px;
}
[dir="rtl"] .color-preview-footer-wrapper .preview-footer-column {
float: right;
}
.color-preview-footer-wrapper .preview-block {
margin: 20px 0;
padding: 10px;
border: 1px solid #444;
border-color: rgba(255, 255, 255, 0.1);
}
.color-preview-footer-columns .preview-block-menu {
margin: 0;
padding: 0;
border: none;
}
.color-preview-footer-columns h2 {
padding-bottom: 3px;
text-transform: uppercase;
border-color: rgba(255, 255, 255, 0.15);
border-bottom: 1px solid #555;
}
.color-preview-footer-columns .preview-content {
margin-top: 0;
}
.color-preview-footer-columns .preview-content ul {
margin-left: 0; /* LTR */
padding-left: 0; /* LTR */
}
[dir="rtl"] .color-preview-footer-columns .preview-content ul {
margin-right: 0;
padding-right: 0;
}
.color-preview-footer-columns .preview-content li {
margin: 0;
padding: 0;
list-style: none;
list-style-image: none;
}
.color-preview-footer-columns .preview-content li a {
display: block;
padding: 0.8em 2px 0.8em 20px; /* LTR */
text-indent: -15px;
border-color: rgba(255, 255, 255, 0.15);
border-bottom: 1px solid #555;
line-height: 1.2;
}
[dir="rtl"] .color-preview-footer-columns .preview-content li a {
padding-right: 20px;
padding-left: 2px;
}
.color-preview-footer-columns .preview-content li a:hover,
.color-preview-footer-columns .preview-content li a:focus {
text-decoration: none;
background-color: #1f1f21;
background-color: rgba(255, 255, 255, 0.05);
}
@@ -0,0 +1,83 @@
/**
* @file
* Preview for the Bartik theme.
*/
(function($, Drupal, drupalSettings) {
Drupal.color = {
logoChanged: false,
callback(context, settings, $form) {
// Change the logo to be the real one.
if (!this.logoChanged) {
$('.color-preview .color-preview-logo img').attr(
'src',
drupalSettings.color.logo,
);
this.logoChanged = true;
}
// Remove the logo if the setting is toggled off.
if (drupalSettings.color.logo === null) {
$('div').remove('.color-preview-logo');
}
const $colorPreview = $form.find('.color-preview');
const $colorPalette = $form.find('.js-color-palette');
// Solid background.
$colorPreview.css(
'backgroundColor',
$colorPalette.find('input[name="palette[bg]"]').val(),
);
// Text preview.
$colorPreview
.find('.color-preview-main h2, .color-preview .preview-content')
.css('color', $colorPalette.find('input[name="palette[text]"]').val());
$colorPreview
.find('.color-preview-content a')
.css('color', $colorPalette.find('input[name="palette[link]"]').val());
// Sidebar block.
const $colorPreviewBlock = $colorPreview.find(
'.color-preview-sidebar .color-preview-block',
);
$colorPreviewBlock.css(
'background-color',
$colorPalette.find('input[name="palette[sidebar]"]').val(),
);
$colorPreviewBlock.css(
'border-color',
$colorPalette.find('input[name="palette[sidebarborders]"]').val(),
);
// Footer wrapper background.
$colorPreview
.find('.color-preview-footer-wrapper')
.css(
'background-color',
$colorPalette.find('input[name="palette[footer]"]').val(),
);
// CSS3 Gradients.
const gradientStart = $colorPalette
.find('input[name="palette[top]"]')
.val();
const gradientEnd = $colorPalette
.find('input[name="palette[bottom]"]')
.val();
$colorPreview
.find('.color-preview-header')
.attr(
'style',
`background-color: ${gradientStart}; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(${gradientStart}), to(${gradientEnd})); background-image: -moz-linear-gradient(-90deg, ${gradientStart}, ${gradientEnd});`,
);
$colorPreview
.find('.color-preview-site-name')
.css(
'color',
$colorPalette.find('input[name="palette[titleslogan]"]').val(),
);
},
};
})(jQuery, Drupal, drupalSettings);
+65
View File
@@ -0,0 +1,65 @@
<div class="color-preview">
<div class="color-preview-header">
<div class="color-preview-logo"><img src="../../../core/themes/bartik/logo.svg" alt="Site Logo" /></div>
<div class="color-preview-site-name">Bartik</div>
<div class="color-preview-main-menu">
<ul class="color-preview-main-menu-links">
<li><a>Home</a></li>
<li><a>Te Quidne</a></li>
<li><a>Vel Torqueo Quae Erat</a></li>
</ul>
</div>
</div>
<div class="color-preview-main clearfix">
<div class="color-preview-sidebar">
<div class="color-preview-block preview-block">
<h2>Etiam est risus</h2>
<div class="preview-content">
Maecenas id porttitor Ut enim ad minim veniam, quis nostrudfelis.
Laboris nisi ut aliquip ex ea.
</div>
</div>
</div>
<div class="color-preview-content">
<h1 class="color-preview-page-title">Lorem ipsum dolor</h1>
<div class="color-preview-node">
<div class="preview-content">
Sit amet, <a>consectetur adipisicing elit</a>, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud <a>exercitation ullamco</a> laboris nisi ut aliquip ex ea
commodo consequat. Maecenas id porttitor Ut enim ad minim veniam, quis nostr udfelis.
</div>
</div>
</div>
</div>
<div class="color-preview-footer-wrapper">
<div class="color-preview-footer-columns clearfix">
<div class="preview-footer-column">
<div class="preview-block">
<h2>Etiam est risus</h2>
<div class="content">
Maecenas id porttitor Ut enim ad minim veniam, quis nostrudfelis.
Laboris nisi ut aliquip ex ea.
</div>
</div>
</div>
<div class="preview-footer-column">
<div class="preview-block preview-block-menu">
<h2>Erisus dolor</h2>
<div class="preview-content">
<ul>
<li><a>Donec placerat</a></li>
<li><a>Nullam nibh dolor</a></li>
<li><a>Blandit sed</a></li>
<li><a>Fermentum id</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
+43
View File
@@ -0,0 +1,43 @@
/**
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/
(function ($, Drupal, drupalSettings) {
Drupal.color = {
logoChanged: false,
callback: function callback(context, settings, $form) {
if (!this.logoChanged) {
$('.color-preview .color-preview-logo img').attr('src', drupalSettings.color.logo);
this.logoChanged = true;
}
if (drupalSettings.color.logo === null) {
$('div').remove('.color-preview-logo');
}
var $colorPreview = $form.find('.color-preview');
var $colorPalette = $form.find('.js-color-palette');
$colorPreview.css('backgroundColor', $colorPalette.find('input[name="palette[bg]"]').val());
$colorPreview.find('.color-preview-main h2, .color-preview .preview-content').css('color', $colorPalette.find('input[name="palette[text]"]').val());
$colorPreview.find('.color-preview-content a').css('color', $colorPalette.find('input[name="palette[link]"]').val());
var $colorPreviewBlock = $colorPreview.find('.color-preview-sidebar .color-preview-block');
$colorPreviewBlock.css('background-color', $colorPalette.find('input[name="palette[sidebar]"]').val());
$colorPreviewBlock.css('border-color', $colorPalette.find('input[name="palette[sidebarborders]"]').val());
$colorPreview.find('.color-preview-footer-wrapper').css('background-color', $colorPalette.find('input[name="palette[footer]"]').val());
var gradientStart = $colorPalette.find('input[name="palette[top]"]').val();
var gradientEnd = $colorPalette.find('input[name="palette[bottom]"]').val();
$colorPreview.find('.color-preview-header').attr('style', 'background-color: ' + gradientStart + '; background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(' + gradientStart + '), to(' + gradientEnd + ')); background-image: -moz-linear-gradient(-90deg, ' + gradientStart + ', ' + gradientEnd + ');');
$colorPreview.find('.color-preview-site-name').css('color', $colorPalette.find('input[name="palette[titleslogan]"]').val());
}
};
})(jQuery, Drupal, drupalSettings);
@@ -0,0 +1,5 @@
# Schema for the configuration files of the Bartik theme.
bartik.settings:
type: theme_settings
label: 'Bartik settings'
@@ -0,0 +1,152 @@
/**
* @file
* Overall specifications for Bartik.
*/
html {
height: 100%;
}
body {
min-height: 100%;
word-wrap: break-word;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 87.5%;
line-height: 1.5;
}
a,
a.link {
text-decoration: none;
border-bottom: 1px dotted;
}
a:hover,
a:active,
a:focus,
.link:hover,
.link:active,
.link:focus {
text-decoration: none;
border-bottom-style: solid;
}
.link {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
h1 a,
h2 a {
border-bottom: none;
}
/**
* Reusable heading classes are included to help modules change the styling of
* headings on a page without affecting accessibility.
*/
h1,
.heading-a {
margin: 1em 0 0.5em;
color: #000;
font-size: 1.357em;
font-weight: inherit;
}
h2,
.heading-b {
margin: 1em 0 0.5em;
font-size: 1.143em;
font-weight: inherit;
}
h3,
.heading-c {
margin: 1em 0 0.5em;
font-size: 1.092em;
font-weight: inherit;
}
h4,
.heading-d {
margin: 1em 0 0.5em;
font-size: 1.05em;
font-weight: inherit;
}
h5,
.heading-e {
margin: 1em 0 0.5em;
letter-spacing: 0.1em;
text-transform: uppercase;
font-size: 0.889em;
font-weight: inherit;
}
h6,
.heading-f {
margin: 1em 0 0.5em;
letter-spacing: 0.1em;
text-transform: uppercase;
font-size: 0.67em;
font-weight: inherit;
}
p {
margin: 0 0 1.2em;
}
del {
text-decoration: line-through;
}
blockquote {
margin: 1.5em 10px;
padding: 0.5em 10px;
border-left: 1px solid #bbb; /* LTR */
background: #f7f7f7;
font-style: italic;
}
[dir="rtl"] blockquote {
border-right: 1px solid #bbb;
border-left: none;
}
blockquote:before {
margin-right: 0.2em; /* LTR */
content: "\201C";
vertical-align: -0.4em;
color: #bbb;
font-size: 3em;
line-height: 0.1em;
}
[dir="rtl"] blockquote:before {
margin-right: 0;
margin-left: 0.2em;
content: "\201D";
}
blockquote:after {
content: "\201D";
vertical-align: -0.45em;
color: #bbb;
font-size: 3em;
line-height: 0.1em;
}
[dir="rtl"] blockquote:after {
content: "\201C";
}
blockquote > p:first-child {
display: inline;
}
.feed-icon {
display: block;
margin: 25px 0 0 0;
}
img {
max-width: 100%;
height: auto;
}
ul,
ol {
margin: 0;
padding: 0 0 0.25em 1em; /* LTR */
}
[dir="rtl"] ul,
[dir="rtl"] ol {
padding: 0 1em 0.25em 0;
}
ol ol,
ul ul {
margin: 0;
padding: 0 0 0.25em 1em; /* LTR */
}
[dir="rtl"] ol ol,
[dir="rtl"] ul ul {
padding: 0 1em 0.25em 0;
}
@@ -0,0 +1,12 @@
WHAT IS THIS DIRECTORY FOR?
--------------------------------
This directory is for CSS files previously inherited from the Classy theme.
WHY ARE CLASSY CSS FILES BEING COPIED HERE?
-------------------------------------------
Classy will be deprecated during the Drupal 9 lifecycle. To prepare for Classy's
removal, CSS files that would otherwise be inherited from Classy are copied
here.
CSS files that differ from the Classy versions should not be placed in this
directory or any subdirectory.
@@ -0,0 +1,43 @@
/**
* @file
* Styles for link buttons and action links.
*/
.action-links {
margin: 1em 0;
padding: 0;
list-style: none;
}
[dir="rtl"] .action-links {
/* This is required to win over specificity of [dir="rtl"] ul */
margin-right: 0;
}
.action-links li {
display: inline-block;
margin: 0 0.3em;
}
.action-links li:first-child {
margin-left: 0; /* LTR */
}
[dir="rtl"] .action-links li:first-child {
margin-right: 0;
margin-left: 0.3em;
}
.button-action {
display: inline-block;
padding: 0.2em 0.5em 0.3em;
text-decoration: none;
line-height: 160%;
}
.button-action:before {
margin-left: -0.1em; /* LTR */
padding-right: 0.2em; /* LTR */
content: "+";
font-weight: 900;
}
[dir="rtl"] .button-action:before {
margin-right: -0.1em;
margin-left: 0;
padding-right: 0;
padding-left: 0.2em;
}
@@ -0,0 +1,40 @@
/**
* @file
* Styling for the Book module.
*/
.book-navigation .menu {
padding-top: 1em;
padding-bottom: 0;
}
.book-navigation .book-pager {
overflow: auto;
margin: 0;
padding: 0.5em 0;
}
.book-pager__item {
display: inline-block;
list-style-type: none;
vertical-align: top;
}
.book-pager__item--previous {
width: 45%;
text-align: left; /* LTR */
}
[dir="rtl"] .book-pager__item--previous {
float: right;
text-align: right;
}
.book-pager__item--center {
width: 8%;
text-align: center;
}
.book-pager__item--next {
float: right; /* LTR */
width: 45%;
text-align: right; /* LTR */
}
[dir="rtl"] .book-pager__item--next {
float: left;
text-align: left;
}
@@ -0,0 +1,29 @@
/**
* @file
* Styles for breadcrumbs.
*/
.breadcrumb {
padding-bottom: 0.5em;
}
.breadcrumb ol {
margin: 0;
padding: 0;
}
[dir="rtl"] .breadcrumb ol {
/* This is required to win over specificity of [dir="rtl"] ol */
margin-right: 0;
}
.breadcrumb li {
display: inline;
margin: 0;
padding: 0;
list-style-type: none;
}
/* IE8 does not support :not() and :last-child. */
.breadcrumb li:before {
content: " \BB ";
}
.breadcrumb li:first-child:before {
content: none;
}
@@ -0,0 +1,15 @@
/**
* @file
* Visual styles for buttons.
*/
.button,
.image-button {
margin-right: 1em;
margin-left: 1em;
}
.button:first-child,
.image-button:first-child {
margin-right: 0;
margin-left: 0;
}
@@ -0,0 +1,32 @@
/**
* @file
* Visual styles for collapsible fieldsets.
*/
.collapse-processed > summary {
padding-right: 0.5em;
padding-left: 0.5em;
}
.collapse-processed > summary:before {
float: left; /* LTR */
width: 1em;
height: 1em;
content: "";
background: url(../../../../../misc/menu-expanded.png) 0 100% no-repeat; /* LTR */
}
[dir="rtl"] .collapse-processed > summary:before {
float: right;
background-position: 100% 100%;
}
.collapse-processed:not([open]) > summary:before {
-ms-transform: rotate(-90deg);
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
background-position: 25% 35%; /* LTR */
}
[dir="rtl"] .collapse-processed:not([open]) > summary:before {
-ms-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
background-position: 75% 35%;
}
@@ -0,0 +1,22 @@
/**
* @file
* Inline items.
*/
.container-inline label:after,
.container-inline .label:after {
content: ":";
}
.form-type-radios .container-inline label:after,
.form-type-checkboxes .container-inline label:after {
content: "";
}
.form-type-radios .container-inline .form-type-radio,
.form-type-checkboxes .container-inline .form-type-checkbox {
margin: 0 1em;
}
.container-inline .form-actions,
.container-inline.form-actions {
margin-top: 0;
margin-bottom: 0;
}
@@ -0,0 +1,23 @@
/**
* @file
* Collapsible details.
*
* @see collapse.js
* @see http://nicolasgallagher.com/css-background-image-hacks/
*/
details {
margin-top: 1em;
margin-bottom: 1em;
border: 1px solid #ccc;
}
details > .details-wrapper {
padding: 0.5em 1.5em;
}
/* @todo Regression: The summary of uncollapsible details are no longer
vertically aligned with the .details-wrapper in browsers without native
details support. */
summary {
padding: 0.2em 0.5em;
cursor: pointer;
}
@@ -0,0 +1,72 @@
/**
* @file
* Presentational styles for Drupal dialogs.
*/
.ui-dialog {
position: absolute;
z-index: 1260;
overflow: visible;
padding: 0;
color: #000;
border: solid 1px #ccc;
background: #fff;
}
@media all and (max-width: 48em) { /* 768px */
.ui-dialog {
width: 92% !important;
}
}
.ui-dialog .ui-dialog-titlebar {
border-width: 0 0 1px 0;
border-style: solid;
border-color: #ccc;
border-radius: 0;
background: #f3f4ee;
font-weight: bold;
}
.ui-dialog .ui-dialog-titlebar-close {
border: 0;
background: none;
}
.ui-dialog .ui-dialog-buttonpane {
margin-top: 0;
padding: 0.3em 1em;
border-width: 1px 0 0 0;
border-color: #ccc;
background: #f3f4ee;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
margin: 0;
padding: 0;
}
.ui-dialog .ui-dialog-buttonpane .ui-button-text-only .ui-button-text {
padding: 0;
}
/* Form action buttons are moved in dialogs. Remove empty space. */
.ui-dialog .ui-dialog-content .form-actions {
margin: 0;
padding: 0;
}
.ui-dialog .ajax-progress-throbber {
position: fixed;
z-index: 1000;
top: 48.5%;
/* Can't do center:50% middle: 50%, so approximate it for a typical window size. */
left: 49%;
width: 24px;
height: 24px;
padding: 4px;
opacity: 0.9;
border-radius: 7px;
background-color: #232323;
background-image: url(../../../../../misc/loading-small.gif);
background-repeat: no-repeat;
background-position: center center;
}
.ui-dialog .ajax-progress-throbber .throbber,
.ui-dialog .ajax-progress-throbber .message {
display: none;
}
@@ -0,0 +1,33 @@
/**
* @file
* General styles for dropbuttons.
*/
.js .dropbutton-widget {
border: 1px solid #ccc;
background-color: white;
}
.js .dropbutton-widget:hover {
border-color: #b8b8b8;
}
.dropbutton .dropbutton-action > * {
padding: 0.1em 0.5em;
white-space: nowrap;
}
.dropbutton .secondary-action {
border-top: 1px solid #e8e8e8;
}
.dropbutton-multiple .dropbutton {
border-right: 1px solid #e8e8e8; /* LTR */
}
[dir="rtl"] .dropbutton-multiple .dropbutton {
border-right: 0 none;
border-left: 1px solid #e8e8e8;
}
.dropbutton-multiple .dropbutton .dropbutton-action > * {
margin-right: 0.25em; /* LTR */
}
[dir="rtl"] .dropbutton-multiple .dropbutton .dropbutton-action > * {
margin-right: 0;
margin-left: 0.25em;
}
@@ -0,0 +1,46 @@
/**
* @file
* Visual styles for exposed filters.
*/
.exposed-filters .filters {
float: left; /* LTR */
margin-right: 1em; /* LTR */
}
[dir="rtl"] .exposed-filters .filters {
float: right;
margin-right: 0;
margin-left: 1em;
}
.exposed-filters .form-item {
margin: 0 0 0.1em 0;
padding: 0;
}
.exposed-filters .form-item label {
float: left; /* LTR */
width: 10em;
font-weight: normal;
}
[dir="rtl"] .exposed-filters .form-item label {
float: right;
}
.exposed-filters .form-select {
width: 14em;
}
/* Current filters */
.exposed-filters .current-filters {
margin-bottom: 1em;
}
.exposed-filters .current-filters .placeholder {
font-weight: bold;
font-style: normal;
}
.exposed-filters .additional-filters {
float: left; /* LTR */
margin-right: 1em; /* LTR */
}
[dir="rtl"] .exposed-filters .additional-filters {
float: right;
margin-right: 0;
margin-left: 1em;
}
@@ -0,0 +1,25 @@
/**
* @file
* Visual styles for fields.
*/
.field__label {
font-weight: bold;
}
.field--label-inline .field__label,
.field--label-inline .field__items {
float: left; /* LTR */
}
.field--label-inline .field__label,
.field--label-inline > .field__item,
.field--label-inline .field__items {
padding-right: 0.5em;
}
[dir="rtl"] .field--label-inline .field__label,
[dir="rtl"] .field--label-inline .field__items {
padding-right: 0;
padding-left: 0.5em;
}
.field--label-inline .field__label::after {
content: ":";
}
@@ -0,0 +1,62 @@
/**
* @file
* Default style for file module.
*/
/* File icons. */
.file {
display: inline-block;
min-height: 16px;
padding-left: 20px; /* LTR */
background-repeat: no-repeat;
background-position: left center; /* LTR */
}
[dir="rtl"] .file {
padding-right: 20px;
padding-left: inherit;
background-position: right center;
}
.file--general,
.file--application-octet-stream {
background-image: url(../../../images/classy/icons/application-octet-stream.png);
}
.file--package-x-generic {
background-image: url(../../../images/classy/icons/package-x-generic.png);
}
.file--x-office-spreadsheet {
background-image: url(../../../images/classy/icons/x-office-spreadsheet.png);
}
.file--x-office-document {
background-image: url(../../../images/classy/icons/x-office-document.png);
}
.file--x-office-presentation {
background-image: url(../../../images/classy/icons/x-office-presentation.png);
}
.file--text-x-script {
background-image: url(../../../images/classy/icons/text-x-script.png);
}
.file--text-html {
background-image: url(../../../images/classy/icons/text-html.png);
}
.file--text-plain {
background-image: url(../../../images/classy/icons/text-plain.png);
}
.file--application-pdf {
background-image: url(../../../images/classy/icons/application-pdf.png);
}
.file--application-x-executable {
background-image: url(../../../images/classy/icons/application-x-executable.png);
}
.file--audio {
background-image: url(../../../images/classy/icons/audio-x-generic.png);
}
.file--video {
background-image: url(../../../images/classy/icons/video-x-generic.png);
}
.file--text {
background-image: url(../../../images/classy/icons/text-x-generic.png);
}
.file--image {
background-image: url(../../../images/classy/icons/image-x-generic.png);
}
@@ -0,0 +1,104 @@
/**
* @file
* Visual styles for form components.
*/
form .field-multiple-table {
margin: 0;
}
form .field-multiple-table .field-multiple-drag {
width: 30px;
padding-right: 0; /* LTR */
}
[dir="rtl"] form .field-multiple-table .field-multiple-drag {
padding-left: 0;
}
form .field-multiple-table .field-multiple-drag .tabledrag-handle {
padding-right: 0.5em; /* LTR */
}
[dir="rtl"] form .field-multiple-table .field-multiple-drag .tabledrag-handle {
padding-right: 0;
padding-left: 0.5em;
}
form .field-add-more-submit {
margin: 0.5em 0 0;
}
/**
* Markup generated by Form API.
*/
.form-item,
.form-actions {
margin-top: 1em;
margin-bottom: 1em;
}
tr.odd .form-item,
tr.even .form-item {
margin-top: 0;
margin-bottom: 0;
}
.form-composite > .fieldset-wrapper > .description,
.form-item .description {
font-size: 0.85em;
}
label.option {
display: inline;
font-weight: normal;
}
.form-composite > legend,
.label {
display: inline;
margin: 0;
padding: 0;
font-size: inherit;
font-weight: bold;
}
.form-checkboxes .form-item,
.form-radios .form-item {
margin-top: 0.4em;
margin-bottom: 0.4em;
}
.form-type-radio .description,
.form-type-checkbox .description {
margin-left: 2.4em; /* LTR */
}
[dir="rtl"] .form-type-radio .description,
[dir="rtl"] .form-type-checkbox .description {
margin-right: 2.4em;
margin-left: 0;
}
.marker {
color: #e00;
}
.form-required:after {
display: inline-block;
width: 6px;
height: 6px;
margin: 0 0.3em;
content: "";
vertical-align: super;
/* Use a background image to prevent screen readers from announcing the text. */
background-image: url(../../../../../misc/icons/ee0000/required.svg);
background-repeat: no-repeat;
background-size: 6px 6px;
}
abbr.tabledrag-changed,
abbr.ajax-changed {
border-bottom: none;
}
.form-item input.error,
.form-item textarea.error,
.form-item select.error {
border: 2px solid red;
}
/* Inline error messages. */
.form-item--error-message:before {
display: inline-block;
width: 14px;
height: 14px;
content: "";
vertical-align: sub;
background: url(../../../../../misc/icons/e32700/error.svg) no-repeat;
background-size: contain;
}
@@ -0,0 +1,46 @@
/**
* @file
* Styling for the Forum module.
*/
.forum__description {
margin: 0.5em;
font-size: 0.9em;
}
.forum__icon {
float: left; /* LTR */
width: 24px;
height: 24px;
margin: 0 9px 0 0; /* LTR */
background-image: url(../../../images/classy/icons/forum-icons.png);
background-repeat: no-repeat;
}
[dir="rtl"] .forum__icon {
float: right;
margin: 0 0 0 9px;
}
.forum__title {
overflow: hidden;
}
.forum .indented {
margin-left: 20px; /* LTR */
}
[dir="rtl"] .forum .indented {
margin-right: 20px;
margin-left: 0;
}
.forum__topic-status--new {
background-position: -24px 0;
}
.forum__topic-status--hot {
background-position: -48px 0;
}
.forum__topic-status--hot-new {
background-position: -72px 0;
}
.forum__topic-status--sticky {
background-position: -96px 0;
}
.forum__topic-status--closed {
background-position: -120px 0;
}
@@ -0,0 +1,21 @@
/**
* @file
* Visual styles for icons.
*/
.icon-help {
padding: 1px 0 1px 20px; /* LTR */
background: url(../../../../../misc/help.png) 0 50% no-repeat; /* LTR */
}
[dir="rtl"] .icon-help {
padding: 1px 20px 1px 0;
background-position: 100% 50%;
}
.feed-icon {
display: block;
overflow: hidden;
width: 16px;
height: 16px;
text-indent: -9999px;
background: url(../../../../../misc/feed.svg) no-repeat;
}
@@ -0,0 +1,33 @@
/**
* @file
* Image upload widget.
*
* This CSS file is not used in this theme (Classy). It was intended to be used,
* but due to a bug, Drupal 8 shipped with it not being used. To not break
* backwards compatibility, we continue to not load it in Classy. Every
* subtheme of Classy is encouraged to use it, by attaching the
* classy/image-widget asset library in their image-widget.html.twig file.
*
* @see core/themes/seven/templates/content-edit/image-widget.html.twig.
*
* @todo In Drupal 9, let core/themes/classy/templates/content-edit/image-widget.html.twig
* attach the classy/image-widget asset library.
*/
.image-preview {
float: left; /* LTR */
padding: 0 10px 10px 0; /* LTR */
}
[dir="rtl"] .image-preview {
float: right;
padding: 0 0 10px 10px;
}
.image-widget-data {
float: left; /* LTR */
}
[dir="rtl"] .image-widget-data {
float: right;
}
.image-widget-data .text-field {
width: auto;
}
@@ -0,0 +1,16 @@
/**
* @file
* Basic styling for comment module.
*/
/**
* Indent threaded comments.
*/
.indented {
margin-left: 25px; /* LTR */
}
[dir="rtl"] .indented {
margin-right: 25px;
margin-left: 0;
}
@@ -0,0 +1,33 @@
/**
* @file
* Visual styles for inline forms.
*/
.form--inline .form-item {
float: left; /* LTR */
margin-right: 0.5em; /* LTR */
}
[dir="rtl"] .form--inline .form-item {
float: right;
margin-right: 0;
margin-left: 0.5em;
}
/* This is required to win over specificity of [dir="rtl"] .form--inline .form-item */
[dir="rtl"] .views-filterable-options-controls .form-item {
margin-right: 2%;
}
.form--inline .form-item-separator {
margin-top: 2.3em;
margin-right: 1em; /* LTR */
margin-left: 0.5em; /* LTR */
}
[dir="rtl"] .form--inline .form-item-separator {
margin-right: 0.5em;
margin-left: 1em;
}
.form--inline .form-actions {
clear: left; /* LTR */
}
[dir="rtl"] .form--inline .form-actions {
clear: right;
}
@@ -0,0 +1,32 @@
/**
* @file
* Visual styles for item list.
*/
.item-list .title {
font-weight: bold;
}
.item-list ul {
margin: 0 0 0.75em 0;
padding: 0;
}
.item-list li {
margin: 0 0 0.25em 1.5em; /* LTR */
padding: 0;
}
[dir="rtl"] .item-list li {
margin: 0 1.5em 0.25em 0;
}
/**
* Comma separated lists.
*/
.item-list--comma-list {
display: inline;
}
.item-list--comma-list .item-list__comma-list,
.item-list__comma-list li,
[dir="rtl"] .item-list--comma-list .item-list__comma-list,
[dir="rtl"] .item-list__comma-list li {
margin: 0;
}
@@ -0,0 +1,16 @@
/**
* @file
* Style another element as a link.
*/
button.link {
margin: 0;
padding: 0;
cursor: pointer;
border: 0;
background: transparent;
font-size: 1em;
}
label button.link {
font-weight: bold;
}
@@ -0,0 +1,23 @@
/**
* @file
* Visual styles for links.
*/
ul.inline,
ul.links.inline {
display: inline;
padding-left: 0; /* LTR */
}
[dir="rtl"] ul.inline,
[dir="rtl"] ul.links.inline {
padding-right: 0;
padding-left: 15px;
}
ul.inline li {
display: inline;
padding: 0 0.5em;
list-style-type: none;
}
ul.links a.is-active {
color: #000;
}
@@ -0,0 +1,20 @@
/**
* @file
* Media Embed filter: default styling for media embed errors.
*/
/**
* The caption filter's styling overrides ours, so add a more specific selector
* to account for that.
*/
.media-embed-error,
.caption > .media-embed-error {
max-width: 200px;
padding: 100px 20px 20px;
text-align: center;
background-color: #ebebeb;
background-image: url(../../../../../modules/media/images/icons/no-thumbnail.png);
background-repeat: no-repeat;
background-position: center top;
background-size: 100px 100px;
}
@@ -0,0 +1,34 @@
/**
* @file
* Visual styles for menu.
*/
ul.menu {
margin-left: 1em; /* LTR */
padding: 0;
list-style: none outside;
text-align: left; /* LTR */
}
[dir="rtl"] ul.menu {
margin-right: 1em;
margin-left: 0;
text-align: right;
}
.menu-item--expanded {
list-style-type: circle;
list-style-image: url(../../../../../misc/menu-expanded.png);
}
.menu-item--collapsed {
list-style-type: disc;
list-style-image: url(../../../../../misc/menu-collapsed.png); /* LTR */
}
[dir="rtl"] .menu-item--collapsed {
list-style-image: url(../../../../../misc/menu-collapsed-rtl.png);
}
.menu-item {
margin: 0;
padding-top: 0.2em;
}
ul.menu a.is-active {
color: #000;
}
@@ -0,0 +1,72 @@
/**
* @file
* Styles for system messages.
*/
.messages {
padding: 15px 20px 15px 35px; /* LTR */
word-wrap: break-word;
border: 1px solid;
border-width: 1px 1px 1px 0; /* LTR */
border-radius: 2px;
background: no-repeat 10px 17px; /* LTR */
overflow-wrap: break-word;
}
[dir="rtl"] .messages {
padding-right: 35px;
padding-left: 20px;
text-align: right;
border-width: 1px 0 1px 1px;
background-position: right 10px top 17px;
}
.messages + .messages {
margin-top: 1.538em;
}
.messages__list {
margin: 0;
padding: 0;
list-style: none;
}
.messages__item + .messages__item {
margin-top: 0.769em;
}
/* See .color-success in Seven's colors.css */
.messages--status {
color: #325e1c;
border-color: #c9e1bd #c9e1bd #c9e1bd transparent; /* LTR */
background-color: #f3faef;
background-image: url(../../../../../misc/icons/73b355/check.svg);
box-shadow: -8px 0 0 #77b259; /* LTR */
}
[dir="rtl"] .messages--status {
margin-left: 0;
border-color: #c9e1bd transparent #c9e1bd #c9e1bd;
box-shadow: 8px 0 0 #77b259;
}
/* See .color-warning in Seven's colors.css */
.messages--warning {
color: #734c00;
border-color: #f4daa6 #f4daa6 #f4daa6 transparent; /* LTR */
background-color: #fdf8ed;
background-image: url(../../../../../misc/icons/e29700/warning.svg);
box-shadow: -8px 0 0 #e09600; /* LTR */
}
[dir="rtl"] .messages--warning {
border-color: #f4daa6 transparent #f4daa6 #f4daa6;
box-shadow: 8px 0 0 #e09600;
}
/* See .color-error in Seven's colors.css */
.messages--error {
color: #a51b00;
border-color: #f9c9bf #f9c9bf #f9c9bf transparent; /* LTR */
background-color: #fcf4f2;
background-image: url(../../../../../misc/icons/e32700/error.svg);
box-shadow: -8px 0 0 #e62600; /* LTR */
}
[dir="rtl"] .messages--error {
border-color: #f9c9bf transparent #f9c9bf #f9c9bf;
box-shadow: 8px 0 0 #e62600;
}
.messages--error p.error {
color: #a51b00;
}
@@ -0,0 +1,12 @@
/**
* @file
* Markup generated by #type 'more_link'.
*/
.more-link {
display: block;
text-align: right; /* LTR */
}
[dir="rtl"] .more-link {
text-align: left;
}
@@ -0,0 +1,8 @@
/**
* @file
* Visual styles for nodes.
*/
.node--unpublished {
background-color: #fff4f4;
}
@@ -0,0 +1,16 @@
/**
* @file
* Visual styles for pager.
*/
.pager__items {
clear: both;
text-align: center;
}
.pager__item {
display: inline;
padding: 0.5em;
}
.pager__item.is-active {
font-weight: bold;
}
@@ -0,0 +1,69 @@
/**
* @file
* Visual styles for progress bar.
*
* @see progress.js
*/
.progress__track {
border-color: #b3b3b3;
border-radius: 10em;
background-color: #f2f1eb;
background-image: -webkit-linear-gradient(#e7e7df, #f0f0f0);
background-image: linear-gradient(#e7e7df, #f0f0f0);
box-shadow: inset 0 1px 3px hsla(0, 0%, 0%, 0.16);
}
.progress__bar {
height: 16px;
margin-top: -1px;
margin-left: -1px; /* LTR */
padding: 0 1px;
-webkit-transition: width 0.5s ease-out;
transition: width 0.5s ease-out;
-webkit-animation: animate-stripes 3s linear infinite;
-moz-animation: animate-stripes 3s linear infinite;
border: 1px #07629a solid;
border-radius: 10em;
background: #057ec9;
background-image:
-webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)),
-webkit-linear-gradient(left top, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
background-image:
linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.15)),
linear-gradient(to right bottom, #0094f0 0%, #0094f0 25%, #007ecc 25%, #007ecc 50%, #0094f0 50%, #0094f0 75%, #0094f0 100%);
background-size: 40px 40px;
}
[dir="rtl"] .progress__bar {
margin-right: -1px;
margin-left: 0;
-webkit-animation-direction: reverse;
-moz-animation-direction: reverse;
animation-direction: reverse;
}
@media screen and (prefers-reduced-motion: reduce) {
.progress__bar {
-webkit-transition: none;
transition: none;
-webkit-animation: none;
-moz-animation: none;
}
}
/**
* Progress bar animations.
*/
@-webkit-keyframes animate-stripes {
0% { background-position: 0 0, 0 0; }
100% { background-position: 0 0, -80px 0; }
}
@-ms-keyframes animate-stripes {
0% { background-position: 0 0, 0 0; }
100% { background-position: 0 0, -80px 0; }
}
@keyframes animate-stripes {
0% { background-position: 0 0, 0 0; }
100% { background-position: 0 0, -80px 0; }
}
@@ -0,0 +1,8 @@
/**
* @file
* Stylesheet for results generated by the Search module.
*/
.search-results {
list-style: none;
}
@@ -0,0 +1,14 @@
/**
* @file
* Visual styles for table drag.
*/
tr.drag {
background-color: #fffff0;
}
tr.drag-previous {
background-color: #ffd;
}
body div.tabledrag-changed-warning {
margin-bottom: 0.5em;
}
@@ -0,0 +1,19 @@
/**
* @file
* Table select behavior.
*
* @see tableselect.js
*/
tr.selected td {
background: #ffc;
}
td.checkbox,
th.checkbox {
text-align: center;
}
[dir="rtl"] td.checkbox,
[dir="rtl"] th.checkbox {
/* This is required to win over specificity of [dir="rtl"] td */
text-align: center;
}
@@ -0,0 +1,11 @@
/**
* @file
* Table sort indicator.
*/
th.is-active img {
display: inline;
}
td.is-active {
background-color: #ddd;
}
@@ -0,0 +1,33 @@
/**
* @file
* Visual styles for tabs.
*/
div.tabs {
margin: 1em 0;
}
ul.tabs {
margin: 0 0 0.5em;
padding: 0;
list-style: none;
}
.tabs > li {
display: inline-block;
margin-right: 0.3em; /* LTR */
}
[dir="rtl"] .tabs > li {
margin-right: 0;
margin-left: 0.3em;
}
.tabs a {
display: block;
padding: 0.2em 1em;
text-decoration: none;
}
.tabs a.is-active {
background-color: #eee;
}
.tabs a:focus,
.tabs a:hover {
background-color: #f5f5f5;
}
@@ -0,0 +1,11 @@
/**
* @file
* Visual styles for a resizable textarea.
*/
.form-textarea-wrapper textarea {
display: block;
box-sizing: border-box;
width: 100%;
margin: 0;
}
@@ -0,0 +1,15 @@
/**
* @file
* Styles for Classy's modal windows.
*/
.ui-dialog--narrow {
max-width: 500px;
}
@media screen and (max-width: 600px) {
.ui-dialog--narrow {
min-width: 95%;
max-width: 95%;
}
}
@@ -0,0 +1,66 @@
/**
* @file
* Theme styling for user module.
*/
/* Visual styling for the Password strength indicator */
.password-strength__meter {
margin-top: 0.5em;
background-color: #ebeae4;
}
.password-strength__indicator {
-webkit-transition: width 0.5s ease-out;
transition: width 0.5s ease-out;
background-color: #77b259;
}
.password-strength__indicator.is-weak {
background-color: #e62600;
}
.password-strength__indicator.is-fair {
background-color: #e09600;
}
.password-strength__indicator.is-good {
background-color: #0074bd;
}
.password-strength__indicator.is-strong {
background-color: #77b259;
}
.password-confirm,
.password-field,
.password-strength,
.password-confirm-match {
width: 55%;
}
.password-suggestions {
max-width: 34.7em;
margin: 0.7em 0;
padding: 0.2em 0.5em;
border: 1px solid #b4b4b4;
}
.password-suggestions ul {
margin-bottom: 0;
}
.confirm-parent,
.password-parent {
clear: left; /* LTR */
overflow: hidden;
max-width: 33em;
margin: 0;
}
[dir="rtl"] .confirm-parent,
[dir="rtl"] .password-parent {
clear: right;
}
/* Styling for the status indicator of the passwords match test. */
.password-confirm .ok {
color: #325e1c;
font-weight: bold;
}
.password-confirm .error {
color: #a51b00;
font-weight: bold;
}
@@ -0,0 +1,28 @@
/**
* @file
* Contains minimal layout styling for the media library.
*/
.media-library-wrapper {
display: flex;
}
.media-library-menu {
flex-basis: 20%;
flex-shrink: 0;
}
.media-library-content {
flex-grow: 1;
}
.media-library-views-form {
display: flex;
flex-wrap: wrap;
}
.media-library-views-form .media-library-item {
justify-content: space-between;
max-width: 23%;
margin: 1%;
}
+70
View File
@@ -0,0 +1,70 @@
/* ---------- Color Module Styles ----------- */
body {
color: #3b3b3b;
background: #292929;
}
#page,
#main-wrapper,
.region-primary-menu .menu-item a.is-active,
.region-primary-menu .menu-item--active-trail a {
background: #fff;
}
.tabs ul.primary li a.is-active {
background-color: #fff;
}
.tabs ul.primary li.is-active a {
border-bottom-color: #fff;
background-color: #fff;
}
#header {
background-color: #1d84c3;
background-image: -webkit-linear-gradient(top, #055a8e 0%, #1d84c3 100%);
background-image: linear-gradient(to bottom, #055a8e 0%, #1d84c3 100%);
}
a,
.link {
color: #0071b3;
}
a:hover,
a:focus,
.link:hover,
.link:focus {
color: #018fe2;
}
a:active,
.link:active {
color: #23aeff;
}
.sidebar .block {
border-color: #f9f9f9;
background-color: #f6f6f2;
}
.site-footer {
background: #292929;
}
.region-header,
.region-header a,
.region-header li a.is-active,
.region-header .site-branding__text,
.region-header .site-branding,
.region-header .site-branding__text a,
.region-header .site-branding a,
.region-secondary-menu .menu-item a,
.region-secondary-menu .menu-item a.is-active {
color: #fffeff;
}
/* ---------- Color Form ----------- */
[dir="rtl"] .color-form .color-palette {
margin-right: 20px;
margin-left: 0;
}
[dir="rtl"] .color-form .form-item label {
float: right;
}
[dir="rtl"] .color-form .color-palette .lock {
right: -20px;
left: 0;
}
@@ -0,0 +1,9 @@
/**
* @file
* Visual styles for Bartik's blocks.
*/
/* Block has its own content wrapper. */
.block .content {
margin-top: 10px;
}
@@ -0,0 +1,13 @@
/**
* @file
* Bartik specific styling for the Book module.
*/
.book-navigation .menu {
border-top: 1px solid #d6d6d6;
}
.book-navigation .book-pager {
margin: 0;
border-top: 1px solid #d6d6d6;
border-bottom: 1px solid #d6d6d6;
}
@@ -0,0 +1,12 @@
/**
* @file
* Styles for Bartik's breadcrumbs.
*/
.breadcrumb {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.929em;
}
.region-breadcrumb {
padding: 0 15px 0.25em;
}
@@ -0,0 +1,40 @@
/**
* @file
* Styles for Bartik's buttons.
*/
.button {
display: inline-block;
padding: 0.25em 1.063em;
cursor: pointer;
text-align: center;
color: #3a3a3a;
border: 1px solid #e4e4e4;
border-right-color: #d2d2d2;
border-bottom-color: #b4b4b4;
border-left-color: #d2d2d2;
border-radius: 1em;
background-color: #fff;
background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
font-size: 0.929em;
font-weight: normal;
line-height: normal;
}
.button:hover,
.button:active,
.button:focus {
text-decoration: none;
color: #5a5a5a;
background: #dedede;
}
.button.is-disabled:hover,
.button.is-disabled:active,
.button.is-disabled:focus,
.button.is-disabled {
cursor: default;
color: #717171;
border-color: #bbb;
background: #ededed;
}
@@ -0,0 +1,31 @@
/* -------------- Captions -------------- */
.caption {
margin-bottom: 1.2em;
}
.caption > * {
padding: 0.5ex;
border: 1px solid #ccc;
background: #f3f3f3;
}
.caption > figcaption {
padding-top: 0.5ex;
text-align: center;
border: 1px solid #ccc;
border-top: none;
font-size: small;
}
/* Override Bartik's default blockquote and pre styles when captioned. */
.caption-pre > pre,
.caption-blockquote > blockquote {
margin: 0;
}
.caption-blockquote > figcaption::before {
content: "— ";
}
.caption-blockquote > figcaption {
text-align: left; /* LTR */
}
[dir="rtl"] .caption-blockquote > figcaption {
text-align: right;
}
@@ -0,0 +1,161 @@
/**
* @file
* Visual styles for comments in Bartik.
*/
/* This is required to win over specificity of #content h2 */
#content .comment-wrapper h2 {
margin-bottom: 1em;
}
#content .comment-wrapper h2.comment-form__title {
margin-bottom: 1em;
}
.field-node--comment {
font-size: 0.934em;
}
.comment {
display: table;
margin-bottom: 19px;
vertical-align: top;
}
[dir="rtl"] .comment {
direction: rtl;
}
.comment__meta {
padding: 0 30px 0 0; /* LTR */
font-size: 1.071em;
}
[dir="rtl"] .comment__meta {
padding: 0 0 0 30px;
}
.comment__attribution img {
border: 1px solid #d3d7d9;
}
/* This is required to win over specificity of .field--type-image img */
.comment .field--name-user-picture img {
margin: 0;
}
.comment__author .username {
white-space: nowrap;
}
.comment__author {
margin: 4px 0;
line-height: 1.2;
}
.comment__time {
margin-bottom: 4px;
color: #68696b;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.733em;
line-height: 1.2;
}
.comment__permalink {
font-size: 0.733em;
line-height: 1.2;
}
.comment__content {
position: relative;
display: table-cell;
width: 100%;
padding: 10px 25px 10px 25px;
vertical-align: top;
word-break: break-word;
hyphens: auto;
border: 1px solid #d3d7d9;
font-size: 0.929em;
line-height: 1.6;
}
.comment__content a {
hyphens: none;
}
.comment__content:before {
position: absolute;
top: 20px;
right: 100%; /* LTR */
content: "";
border-top: 20px solid transparent;
border-right: 20px solid #d3d7d9; /* LTR */
border-bottom: 20px solid transparent;
}
[dir="rtl"] .comment__content:before {
right: auto;
left: 100%;
border-right: none;
border-left: 20px solid #d3d7d9;
}
.comment__content:after {
position: absolute;
top: 20px;
right: 100%; /* LTR */
margin-right: -1px; /* LTR */
content: "";
border-top: 20px solid transparent;
border-right: 20px solid #fff; /* LTR */
border-bottom: 20px solid transparent;
}
[dir="rtl"] .comment__content:after {
right: auto;
left: 100%;
margin-right: 0;
margin-left: -1px;
border-right: none;
border-left: 20px solid #fff;
}
.comment__content h3 {
margin-top: 0.94em;
margin-bottom: 0.45em;
font-size: 1.171em;
}
.indented {
margin-left: 40px; /* LTR */
}
[dir="rtl"] .indented {
margin-right: 40px;
margin-left: 0;
}
.comment .links {
padding: 0 0 0.25em 0;
}
.comment .links li {
padding: 0 0.5em 0 0; /* LTR */
font-size: 1.08em;
}
[dir="rtl"] .comment .links li {
padding: 0 0 0 0.5em;
}
.comment--unpublished {
margin-right: 5px; /* LTR */
padding: 5px 2px 5px 5px; /* LTR */
background: #fff4f4;
}
[dir="rtl"] .comment--unpublished {
margin-right: 0;
margin-left: 5px;
padding: 5px 5px 5px 2px;
}
/**
* @todo: unpublished nodes have class .node--unpublished.
* change this to .comment--unpublished.
*/
.unpublished .comment-text .comment-arrow {
border-right: 1px solid #fff4f4;
border-left: 1px solid #fff4f4;
}
.unpublished {
padding: 20px 15px 0;
}
.comment-footer {
display: table-row;
}
.comment--unpublished .comment__text:after,
.node--unpublished .comment__text:after {
border-right-color: #fff4f4; /* LTR */
}
[dir="rtl"] .comment--unpublished .comment__content:after,
[dir="rtl"] .node--unpublished .comment__content:after {
border-left-color: #fff4f4;
}
@@ -0,0 +1,9 @@
/**
* @file
* Contextual links styles for Bartik.
*/
.contextual-links a {
border-bottom: none;
text-shadow: 0 0 0;
}
@@ -0,0 +1,18 @@
/**
* @file
* Visual styles for Bartik's block demonstration.
*/
.demo-block {
margin: 5px;
padding: 5px;
text-align: center;
color: #000;
border: 1px dotted #9f9e00;
background: #ff6;
text-shadow: none;
font: 90% "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}
.featured-top .demo-block {
font-size: 0.55em;
}
@@ -0,0 +1,65 @@
/**
* @file
* Visual styles for Bartik's dropbutton component.
*/
.js .dropbutton-widget {
overflow: hidden;
margin: 0.125em 0;
cursor: pointer;
text-align: center;
color: #3a3a3a;
border: 1px solid;
border-color: #e4e4e4 #d2d2d2 #b4b4b4 #d2d2d2;
border-radius: 1em;
background-color: #fff;
background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
}
.js .dropbutton-widget:hover {
border-color: #e4e4e4 #d2d2d2 #b4b4b4 #d2d2d2;
}
.js .dropbutton-widget .button {
margin: 0;
padding: 0.32em 1em;
border: none;
background: transparent none;
}
.js .dropbutton-multiple .dropbutton-widget,
.js[dir="rtl"] .dropbutton-multiple .dropbutton-widget {
padding: 0;
}
.js .dropbutton-multiple .dropbutton-widget .dropbutton {
position: relative;
padding-right: 2em; /* LTR */
}
.js[dir="rtl"] .dropbutton-multiple .dropbutton-widget .dropbutton {
padding-right: 0;
padding-left: 2em;
}
.js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
margin-right: 0; /* LTR */
}
[dir="rtl"].js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
margin-left: 0;
}
.js .dropbutton .secondary-action {
border-top-color: #ccc;
}
.js .dropbutton-toggle button {
background-color: #e8e8e8;
background-image: -webkit-linear-gradient(top, #e8e8e8, #d2d2d2);
background-image: linear-gradient(to bottom, #e8e8e8, #d2d2d2);
}
.js .dropbutton-toggle .dropbutton-arrow:hover {
background: #ccc;
}
.js .dropbutton a {
color: #3a3a3a;
border-bottom: 0 none;
}
.js .dropbutton .dropbutton-action:hover,
.js .dropbutton a:hover {
border-bottom: 0 none;
background: #dedede;
}
@@ -0,0 +1,65 @@
/**
* @file
* Visual styles for Bartik's featured bottom component.
*/
.featured-bottom {
border-top: 1px solid #e7e7e7;
background: rgba(30, 50, 10, 0.08);
}
.featured-bottom .region {
padding: 0 20px;
}
@media all and (min-width: 560px) {
.featured-bottom .region {
position: relative;
float: left; /* LTR */
box-sizing: border-box;
width: 33%;
padding: 20px 15px 30px;
}
[dir="rtl"] .featured-bottom .region {
float: right;
}
}
@media all and (min-width: 851px) {
.featured-bottom .region {
padding: 0 20px;
}
}
.featured-bottom h2 {
margin-bottom: 0.6em;
text-align: center;
color: #000;
text-shadow: 0 1px 0 #fff;
font-size: 1.4em;
line-height: 1em;
}
.featured-bottom .block {
margin-bottom: 1em;
padding-bottom: 1em;
border-bottom: 1px solid #dfdfdf;
line-height: 1.3em;
}
.featured-bottom .block:last-child {
border-bottom: none;
}
.featured-bottom ul,
.featured-bottom ol {
padding-left: 0;
}
.featured-bottom ul li,
.featured-bottom ol li {
list-style: none;
}
.featured-bottom input:not(.form-submit) {
width: 185px;
}
.region-featured-bottom-third .feed-icon {
float: right;
}
.region-featured-bottom-second .block-system-powered-by-block {
text-align: center;
}
@@ -0,0 +1,25 @@
/**
* @file
* Visual styles for Bartik's featured top.
*/
.featured-top {
margin: 0;
padding: 20px 10px 45px;
text-align: center;
border-bottom: 1px solid #e7e7e7;
background: #f0f0f0;
background: rgba(30, 50, 10, 0.08);
text-shadow: 1px 1px #fff;
font-size: 1.2em;
font-weight: normal;
line-height: 1.4;
}
.featured-top h2 {
font-size: 1.2em;
line-height: 1;
}
.featured-top p {
margin: 0;
padding: 0;
}
@@ -0,0 +1,15 @@
/**
* @file
* Feed icon styles for Bartik.
*/
.feed-icon {
display: inline-block;
padding-bottom: 2px;
border-bottom: 1px solid transparent;
}
.feed-icon:focus,
.feed-icon:hover {
border-color: #018fe2;
}
@@ -0,0 +1,99 @@
/**
* @file
* Visual styles for Bartik's field components.
*/
.field--type-entity-reference {
margin: 0 0 1.2em;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.field--type-entity-reference .field__label {
margin: 0;
padding-right: 5px; /* LTR */
font-weight: normal;
}
[dir="rtl"] .field--type-entity-reference .field__label {
padding-right: 0;
padding-left: 5px;
}
.field--type-entity-reference .field__label,
.field--type-entity-reference ul.links {
font-size: 0.8em;
}
.node--view-mode-teaser .field--type-entity-reference .field__label,
.node--view-mode-teaser .field--type-entity-reference ul.links {
font-size: 0.821em;
}
.field--type-entity-reference ul.links {
margin: 0;
padding: 0;
list-style: none;
}
/* This is required to win over specificity of [dir="rtl"] .region-content ul */
[dir="rtl"] .field--type-entity-reference ul.links {
padding: 0;
}
.field--type-entity-reference ul.links li {
float: left; /* LTR */
padding: 0 1em 0 0; /* LTR */
white-space: nowrap;
}
[dir="rtl"] .field--type-entity-reference ul.links li {
float: right;
padding: 0 0 0 1em;
}
@media all and (min-width: 560px) {
.node .field--type-image {
float: left; /* LTR */
margin: 0 1em 0 0; /* LTR */
}
[dir="rtl"] .node .field--type-image {
float: right;
margin: 0 0 0 1em;
}
.node .field--type-image + .field--type-image {
clear: both;
}
}
.field--type-image img,
.field--name-user-picture img {
margin: 0 0 1em;
}
.field--type-image a {
border-bottom: none;
}
.field--name-field-tags {
margin: 0 0 1.2em;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.field--name-field-tags .field__label {
margin: 0;
padding-right: 5px; /* LTR */
font-weight: normal;
}
[dir="rtl"] .field--name-field-tags .field__label {
padding-right: 0;
padding-left: 5px;
}
.field--name-field-tags .field__label,
.field--name-field-tags ul.links {
font-size: 0.8em;
}
.node--view-mode-teaser .field--name-field-tags .field__label,
.node--view-mode-teaser .field--name-field-tags ul.links {
font-size: 0.821em;
}
.field--name-field-tags ul.links {
margin: 0;
padding: 0;
}
.field--name-field-tags ul.links li {
float: left; /* LTR */
padding: 0 1em 0 0; /* LTR */
white-space: nowrap;
}
[dir="rtl"] .field--name-field-tags ul.links li {
float: right;
padding: 0 0 0 1em;
}
@@ -0,0 +1,320 @@
/**
* @file
* Visual styles for Bartik's forms.
*/
/* Password field. */
.password-field {
margin: 0;
}
/* Form elements. */
form {
margin: 0;
padding: 0;
}
fieldset {
min-width: 0;
margin: 1em 0;
}
details,
fieldset,
.filter-wrapper {
border-radius: 4px;
}
.filter-wrapper {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.filter-help a {
font-size: 0.857em;
}
.filter-wrapper .form-item label {
margin-right: 10px; /* LTR */
}
[dir="rtl"] .filter-wrapper .form-item label {
margin-right: 0;
margin-left: 10px;
}
summary {
color: #3b3b3b;
background: #dbdbdb;
text-shadow: 0 1px 0 #fff;
}
details summary a {
color: #3b3b3b;
}
details summary a:hover,
details summary a:active,
details summary a:focus {
color: #000;
}
details .details-description {
font-style: italic;
}
label {
display: table;
font-weight: bold;
}
label[for] {
cursor: pointer;
}
input,
textarea,
select {
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
}
input {
box-sizing: border-box;
/* Keep form elements from overflowing their containers. */
max-width: 100%;
margin: 2px 0;
padding: 4px;
}
input,
textarea {
font-size: 0.929em;
}
/**
* Make the font slightly bigger in mobile
* @todo: check the correct font-size
*/
@media screen and (max-width: 60em) { /* 920px */
input,
textarea {
font-size: 16px;
}
}
textarea {
line-height: 1.5;
}
textarea.form-textarea {
padding: 4px;
}
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-file,
input.form-number,
input.form-color,
textarea.form-textarea {
color: #3b3b3b;
border: 1px solid #ccc;
}
input.form-submit:hover,
input.form-submit:focus {
background: #dedede;
}
.password-suggestions ul li {
margin-left: 1.2em; /* LTR */
}
[dir="rtl"] .password-suggestions ul li {
margin-right: 1.2em;
margin-left: 0;
}
.form-item label,
.form-wrapper .label {
font-size: 0.929em;
}
.form-wrapper .field-multiple-table .label {
font-size: inherit;
}
.form-type-radio label,
.form-type-checkbox label {
margin-left: 4px; /* LTR */
}
[dir="rtl"] .form-type-radio label,
[dir="rtl"] .form-type-checkbox label {
margin-right: 4px;
margin-left: 0;
}
.form-type-radio .description,
.form-type-checkbox .description {
margin-left: 2px; /* LTR */
}
[dir="rtl"] .form-type-radio .description,
[dir="rtl"] .form-type-checkbox .description {
margin-right: 2px;
margin-left: 0;
}
.form-actions {
padding-top: 10px;
}
/* Node Form */
#edit-body {
margin-bottom: 2em;
}
.node-form label,
.node-form .description,
.node-form .form-wrapper .label {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.node-form .form-wrapper .field-multiple-table .label {
font-family: inherit;
}
.node-form .form-wrapper {
margin-bottom: 2em;
}
.node-form .entity-content-form-footer,
.node-form .field--name-status {
margin-bottom: 0;
}
.node-form .form-actions {
margin-top: 0;
padding-top: 0;
}
/* Contact Form */
.contact-form #edit-name {
width: 75%;
border-radius: 4px;
}
.contact-form #edit-mail {
width: 75%;
border-radius: 4px;
}
.contact-form #edit-subject {
width: 75%;
border-radius: 4px;
}
.contact-form #edit-message {
width: 76.3%;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
/* Disabled form elements */
.form-disabled input,
.form-disabled select,
.form-disabled textarea {
color: #717171;
border-color: #bbb;
background: #ededed;
}
.form-disabled label {
color: #717171;
}
/* Comment form */
.comment-form label {
float: left; /* LTR */
width: 120px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.929em;
}
[dir="rtl"] .comment-form label {
float: right;
}
.comment-form input,
.comment-form .form-select {
margin: 0;
border-radius: 4px;
}
.comment-form .form-type-textarea label {
float: none;
}
.comment-form .form-item,
.comment-form .form-radios,
.comment-form .form-type-checkbox,
.comment-form .form-select {
overflow: hidden;
margin-bottom: 10px;
}
.comment-form .form-type-checkbox,
.comment-form .form-radios {
margin-left: 120px; /* LTR */
}
[dir="rtl"] .comment-form .form-type-checkbox,
[dir="rtl"] .comment-form .form-radios,
[dir="rtl"] .comment-form .form-item .description {
margin-right: 120px;
margin-left: 0;
}
.comment-form .form-type-checkbox label,
.comment-form .form-radios label {
float: none;
margin-top: 0;
}
.comment-form input.form-file {
width: auto;
}
.layout-no-sidebars .comment-form .form-text {
width: 800px;
}
.layout-one-sidebar .comment-form .form-text {
width: 500px;
}
.layout-two-sidebars .comment-form .form-text {
width: 320px;
}
.comment-form .form-item .description {
margin-left: 120px; /* LTR */
font-size: 0.786em;
line-height: 1.2;
}
.comment-form .form-textarea {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
.comment-form details.filter-wrapper .details-wrapper,
.comment-form .text-format-wrapper .form-item {
margin-top: 0;
margin-bottom: 0;
}
.filter-wrapper label {
float: none;
width: auto;
}
.filter-wrapper .form-select {
min-width: 120px;
}
.comment-form details.filter-wrapper .tips {
font-size: 0.786em;
}
#comment-body-add-more-wrapper .form-type-textarea label {
margin-bottom: 0.4em;
}
#edit-actions input {
margin-right: 0.6em; /* LTR */
}
[dir="rtl"] #edit-actions input {
margin-right: 0;
margin-left: 0.6em;
}
/* Form error styles. */
.form-item textarea.error + .cke {
border: 2px solid red;
}
/* Form error message styles. */
.form-item--error-message {
color: #e32700;
}
/**
* Improve form element usability on narrow devices.
*/
@media all and (max-width: 600px) {
.form-actions .button {
display: block;
float: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
margin: 10px 0 0;
padding-bottom: 6px;
}
.js .dropbutton .dropbutton-action > input,
.js .dropbutton .dropbutton-action > a,
.js .dropbutton .dropbutton-action > button {
padding-left: 3em;
text-align: center;
}
}
@@ -0,0 +1,11 @@
/**
* @file
* Visual styles for forums in Bartik.
*/
.forum__name {
font-size: 1.083em;
}
.forum__description {
font-size: 1em;
}
@@ -0,0 +1,203 @@
/* ------------------ Header ------------------ */
#header {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.header .section {
position: relative;
}
.region-header {
padding: 0.357em 15px 0;
}
.region-header .site-branding {
margin-top: 0.429em;
}
@media all and (min-width: 461px) {
.region-header .block {
float: right; /* LTR */
margin-top: 0.357em;
}
[dir="rtl"] .region-header .block {
float: left;
}
.region-header .site-branding {
float: left; /* LTR */
/* margin-bottom: 1.857em; */
}
[dir="rtl"] .region-header .site-branding {
float: right;
}
}
@media screen and (max-width: 460px) {
.region-header {
padding-bottom: 0.357em;
}
}
/* Region header blocks. */
.region-header .block:not(.site-branding) {
clear: right;
margin: 0 0 1em;
font-size: 0.857em;
}
@media all and (min-width: 901px) {
.region-header .block:not(.site-branding) {
margin: 1.167em 0 1em;
}
}
.region-header .block > h2 {
/* @extend .visually-hidden */
position: absolute !important;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
}
.header .block .content {
margin: 0;
padding: 0;
}
.region-header .block ul {
padding: 0;
}
.region-header .block li {
padding: 0;
list-style: none;
list-style-image: none;
}
.region-header .branding {
font-size: 1em;
}
.region-header .form-text {
width: 120px;
margin-right: 2px; /* LTR */
border-color: #ccc;
border-color: rgba(255, 255, 255, 0.3);
background: #fefefe;
background: rgba(255, 255, 255, 0.7);
}
[dir="rtl"] .region-header .form-text {
margin-right: 0;
margin-left: 2px;
}
.region-header .form-text:hover,
.region-header .form-text:focus,
.region-header .form-text:active {
background: #fff;
background: rgba(255, 255, 255, 0.8);
}
.region-header .form-required:after {
background-image: url(../../images/required.svg);
}
/* Region header block menus. */
.region-header .block-menu {
width: 208px;
padding: 0;
border: 1px solid;
border-color: #eee;
border-color: rgba(255, 255, 255, 0.2);
}
.region-header .block-menu li a {
display: block;
padding: 3px 7px;
border-bottom: 1px solid;
border-bottom-color: #eee;
border-bottom-color: rgba(255, 255, 255, 0.2);
}
.region-header .block-menu li a:hover,
.region-header .block-menu li a:focus,
.region-header .block-menu li a:active {
text-decoration: none;
background: rgba(255, 255, 255, 0.15);
}
.region-header .block-menu li:last-child a {
border-bottom: 0;
}
/* User Login block in the header region. */
.region-header #block-user-login {
width: auto;
}
.region-header #block-user-login .content {
margin-top: 2px;
}
.region-header #block-user-login .form-item {
float: left; /* LTR */
margin: 0;
padding: 0;
}
.region-header #block-user-login div.item-list,
.region-header #block-user-login div.description {
margin: 0;
font-size: 0.916em;
}
.region-header #block-user-login div.item-list {
clear: both;
}
.region-header #block-user-login div.description {
display: inline;
}
.region-header #block-user-login .item-list ul {
padding: 0;
line-height: 1;
}
.region-header #block-user-login .item-list li {
float: left; /* LTR */
padding: 3px 0 1px;
list-style: none;
}
.region-header #block-user-login .item-list li:last-child {
padding-left: 0.5em; /* LTR */
}
[dir="rtl"] .region-header #block-user-login .item-list li:last-child {
padding-right: 0.5em;
padding-left: 0;
}
.region-header #block-user-login .form-actions {
clear: both;
margin: 4px 0 0;
padding: 0;
}
.region-header #block-user-login input.form-submit {
margin: 4px 0;
padding: 3px 8px;
border: 1px solid;
border-color: #ccc;
border-color: rgba(255, 255, 255, 0.5);
background: #eee;
background: rgba(255, 255, 255, 0.7);
}
.region-header #block-user-login input.form-submit:hover,
.region-header #block-user-login input.form-submit:focus {
background: #fff;
background: rgba(255, 255, 255, 0.9);
}
/* Search block in header region. */
.region-header #block-search-form {
width: 208px;
}
.region-header #block-search-form .form-text {
width: 154px;
}
.region-header .search-block-form {
float: right; /* LTR */
}
[dir="rtl"] .region-header .search-block-form {
float: left;
}
/* Language switcher block in header region. */
.region-header .block-locale ul li {
display: inline;
padding: 0 0.5em;
}
[role*=banner] a {
border-bottom: none;
}
[dir="rtl"] .branding,
[dir="rtl"] .site-logo,
[dir="rtl"] .site-branding-text,
[dir="rtl"] .region-header #block-user-login .form-item,
[dir="rtl"] .region-header #block-user-login .item-list li {
float: right;
}
@@ -0,0 +1,10 @@
/**
* @file
* Styles for the help block.
*/
.block-help {
margin-bottom: 30px;
padding: 0 1.5em;
border: 1px solid #d3d7d9;
}
@@ -0,0 +1,12 @@
/**
* @file
* Styles for Bartik's highlighted component.
*/
.has-featured-top .region-highlighted {
background: #f0f0f0;
background: rgba(30, 50, 10, 0.08);
}
.region-highlighted {
margin: 0 15px;
}
@@ -0,0 +1,13 @@
/**
* @file
* Styles for Bartik's image buttons.
*/
.image-button.is-disabled:hover,
.image-button.is-disabled:active,
.image-button.is-disabled:focus,
.image-button.is-disabled {
cursor: default;
opacity: 0.5;
background: transparent;
}
@@ -0,0 +1,29 @@
/**
* @file
* Visual styles for Bartik's item list.
*/
.item-list ul {
margin: 0 0 0.25em 0;
padding: 0; /* LTR */
list-style: none;
}
[dir="rtl"] .item-list ul {
padding: 0;
}
.item-list ul li {
/* This is needed to reset styles in item-list.theme.css */
margin: 0;
padding: 0.2em 0.5em 0 0; /* LTR */
}
[dir="rtl"] .item-list ul li {
/* This is needed to reset [dir="rtl"] styles in item-list.theme.css */
margin: 0;
padding: 0.2em 0 0 0.5em;
}
.item-list .item-list__comma-list,
.item-list .item-list__comma-list li,
[dir="rtl"] .item-list .item-list__comma-list,
[dir="rtl"] .item-list .item-list__comma-list li {
padding: 0;
}
@@ -0,0 +1,13 @@
/**
* @file
* List group.
* A list of links, grouped together.
*/
.list-group__link {
padding: 7px 0 0;
border-top: 1px solid #ccc;
}
.list-group__description {
margin: 0 0 10px;
}
@@ -0,0 +1,13 @@
/**
* @file
* Visual styles for Bartik's lists.
*/
ul.links {
margin: 0;
padding: 0;
list-style: none;
color: #68696b;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.821em;
}
@@ -0,0 +1,50 @@
/**
* @file
* Visual styles for Bartik's main-content component.
*/
.main-content .section {
padding: 0 15px;
}
.main-content h2 {
margin-bottom: 2px;
font-size: 1.429em;
line-height: 1.4;
}
@media all and (min-width: 851px) {
.main-content {
position: relative;
float: left; /* LTR */
}
[dir="rtl"] .main-content {
float: right;
}
.layout-two-sidebars .main-content {
width: 50%;
margin-right: 25%;
margin-left: 25%;
}
.layout-one-sidebar .main-content {
width: 75%;
}
.layout-no-sidebars .main-content {
width: 100%;
}
.layout-sidebar-first .main-content {
margin-right: 0; /* LTR */
margin-left: 25%; /* LTR */
}
[dir="rtl"] .layout-sidebar-first .main-content {
margin-right: 25%;
margin-left: 0;
}
.layout-sidebar-second .main-content {
margin-right: 25%; /* LTR */
margin-left: 0; /* LTR */
}
[dir="rtl"] .layout-sidebar-second .main-content {
margin-right: 0;
margin-left: 25%;
}
}
@@ -0,0 +1,15 @@
/**
* @file
* Styles for menus in Bartik.
*/
/* This is needed to override ul.menu styles in menu.theme.css */
ul.menu {
margin: 0;
padding: 0 0 0.25em 1em;
}
/* This is needed to override [dir="rtl"] ul.menu styles in menu.theme.css */
[dir="rtl"] ul.menu {
margin: 0;
}
@@ -0,0 +1,18 @@
/**
* @file
* Styles for Bartik's messages.
*/
.messages__wrapper {
padding: 0 0 0 8px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
[dir="rtl"] .messages__wrapper {
padding: 0 8px 0 0;
}
.messages:first-child {
margin-top: 28px;
}
.messages:last-child {
margin-bottom: 13px;
}
@@ -0,0 +1,72 @@
.node-preview-container {
position: fixed;
z-index: 499;
width: 100%;
padding: 5px 10px;
background: #d1e8f5;
background-image: -webkit-linear-gradient(top, #d1e8f5, #d3e8f4);
background-image: linear-gradient(to bottom, #d1e8f5, #d3e8f4);
box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.3333);
font-family: Arial, sans-serif;
}
.node-preview-backlink {
display: inline-block;
margin: 5px 10px 5px 0; /* LTR */
padding: 4px 1em 4px 0.6em; /* LTR */
color: #fff;
border: 1px solid #0048c8;
border-radius: 0.4em;
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #419ff1, #1076d5); /* LTR */
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
font-size: 0.9em;
line-height: normal;
}
[dir="rtl"] .node-preview-backlink {
float: right;
margin: 5px 0 5px 10px;
padding: 4px 0.6em 4px 1em;
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #419ff1, #1076d5);
}
.node-preview-backlink:focus,
.node-preview-backlink:hover {
text-decoration: none;
color: #fff;
border: 1px solid #0048c8;
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef);
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef); /* LTR */
}
[dir="rtl"] .node-preview-backlink:focus,
[dir="rtl"] .node-preview-backlink:hover {
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #59abf3, #2a90ef);
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #59abf3, #2a90ef);
}
.node-preview-backlink:active {
border: 1px solid #0048c8;
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef); /* LTR */
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}
[dir="rtl"] .node-preview-backlink:active {
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef);
}
.node-preview-backlink::before {
display: inline-block;
width: 10px;
content: "";
}
[dir="rtl"] .node-preview-backlink::after {
display: inline-block;
width: 10px;
content: "";
}
.node-preview-container .form-item-view-mode {
display: inline-block;
margin: 5px 0;
}
[dir="rtl"] .node-preview-container .form-item-view-mode {
margin-right: 0;
}
@@ -0,0 +1,69 @@
/**
* @file
* Visual styles for Bartik's node component.
*/
.node__content {
margin-top: 10px;
font-size: 1.071em;
}
/* View mode teaser styles. */
.node--view-mode-teaser {
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 1px solid #d3d7d9;
}
.node--view-mode-teaser h2 {
margin-top: 0;
padding-top: 0.5em;
}
.node--view-mode-teaser h2 a {
color: #181818;
}
.node--view-mode-teaser.node--sticky {
padding: 0 15px 15px;
border: 1px solid #d3d7d9;
background: #f9f9f9;
background: rgba(0, 0, 0, 0.024);
}
.node--view-mode-teaser .node__content {
clear: none;
font-size: 1em;
line-height: 1.6;
}
/* Node metadata styles. */
.node__meta {
margin-bottom: -5px;
color: #68696b;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.857em;
}
.node__meta .field--name-user-picture img {
float: left; /* LTR */
margin: 1px 20px 0 0; /* LTR */
}
[dir="rtl"] .node__meta .field--name-user-picture img {
float: right;
margin-right: 0;
margin-left: 20px;
}
/* Node links styles. */
.node__links {
text-align: right; /* LTR */
font-size: 0.93em;
}
[dir="rtl"] .node__links {
text-align: left;
}
/* Unpublished node styles. */
.node--unpublished {
padding: 20px 15px 0;
}
.node--unpublished .comment-text .comment-arrow {
border-right: 1px solid #fff4f4;
border-left: 1px solid #fff4f4;
}
@@ -0,0 +1,9 @@
/**
* @file
* Visual styles for Bartik's page-title component.
*/
.page-title {
font-size: 2em;
line-height: 1em;
}
@@ -0,0 +1,42 @@
/**
* @file
* Styles for Bartik's pagination.
*/
/* Using .pager selector on the first one to override .region-content ul. */
.pager .pager__items {
padding: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.pager__item {
padding: 10px 15px;
font-size: 0.929em;
}
.pager__item a {
display: inline-block;
}
.pager__item.is-active a {
color: #3b3b3b;
border-bottom: 0;
}
.pager__item--first,
.pager__item--previous {
padding: 10px 10px 10px 0; /* LTR */
}
[dir="rtl"] .pager__item--first,
[dir="rtl"] .pager__item--previous {
padding-right: 0;
padding-left: 10px;
}
.pager__item--ellipsis {
padding: 10px 0;
}
.pager__item--last,
.pager__item--next {
padding: 10px 0 10px 10px; /* LTR */
}
[dir="rtl"] .pager__item--last,
[dir="rtl"] .pager__item--next {
padding-right: 10px;
padding-left: 0;
}
@@ -0,0 +1,21 @@
/**
* @file
* Panel styling. Panels are used to visually group items together.
*/
.panel {
margin: 10px 0;
padding: 0 5px 5px;
border: 1px solid #ccc;
background: #fbfbfb;
}
.panel__title {
margin: 16px 7px;
}
.panel__content {
padding: 0 4px 2px 8px; /* LTR */
}
[dir="rtl"] .panel__content {
padding-right: 8px;
padding-left: 4px;
}
@@ -0,0 +1,8 @@
/**
* @file
* Styles for password suggestions in Bartik.
*/
.password-suggestions {
border: 0;
}
@@ -0,0 +1,212 @@
/* --------------- Primary Menu ------------ */
.region-primary-menu {
clear: both;
}
.region-primary-menu .menu {
margin: 0 5px;
padding: 0;
text-align: left; /* LTR */
font-size: 0.929em;
}
[dir="rtl"] .region-primary-menu .menu {
margin-right: 5px; /* This is required to win over specificity of [dir="rtl"] ul.menu */
margin-left: 5px; /* This is required to win over specificity of [dir="rtl"] ul.menu */
text-align: right;
}
.region-primary-menu .menu-item {
float: none;
width: 100%;
height: auto;
margin: 0;
padding: 0;
list-style: none;
}
.region-primary-menu .menu a {
display: block;
float: none;
margin: 4px 0;
padding: 0.9em 0 0.9em 10px; /* LTR */
text-decoration: none;
color: #333;
border-radius: 8px;
background: #ccc;
background: rgba(255, 255, 255, 0.7);
text-shadow: 0 1px #eee;
}
[dir="rtl"] .region-primary-menu .menu a {
padding: 0.9em 10px 0.9em 0;
}
.region-primary-menu .menu a:hover,
.region-primary-menu .menu a:focus {
background: #f6f6f2;
background: rgba(255, 255, 255, 0.95);
}
.region-primary-menu .menu a:active {
background: #b3b3b3;
background: rgba(255, 255, 255, 1);
}
.region-primary-menu .menu-item a.is-active {
border-bottom: none;
}
/* ---------- Primary Menu Toggle ----------- */
/* Hide the toggle by default. */
.menu-toggle,
.menu-toggle-target {
display: none;
}
/* Unhide it for the primary menu. */
.region-primary-menu .menu-toggle-target {
position: fixed;
top: 0;
display: inherit;
}
.region-primary-menu .menu-toggle {
display: none;
}
body:not(:target) .region-primary-menu .menu-toggle {
z-index: 1000;
display: block;
float: none;
padding: 0.9em 10px 0.9em 10px;
text-decoration: none;
color: #333;
background: #ccc;
background: rgba(255, 255, 255, 0.7);
text-shadow: 0 1px #eee;
font-size: 0.929em;
}
body:not(:target) .region-primary-menu .menu-toggle:after {
position: absolute;
right: 10px; /* LTR */
display: inline-block;
width: 22px;
height: 22px;
content: "";
background: url(../../../../misc/icons/ffffff/hamburger.svg) no-repeat;
background-size: contain;
}
[dir="rtl"] body:not(:target) .region-primary-menu .menu-toggle:after {
right: initial;
left: 10px;
}
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu-toggle,
body:not(:target) .region-primary-menu .menu-toggle--hide {
display: none;
}
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu-toggle--hide {
display: block;
}
body:not(:target) .region-primary-menu .menu-item {
overflow: hidden;
height: 0;
}
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu .menu-item {
overflow: visible;
height: auto;
}
/**
* Media queries for primary menu.
*/
@media all and (min-width: 461px) and (max-width: 900px) {
.region-primary-menu .menu {
margin: 0 5px;
padding: 0;
text-align: center;
}
/* This is required to win over specificity of the global [dir="rtl"] .region-primary-menu .menu */
[dir="rtl"] .region-primary-menu .menu {
text-align: center;
}
.region-primary-menu .menu-item,
body:not(:target) .region-primary-menu .menu-item {
display: inline-block;
float: left; /* LTR */
overflow: visible;
width: 32.75%;
height: auto;
margin-right: 5px; /* LTR */
padding: 0;
}
[dir="rtl"] .region-primary-menu .menu-item,
[dir="rtl"] body:not(:target) .region-primary-menu .menu-item {
float: right;
margin-right: 0;
margin-left: 5px;
}
.region-primary-menu .menu-item:nth-child(3n) {
margin-right: -5px; /* LTR */
}
[dir="rtl"] .region-primary-menu .menu-item:nth-child(3n) {
margin-right: 0;
margin-left: -5px;
}
.region-primary-menu .menu a {
display: block;
float: none;
margin-bottom: 5px;
padding: 0.9em 5px;
border-radius: 8px;
}
/* This is required to win over specificity of the global [dir="rtl"] .region-primary-menu .menu a */
[dir="rtl"] .region-primary-menu .menu a {
padding: 0.9em 5px;
}
body:not(:target) .region-primary-menu .menu-toggle {
display: none;
}
}
@media all and (min-width: 901px) {
.region-primary-menu .block-menu .menu {
margin: 0;
padding: 0 15px;
font-size: 0.929em;
}
.region-primary-menu .menu-item,
body:not(:target) .region-primary-menu .menu-item {
float: left; /* LTR */
overflow: visible;
width: auto;
height: auto;
margin: 0 1px;
padding: 0 1px;
list-style: none;
}
[dir="rtl"] .region-primary-menu .menu-item,
[dir="rtl"] body:not(:target) .region-primary-menu .menu-item {
float: right;
}
.region-primary-menu .menu a {
float: left; /* LTR */
margin-bottom: 0;
padding: 0.7em 0.8em;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
[dir="rtl"] .region-primary-menu .menu a {
float: right;
padding: 0.7em 0.8em;
}
.featured .region-primary-menu .menu-item a:active,
.featured .region-primary-menu .menu-item a.is-active {
background: #f0f0f0;
background: rgba(240, 240, 240, 1);
}
body:not(:target) .region-primary-menu .menu-toggle {
display: none;
}
}
/**
* Ensures that the open mobile menu hides when the screen dimensions become
* 461px or wider.
*/
@media all and (min-width: 461px) {
body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu-toggle--hide {
display: none;
}
}
@@ -0,0 +1,40 @@
/**
* @file
* The visual styles for Bartik's search form(s).
*/
.search-form {
font-size: 0.875rem;
}
.search-form .form-search {
float: left; /* LTR */
margin-right: 5px; /* LTR */
padding: 4px;
}
[dir="rtl"] .search-form .form-search {
float: right;
margin-right: 0;
margin-left: 5px;
}
.button.search-form__submit,
.search-form__submit {
overflow: hidden;
width: 34px;
height: 26px;
margin-right: 0;
margin-left: 0;
padding: 0;
cursor: pointer;
text-indent: -9999px;
direction: ltr;
background: #f0f0f0 url(../../../../misc/icons/505050/loupe.svg) no-repeat center;
}
.button.search-form__submit:hover,
.search-form__submit:hover,
.button.search-form__submit:focus,
.search-form__submit:focus {
background: #dedede url(../../../../misc/icons/424242/loupe.svg) no-repeat center;
}
.search-form .form-item-keys label {
display: block;
}
@@ -0,0 +1,28 @@
/**
* @file
* Visual styles for Bartik's search results.
*/
.search-results {
padding: 0;
list-style-position: inside;
}
.search-results li {
margin-bottom: 0.5em;
padding-bottom: 0.4285em;
border-bottom: 1px solid #d3d7d9;
}
.search-results li:last-child {
margin-bottom: 1em;
padding-bottom: 0;
border-bottom: none;
}
.search-result__title {
font-weight: bold;
}
.search-result__snippet-info {
padding-left: 0; /* LTR */
}
[dir="rtl"] .search-result__snippet-info {
padding-right: 0;
}
@@ -0,0 +1,26 @@
/* --------------- Secondary Menu ------------ */
.region-secondary-menu .menu {
margin: 0 10px;
padding: 0;
text-align: right; /* LTR */
font-size: 0.929em;
}
[dir="rtl"] .region-secondary-menu .menu {
margin-right: 10px; /* required to win over specificity of [dir="rtl"] ul.menu */
margin-left: 10px;
text-align: left;
}
.region-secondary-menu .menu-item {
display: inline;
margin: 0;
padding: 0;
}
.region-secondary-menu .menu a {
display: inline-block;
padding: 0.8em;
}
.region-secondary-menu .menu a:hover,
.region-secondary-menu .menu a:focus {
text-decoration: underline;
}
@@ -0,0 +1,29 @@
/**
* @file
* Visual styles for the Shortcut action link in Bartik.
*/
.shortcut-wrapper {
margin: 2.2em 0 1.1em 0; /* Same as usual .page-title margin. */
}
.shortcut-wrapper .page-title {
float: left; /* LTR */
margin: 0;
}
[dir="rtl"] .shortcut-wrapper .page-title {
float: right;
}
.shortcut-action {
margin-left: 0.5em; /* LTR */
padding-top: 0.35em;
border-bottom: none;
}
[dir="rtl"] .shortcut-action {
margin-right: 0.5em;
margin-left: 0;
}
.shortcut-action:hover,
.shortcut-action:active,
.shortcut-action:focus {
border-bottom: none;
}
@@ -0,0 +1,68 @@
/* ------------------ Sidebar ----------------- */
@media all and (min-width: 560px) {
.sidebar {
position: relative;
float: left; /* LTR */
width: 50%;
}
[dir="rtl"] .sidebar {
float: right;
}
.layout-one-sidebar .sidebar {
width: 100%;
}
}
@media all and (min-width: 851px) {
.layout-one-sidebar .sidebar {
width: 25%;
}
#sidebar-first {
width: 25%;
margin-left: -100%; /* LTR */
}
[dir="rtl"] #sidebar-first {
margin-right: -100%;
margin-left: 0;
}
#sidebar-second {
clear: none;
width: 25%;
margin-left: -25%; /* LTR */
}
[dir="rtl"] #sidebar-second {
margin-right: -25%;
margin-left: 0;
}
}
.sidebar .section {
padding: 10px 15px 0;
}
.sidebar .block {
margin: 0 0 20px;
padding: 15px 20px;
border-width: 1px;
border-style: solid;
}
.sidebar h2 {
margin: 0 0 0.5em;
padding-bottom: 5px;
border-bottom: 1px solid #d6d6d6;
text-shadow: 0 1px 0 #fff;
font-size: 1.071em;
line-height: 1.2;
}
.sidebar .block .content {
font-size: 0.914em;
line-height: 1.4;
}
.sidebar tbody {
border: none;
}
.sidebar tr.even,
.sidebar tr.odd {
border-bottom: 1px solid #d6d6d6;
background: none;
}
@@ -0,0 +1,49 @@
/**
* @file
* Visual styles for the site branding block in Bartik.
*/
.site-branding__logo {
display: inline-block;
margin-right: 1em; /* LTR */
margin-bottom: 0.286em;
border-bottom: 0;
}
[dir="rtl"] .site-branding__logo {
margin-right: 0;
margin-left: 1em;
}
.site-branding__text {
display: inline-block;
vertical-align: top;
}
@media all and (min-width: 461px) {
.site-branding__text {
margin-bottom: 1.857em;
}
}
@media all and (min-width: 901px) {
.site-branding__text {
padding: 1.286em 0 0;
}
}
.site-branding__name {
color: #686868;
font-size: 1.6em;
line-height: 1;
}
@media all and (min-width: 901px) {
.site-branding__name {
font-size: 1.821em;
}
}
.site-branding__slogan {
margin-top: 7px;
word-spacing: 0.1em;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.929em;
font-style: italic;
}
@@ -0,0 +1,232 @@
/**
* @file
* Footer Styling.
*/
.site-footer {
padding: 35px 0 30px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.site-footer .layout-container {
padding: 0 15px;
}
@media all and (min-width: 560px) {
.site-footer__top .region {
position: relative;
float: left; /* LTR */
width: 50%;
}
[dir="rtl"] .site-footer__top .region {
float: right;
}
}
@media all and (min-width: 560px) and (max-width: 850px) {
.site-footer .region {
box-sizing: border-box;
}
.site-footer__top .region:nth-child(2n+1) {
padding-right: 10px; /* LTR */
}
[dir="rtl"] .site-footer__top .region:nth-child(2n+1) {
padding-right: 0;
padding-left: 10px;
}
.site-footer__top .region:nth-child(2n) {
padding-left: 10px; /* LTR */
}
[dir="rtl"] .site-footer__top .region:nth-child(2n) {
padding-right: 10px;
padding-left: 0;
}
.region-footer-third {
clear: both;
}
}
@media all and (min-width: 851px) {
.site-footer__top .region {
width: 24%;
padding: 0 0.65%;
}
.site-footer__top .region:first-child {
padding-left: 0; /* LTR */
}
[dir="rtl"] .site-footer__top .region:first-child {
padding-right: 0;
padding-left: 10px;
}
.site-footer__top .region:last-child {
padding-right: 0; /* LTR */
}
[dir="rtl"] .site-footer__top .region:last-child {
padding-right: 10px;
padding-left: 0;
}
}
.site-footer h2 {
color: #c0c0c0;
color: rgba(255, 255, 255, 0.65);
}
.site-footer blockquote {
color: #555;
}
.site-footer .content {
color: #c0c0c0;
color: rgba(255, 255, 255, 0.65);
font-size: 0.857em;
}
.site-footer .menu-item {
padding: 0;
}
.site-footer .content ol:not(.menu),
.site-footer .content ul:not(.menu) {
padding-left: 1.4em; /* LTR */
}
[dir="rtl"] .site-footer .content ol:not(.menu),
[dir="rtl"] .site-footer .content ul:not(.menu) {
padding-right: 1.4em;
padding-left: 0;
}
.site-footer .content a,
.site-footer .content a.is-active {
color: #fcfcfc;
color: rgba(255, 255, 255, 0.8);
}
.site-footer .content a:hover,
.site-footer .content a:focus {
color: #fefefe;
color: rgba(255, 255, 255, 0.95);
}
.site-footer .block {
margin: 20px 0;
padding: 10px;
border: 1px solid #444;
border-color: rgba(255, 255, 255, 0.1);
}
.site-footer table {
font-size: 1em;
}
.site-footer tr td,
.site-footer tr th {
border-color: #555;
border-color: rgba(255, 255, 255, 0.18);
}
.site-footer tr.odd {
background-color: transparent;
}
.site-footer tr.even {
background-color: #2c2c2c;
background-color: rgba(0, 0, 0, 0.15);
}
/* Footer Top Styling. */
.site-footer__top h2 {
margin-bottom: 0;
padding-bottom: 3px;
text-transform: uppercase;
border-color: rgba(255, 255, 255, 0.15);
border-bottom: 1px solid #555;
font-size: 1em;
}
.site-footer__top .content {
margin-top: 0;
}
.site-footer__top p {
margin-top: 1em;
}
.site-footer__top .content .menu {
padding-left: 0; /* LTR */
}
[dir="rtl"] .site-footer__top .content .menu {
padding-right: 0;
}
.site-footer__top .content li a {
display: block;
padding: 0.8em 2px 0.8em 20px; /* LTR */
text-indent: -15px;
border-color: rgba(255, 255, 255, 0.15);
border-bottom: 1px solid #555;
line-height: 1.2;
}
[dir="rtl"] .site-footer__top .content li a {
padding: 0.8em 20px 0.8em 2px;
}
.site-footer__top .content li a:hover,
.site-footer__top .content li a:focus {
text-decoration: none;
background-color: #1f1f21;
background-color: rgba(255, 255, 255, 0.05);
}
.site-footer__top .block-menu,
.site-footer__bottom .block {
margin: 0;
padding: 0;
border: none;
}
/* Footer Bottom Styling. */
.site-footer__bottom .block {
margin: 0.5em 0;
}
.site-footer__bottom .content {
margin-top: 0;
padding: 0.5em 0;
}
.site-footer__bottom .block h2 {
margin: 0;
}
.site-footer__bottom {
margin-top: 30px;
letter-spacing: 0.2px;
border-color: rgba(255, 255, 255, 0.15);
border-top: 1px solid #555;
}
.site-footer__bottom .region {
margin-top: 20px;
}
.site-footer__bottom .block {
clear: both;
}
/* We need to be specific to overwrite [dir="rtl"] .block ul in block.css. */
.site-footer__bottom .block .menu {
padding: 0;
}
.site-footer__bottom .menu-item a {
display: block;
float: left; /* LTR */
padding: 0 12px;
border-color: rgba(255, 255, 255, 0.15);
border-right: 1px solid #555; /* LTR */
}
[dir="rtl"] .site-footer__bottom .menu-item a {
float: right;
border-right: none;
border-left: 1px solid #555;
}
.site-footer__bottom .menu-item:first-child a {
padding-left: 0; /* LTR */
}
[dir="rtl"] .site-footer__bottom .menu-item:first-child a {
padding-right: 0;
padding-left: 12px;
}
.site-footer__bottom .menu-item:last-child a {
padding-right: 0; /* LTR */
border-right: none; /* LTR */
}
[dir="rtl"] .site-footer__bottom .menu-item:last-child a {
padding-right: 12px;
padding-left: 0;
border-left: none;
}
/**
* When the item is both first and last, :last-child overrides the right padding
* when using [dir="rtl"]. We need this rule to remove the right padding.
*/
[dir="rtl"] .site-footer__bottom .menu-item:first-child:last-child a {
padding-right: 0;
}
@@ -0,0 +1,25 @@
/**
* @file
* Styles for the skip link.
*/
.skip-link {
z-index: 50;
left: 50%;
padding: 1px 10px 2px;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
border-bottom-width: 0;
border-radius: 0 0 10px 10px;
outline: 0;
background: #444;
background: rgba(0, 0, 0, 0.6);
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 0.94em;
line-height: 1.7em;
}
.skip-link.visually-hidden.focusable:focus {
position: absolute !important;
color: #fff;
}
@@ -0,0 +1,77 @@
/**
* @file
* Styles for Bartik's tables.
*/
table {
width: 100%;
margin: 10px 0;
border-spacing: 0;
border: 0;
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
font-size: 0.857em;
}
table table {
font-size: 1em;
}
tr {
padding: 0.1em 0.6em;
border-bottom: 1px solid #ccc;
background: #efefef;
background: rgba(0, 0, 0, 0.063);
}
thead > tr {
border-bottom: 1px solid #000;
}
tr.odd {
background: #e4e4e4;
background: rgba(0, 0, 0, 0.105);
}
table tr th {
border-bottom-style: none;
background: #757575;
background: rgba(0, 0, 0, 0.51);
}
table tr th,
table tr th a,
table tr th a:hover,
table tr th a:focus {
color: #fff;
font-weight: bold;
}
table tbody tr th {
vertical-align: top;
}
tr td,
tr th {
padding: 4px 9px;
text-align: left; /* LTR */
border: 1px solid #fff;
}
.tabledrag-handle:hover,
.tabledrag-handle {
border: none;
}
[dir="rtl"] tr td,
[dir="rtl"] tr th {
text-align: right;
}
/**
* Responsive tables.
*/
@media screen and (max-width: 37.5em) { /* 600px */
th.priority-low,
td.priority-low,
th.priority-medium,
td.priority-medium {
display: none;
}
}
@media screen and (max-width: 60em) { /* 920px */
th.priority-low,
td.priority-low {
display: none;
}
}
@@ -0,0 +1,17 @@
/**
* @file
* Tablesort indicator styles.
*/
.tablesort {
width: 14px;
height: 14px;
margin: 1px 0 0 5px;
vertical-align: top;
}
.tablesort--asc {
background-image: url(../../../../misc/icons/ffffff/twistie-down.svg);
}
.tablesort--desc {
background-image: url(../../../../misc/icons/ffffff/twistie-up.svg);
}
@@ -0,0 +1,114 @@
/* --------------- System Tabs --------------- */
div.tabs {
margin-bottom: 20px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.tabs ul.primary {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.tabs ul.primary li a {
display: block;
height: 1.8em;
padding: 0 10px 3px;
color: #000;
border-width: 1px;
border-style: solid solid none solid;
border-color: #bbb;
background-color: #ededed;
text-shadow: 0 1px 0 #fff;
font-size: 0.929em;
line-height: 1.9;
}
.tabs ul.primary li.is-active a {
border: 1px solid #bbb;
background-color: #fff;
}
@media screen and (max-width: 37.5em) { /* 600px */
.tabs ul.primary {
border-bottom: 1px solid #bbb;
}
.tabs ul.primary li {
display: block;
margin: 0;
}
.tabs ul.primary li a {
padding: 5px 10px;
}
.tabs ul.primary li.is-active a {
border-bottom: none;
}
}
@media screen and (min-width: 37.5em) { /* 600px */
.tabs ul.primary {
overflow: hidden;
height: auto;
margin: 0;
padding: 0 3px;
white-space: nowrap;
border: none;
border-collapse: collapse;
background: transparent url(../../images/tabs-border.png) repeat-x left bottom;
line-height: normal;
}
.tabs ul.primary li {
display: block;
float: left; /* LTR */
margin: 0 5px 0 0; /* LTR */
vertical-align: bottom;
}
[dir="rtl"] .tabs ul.primary li {
float: right;
margin: 0 0 0 5px;
}
.tabs ul.primary li a {
float: left; /* not LTR */
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
.tabs ul.primary li.is-active a {
border-bottom: 1px solid #fff;
}
}
.tabs ul.secondary {
overflow: hidden;
margin: 5px;
padding: 0.5em 0;
border-bottom: none;
}
.tabs ul.secondary li {
display: block;
float: left; /* LTR */
margin: 0;
padding: 0 1em;
border-right: 1px solid #ccc; /* LTR */
}
[dir="rtl"] .tabs ul.secondary li {
float: right;
border-right: none;
border-left: 1px solid #ccc;
}
.tabs ul.secondary li:last-child {
border-right: none; /* LTR */
}
[dir="rtl"] .tabs ul.secondary li:last-child {
border-left: none;
}
.tabs ul.secondary li:first-child {
padding-left: 0; /* LTR */
}
[dir="rtl"] .tabs ul.secondary li:first-child {
padding-right: 0;
}
.tabs ul.secondary li a {
display: inline;
padding: 0.25em 0.5em;
text-decoration: none;
}
.tabs ul.secondary li a.is-active {
border-bottom: none;
border-radius: 5px;
background: #f2f2f2;
}
@@ -0,0 +1,15 @@
/**
* @file
*
* Visual styles for Bartik's text-formatted component.
*/
.text-formatted ul,
.text-formatted ol {
margin: 1em 0;
padding: 0 0 0.25em 15px; /* LTR */
}
[dir="rtl"] .text-formatted ul,
[dir="rtl"] .text-formatted ol {
padding: 0 15px 0.25em 0;
}
@@ -0,0 +1,8 @@
/**
* @file
* Toolbar module overrides for Bartik.
*/
.toolbar a {
border-bottom: none;
}
@@ -0,0 +1,34 @@
/**
* @file
* Styles for Bartik's modal windows
*/
.ui-widget-overlay {
opacity: 0.7;
background: #000;
}
.ui-dialog {
border-radius: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.ui-dialog input,
.ui-dialog select,
.ui-dialog textarea {
font-size: 0.9em;
}
.ui-dialog .button {
padding: 0.25em 1.063em;
cursor: pointer;
text-align: center;
color: #3a3a3a;
border: 1px solid #e4e4e4;
border-right-color: #d2d2d2;
border-bottom-color: #b4b4b4;
border-left-color: #d2d2d2;
border-radius: 1em;
background-color: #fff;
background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
font-size: 0.929em;
font-weight: normal;
}
@@ -0,0 +1,8 @@
/**
* @file
* Visual styles for Bartik's ui-widget component.
*/
#page .ui-widget {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@@ -0,0 +1,16 @@
/**
* @file
* Vertical tabs component.
*/
/* Vertical Tabs Reset */
.vertical-tabs__menu {
margin: -1px 0 -1px -15em; /* LTR */
padding: 0;
}
[dir="rtl"] .vertical-tabs__menu {
margin-right: -15em;
margin-left: 0;
/* This is required to win specificity over [dir="rtl"] .region-content ul */
padding: 0;
}
@@ -0,0 +1,35 @@
/**
* @file
* Styling for Views in Bartik.
*/
/* Tab styles */
.views-displays .tabs .open > a {
border-radius: 7px 7px 0 0;
}
.views-displays .tabs .open > a:hover,
.views-displays .tabs .open > a:focus {
color: #0071b3;
}
.views-displays .secondary .form-submit {
font-size: 0.846em;
}
/* Tabs action list styles */
.views-displays .tabs .action-list {
padding: 0;
}
/* Contextual filter options styles */
.views-filterable-options .filterable-option:nth-of-type(even) .form-type-checkbox {
background-color: #f9f9f9;
}
/* Views action dropbutton styles */
.views-ui-display-tab-actions .dropbutton .form-submit {
color: #0071b3;
}
.views-ui-display-tab-actions .dropbutton .form-submit:hover,
.views-ui-display-tab-actions .dropbutton .form-submit:focus {
color: #018fe2;
}

Some files were not shown because too many files have changed in this diff Show More