diff --git a/core/modules/system/src/Tests/Menu/MenuRouterTest.php b/core/modules/system/src/Tests/Menu/MenuRouterTest.php index c8ca38c..f06d36e 100644 --- a/core/modules/system/src/Tests/Menu/MenuRouterTest.php +++ b/core/modules/system/src/Tests/Menu/MenuRouterTest.php @@ -306,7 +306,6 @@ protected function doTestThemeCallbackOptionalTheme() { $this->drupalGet('menu-test/theme-callback/use-stark-theme'); $this->assertText('Active theme: stark. Actual theme: stark.', 'The theme negotiation system uses an optional theme once it has been installed.'); - $this->assertRaw('stark/css/layout.css', "The optional theme's CSS appears on the page."); $theme_handler->uninstall(array('stark')); } diff --git a/core/themes/stark/README.txt b/core/themes/stark/README.txt index dd6f386..d502465 100644 --- a/core/themes/stark/README.txt +++ b/core/themes/stark/README.txt @@ -10,9 +10,7 @@ default markup without the interference of changes commonly made by more complex themes. To avoid obscuring CSS added to the page by Drupal or a contrib module, the -Stark theme itself has no styling, except just enough CSS to arrange the page -in a traditional "Header, sidebars, content, and footer" layout. See the -layout.css file for more information. +Stark theme itself has no styling. ABOUT DRUPAL THEMING diff --git a/core/themes/stark/config/schema/stark.schema.yml b/core/themes/stark/config/schema/stark.schema.yml deleted file mode 100644 index 2b7f958..0000000 --- a/core/themes/stark/config/schema/stark.schema.yml +++ /dev/null @@ -1,5 +0,0 @@ -# Schema for the configuration files of the Stark theme. - -stark.settings: - type: theme_settings - label: 'Stark settings' diff --git a/core/themes/stark/css/layout.css b/core/themes/stark/css/layout.css deleted file mode 100644 index 486014b..0000000 --- a/core/themes/stark/css/layout.css +++ /dev/null @@ -1,123 +0,0 @@ -/** - * @file - * Stark layout method - * - * To avoid obscuring CSS added to the page by Drupal or a contrib module, the - * Stark theme itself has no styling, except just enough CSS to arrange the page - * in a traditional "Header, sidebars, content, and footer" layout. - * - * This layout method works reasonably well, but shouldn't be used on a - * production site because it can break. For example, if an over-large image - * (one that is wider than 20% of the viewport) is in the left sidebar, the - * image will overlap with the .layout-content to the right. - */ -img { - height: auto; - max-width: 100%; -} -main:after { - content: ""; - display: table; - clear: both; -} - -.layout-content, -.layout-sidebar-first, -.layout-sidebar-second { - display: inline; - position: relative; -} - -details, -summary { - display: block; -} - -@media all and (min-width: 480px) and (max-width: 959px) { - .layout-content { - width: 67%; - float: right; /* LTR */ - } - [dir="rtl"] .layout-content { - float: left; - } - - .layout-sidebar-first { - width: 33%; - float: left; /* LTR */ - } - [dir="rtl"] .layout-sidebar-first { - float: right; - } - - .layout-sidebar-second { - float: right; /* LTR */ - clear: both; - width: 100%; - } - [dir="rtl"] .layout-sidebar-second { - float: right; - clear: right; - } - - .layout-sidebar-second .block { - float: left; /* LTR */ - width: 33%; - } - [dir="rtl"] .layout-sidebar-second .block { - float: right; - } - .layout-sidebar-second .block:nth-child(3n+1) { - clear: both; - } -} - -@media all and (min-width: 960px) { - .layout-content { - width: 60%; - float: left; /* LTR */ - left: 20%; /* LTR */ - } - [dir="rtl"] .layout-content { - float: right; - left: 0; - right: 20%; - } - - .layout-sidebar-first { - width: 20%; - float: left; /* LTR */ - left: -60%; /* LTR */ - } - [dir="rtl"] .layout-sidebar-first { - float: right; - left: 0; - right: -60%; - } - - .layout-sidebar-second { - float: right; /* LTR */ - width: 20%; - } - [dir="rtl"] .layout-sidebar-second { - float: left; - } -} - -/** - * Responsive tables. - */ -@media screen and (max-width:28.125em) { /* 450px */ - th.priority-low, - td.priority-low, - th.priority-medium, - td.priority-medium { - display: none; - } -} -@media screen and (max-width:45em) { /* 720px */ - th.priority-low, - td.priority-low { - display: none; - } -} diff --git a/core/themes/stark/stark.breakpoints.yml b/core/themes/stark/stark.breakpoints.yml deleted file mode 100644 index 92d33b2..0000000 --- a/core/themes/stark/stark.breakpoints.yml +++ /dev/null @@ -1,18 +0,0 @@ -stark.mobile: - label: mobile - mediaQuery: '(min-width: 0px)' - weight: 2 - multipliers: - - 1x -stark.narrow: - label: narrow - mediaQuery: 'all and (min-width: 480px) and (max-width: 959px)' - weight: 1 - multipliers: - - 1x -stark.wide: - label: wide - mediaQuery: 'all and (min-width: 960px)' - weight: 0 - multipliers: - - 1x diff --git a/core/themes/stark/stark.info.yml b/core/themes/stark/stark.info.yml index bbb16c6..1974272 100644 --- a/core/themes/stark/stark.info.yml +++ b/core/themes/stark/stark.info.yml @@ -1,10 +1,6 @@ name: Stark type: theme -description: 'An intentionally plain theme with almost no styling to demonstrate default Drupal’s HTML and CSS. Learn how to build a custom theme from Stark in the Theming Guide.' +description: 'An intentionally plain theme with no styling to demonstrate default Drupal’s HTML and CSS. Learn how to build a custom theme from Stark in the Theming Guide.' package: Core version: VERSION core: 8.x -libraries: - - stark/global-styling -stylesheets-remove: - - normalize.css diff --git a/core/themes/stark/stark.libraries.yml b/core/themes/stark/stark.libraries.yml deleted file mode 100644 index 7655147..0000000 --- a/core/themes/stark/stark.libraries.yml +++ /dev/null @@ -1,5 +0,0 @@ -global-styling: - version: VERSION - css: - base: - css/layout.css: {}