preview.css
Same filename in other branches
/* ---------- 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); }
File
-
core/
themes/ bartik/ color/ preview.css
View source
- /* ---------- 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);
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.