Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy of Seven theme from Drupal Core commit f290f49f6d
- Loading branch information
Showing
82 changed files
with
5,543 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Schema for the configuration files of the Seven theme. | ||
|
||
seven.settings: | ||
type: theme_settings | ||
label: 'Seven settings' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,174 @@ | ||
/** | ||
* Generic elements. | ||
*/ | ||
body { | ||
color: #333; | ||
background: #fff; | ||
font: normal 81.3%/1.538em "Lucida Grande", "Lucida Sans Unicode", "DejaVu Sans", "Lucida Sans", sans-serif; | ||
} | ||
a, | ||
.link { | ||
color: #0074bd; | ||
text-decoration: none; | ||
} | ||
a:hover, | ||
.link:hover, | ||
a:focus, | ||
.link:focus { | ||
text-decoration: underline; | ||
outline: 0; | ||
} | ||
hr { | ||
margin: 0; | ||
padding: 0; | ||
border: none; | ||
height: 1px; | ||
background: #ccc; | ||
} | ||
summary, | ||
.fieldgroup:not(.form-composite) > legend { | ||
font-weight: bold; | ||
text-transform: uppercase; | ||
} | ||
.simpletest-results-form summary { | ||
text-transform: none; | ||
} | ||
|
||
/** | ||
* Reusable heading classes are included to help modules change the styling of | ||
* headings on a page without affecting accessibility. | ||
*/ | ||
h1, | ||
.heading-a { | ||
font-weight: bold; | ||
margin: 0; | ||
font-size: 1.625em; | ||
line-height: 1.875em; | ||
} | ||
h2, | ||
.heading-b { | ||
font-weight: bold; | ||
margin: 10px 0; | ||
font-size: 1.385em; | ||
} | ||
h3, | ||
.heading-c { | ||
font-weight: bold; | ||
margin: 10px 0; | ||
font-size: 1.231em; | ||
} | ||
h4, | ||
.heading-d { | ||
font-weight: bold; | ||
margin: 10px 0; | ||
font-size: 1.154em; | ||
} | ||
h5, | ||
.heading-e { | ||
font-weight: bold; | ||
margin: 10px 0; | ||
font-size: 1.077em; | ||
} | ||
h6, | ||
.heading-f { | ||
font-weight: bold; | ||
margin: 10px 0; | ||
font-size: 1.077em; | ||
} | ||
p { | ||
margin: 1em 0; | ||
} | ||
dl { | ||
margin: 0 0 20px; | ||
} | ||
dl dd, | ||
dl dl { | ||
margin-left: 20px; /* LTR */ | ||
margin-bottom: 10px; | ||
} | ||
[dir="rtl"] dl dd, | ||
[dir="rtl"] dl dl { | ||
margin-right: 20px; | ||
} | ||
blockquote { | ||
margin: 1em 40px; | ||
} | ||
address { | ||
font-style: italic; | ||
} | ||
u, | ||
ins { | ||
text-decoration: underline; | ||
} | ||
s, | ||
strike, | ||
del { | ||
text-decoration: line-through; | ||
} | ||
big { | ||
font-size: larger; | ||
} | ||
small { | ||
font-size: smaller; | ||
} | ||
sub { | ||
vertical-align: sub; | ||
font-size: smaller; | ||
line-height: normal; | ||
} | ||
sup { | ||
vertical-align: super; | ||
font-size: smaller; | ||
line-height: normal; | ||
} | ||
abbr, | ||
acronym { | ||
border-bottom: dotted 1px; | ||
} | ||
ul { | ||
list-style-type: disc; | ||
list-style-image: none; | ||
margin: 0.25em 0 0.25em 1.5em; /* LTR */ | ||
} | ||
[dir="rtl"] ul { | ||
margin-left: 0; | ||
margin-right: 1.5em; | ||
} | ||
/* This is required to win over specificity of [dir="rtl"] ul */ | ||
[dir="rtl"] .messages__list { | ||
margin-right: 0; | ||
} | ||
ol { | ||
list-style-type: decimal; | ||
margin: 0.25em 0 0.25em 2em; /* LTR */ | ||
padding: 0; | ||
} | ||
[dir="rtl"] ol { | ||
margin-left: 0; | ||
margin-right: 2em; | ||
} | ||
code { | ||
margin: 0.5em 0; | ||
} | ||
pre { | ||
margin: 0.5em 0; | ||
white-space: pre-wrap; | ||
} | ||
details { | ||
line-height: 1.295em; | ||
} | ||
details summary { | ||
padding-top: 0.5em; | ||
padding-bottom: 0.5em; | ||
} | ||
details summary:focus { | ||
outline: none; | ||
} | ||
details summary:focus, | ||
details summary:hover { | ||
text-decoration: underline; | ||
} | ||
img { | ||
max-width: 100%; | ||
height: auto; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
@media print { | ||
* { | ||
background-color: transparent !important; | ||
color: #000 !important; /* Black prints faster: h5bp.com/s */ | ||
box-shadow: none !important; | ||
text-shadow: none !important; | ||
} | ||
body { | ||
padding-top: 0; | ||
} | ||
a, | ||
a:visited { | ||
text-decoration: underline; | ||
} | ||
pre, | ||
blockquote { | ||
border: 1px solid #999; | ||
page-break-inside: avoid; | ||
} | ||
thead { | ||
display: table-header-group; /* h5bp.com/t */ | ||
} | ||
tr, | ||
img { | ||
page-break-inside: avoid; | ||
} | ||
img { | ||
max-width: 100% !important; | ||
} | ||
p, | ||
h2, | ||
h3 { | ||
orphans: 3; | ||
widows: 3; | ||
} | ||
h2, | ||
h3 { | ||
page-break-after: avoid; | ||
} | ||
a, | ||
.link { | ||
color: #000; | ||
text-decoration: underline; | ||
} | ||
.button, | ||
.button--primary { | ||
background: none !important; | ||
} | ||
.messages { | ||
border-width: 1px; | ||
border-color: #999; | ||
} | ||
.is-collapse-enabled .tabs { | ||
max-height: 999em; | ||
} | ||
.is-horizontal .tabs__tab { | ||
margin: 0 4px !important; | ||
border-radius: 4px 4px 0 0 !important; | ||
} | ||
.dropbutton-multiple .dropbutton .secondary-action { | ||
display: block; | ||
} | ||
.js .dropbutton-widget, | ||
.js td .dropbutton-widget /* Splitbuttons */ { | ||
position: relative; | ||
} | ||
.js .dropbutton .dropbutton-toggle { | ||
display: none; | ||
} | ||
.js .dropbutton-multiple .dropbutton-widget { | ||
background: none; | ||
border-radius: 4px; | ||
} | ||
input.form-autocomplete, | ||
input.form-text, | ||
input.form-tel, | ||
input.form-email, | ||
input.form-url, | ||
input.form-search, | ||
input.form-number, | ||
input.form-color, | ||
input.form-file, | ||
textarea.form-textarea, | ||
select.form-select { | ||
border-width: 1px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
* Reusable utility classes that apply vertical spacing consistency and in line | ||
* with the base line height of Seven. | ||
*/ | ||
.leader { | ||
margin-top: 20px; | ||
margin-top: 1.538rem; | ||
} | ||
.leader-double { | ||
margin-top: 40px; | ||
margin-top: 3.076rem; | ||
} | ||
.leader-triple { | ||
margin-top: 60px; | ||
margin-top: 4.614rem; | ||
} | ||
.leader-quadruple { | ||
margin-top: 80px; | ||
margin-top: 6.152rem; | ||
} | ||
.trailer { | ||
margin-bottom: 20px; | ||
margin-bottom: 1.538rem; | ||
} | ||
.trailer-double { | ||
margin-bottom: 40px; | ||
margin-bottom: 3.076rem; | ||
} | ||
.trailer-triple { | ||
margin-bottom: 60px; | ||
margin-bottom: 4.614rem; | ||
} | ||
.trailer-quadruple { | ||
margin-bottom: 80px; | ||
margin-bottom: 6.152rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/** | ||
* Admin lists. | ||
*/ | ||
ul.admin-list { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
.admin-list li { | ||
position: relative; | ||
border-top: 1px solid #bfbfbf; | ||
margin: 0; | ||
list-style-type: none; | ||
list-style-image: none; | ||
padding: 0; | ||
} | ||
.admin-list.compact li { | ||
border: none; | ||
} | ||
.admin-list li a { | ||
background: url(../../../../misc/icons/bebebe/chevron-disc-right.svg) no-repeat 1px 16px; /* LTR */ | ||
display: block; | ||
padding: 14px 15px 14px 25px; /* LTR */ | ||
min-height: 0; | ||
} | ||
[dir="rtl"] .admin-list li a { | ||
background: url(../../../../misc/icons/bebebe/chevron-disc-left.svg) no-repeat right 16px; | ||
padding-right: 25px; | ||
padding-left: 15px; | ||
} | ||
.admin-list.compact li a { | ||
background-image: none; | ||
padding: 2px 0; | ||
} | ||
.admin-list li a:hover, | ||
.admin-list li a:focus, | ||
.admin-list li a:active { | ||
text-decoration: none; | ||
} | ||
.admin-list li a .label { | ||
font-size: 1.0769em; | ||
} | ||
.admin-list li a:hover .label, | ||
.admin-list li a:focus .label, | ||
.admin-list li a:active .label { | ||
text-decoration: underline; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* @file | ||
* Breadcrumbs. | ||
*/ | ||
|
||
.breadcrumb { | ||
line-height: 1em; | ||
padding: 20px 0 10px; | ||
} |
Oops, something went wrong.