Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _backend/preload.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
$sitewide['author'] = 'elementary, Inc.';
$sitewide['description'] = 'Thoughtful, capable, and ethical computing';
$sitewide['image'] = 'https://elementary.io/images/preview.png';
$sitewide['theme-color'] = '#3689e6';
$sitewide['theme-color'] = '#fff';

// Autodetect website root path
$serverRoot = $_SERVER['DOCUMENT_ROOT'];
Expand Down
66 changes: 64 additions & 2 deletions _styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -737,14 +737,26 @@ select,
text-align: center;
text-decoration: none;
text-shadow: 0 1px rgba(255, 255, 255, 0.4);
transition: all 100ms ease-in;
transition: all 150ms ease;
}

button,
.button {
display: inline-block;
}

button:hover,
select:hover,
.button:hover {
background-color: rgba(0, 0, 0, 0.02);
border-color: rgba(0, 0, 0, 0.25);
box-shadow:
inset 0 0 0 1px rgba(255, 255, 255, 0.05),
inset 0 1px 0 0 rgba(255, 255, 255, 0.45),
inset 0 -1px 0 0 rgba(255, 255, 255, 0.15),
0 1px 3px rgba(0, 0, 0, 0.1);
}

button:focus,
.button:focus {
border-color: rgba(77, 156, 209, 0.8);
Expand All @@ -757,6 +769,19 @@ button:focus,
text-decoration: none;
}

button:focus-visible,
select:focus-visible,
.button:focus-visible {
border-color: rgba(77, 156, 209, 0.9);
box-shadow:
inset 0 0 0 1px rgba(255, 255, 255, 0.05),
inset 0 1px 0 0 rgba(255, 255, 255, 0.45),
inset 0 -1px 0 0 rgba(255, 255, 255, 0.15),
0 0 0 2px rgba(77, 156, 209, 0.4),
0 3px 6px rgba(12, 128, 200, 0.23);
outline: none;
}

button:active,
.button:active,
button.active,
Expand All @@ -779,6 +804,37 @@ button.suggested-action,
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
}

button.suggested-action:hover,
.button.suggested-action:hover {
background-color: #70c1f5;
background-image: linear-gradient(to bottom, #5cb3ed, #3b94d2);
border-color: #2b74a4;
box-shadow:
inset 0 0 0 1px rgba(255, 255, 255, 0.1),
inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
inset 0 -1px 0 0 rgba(255, 255, 255, 0.15),
0 2px 4px rgba(18, 92, 146, 0.25);
}

button.suggested-action:focus,
.button.suggested-action:focus {
border-color: #2b74a4;
box-shadow:
inset 0 0 0 1px rgba(255, 255, 255, 0.2),
0 0 0 2px rgba(77, 156, 209, 0.8),
0 3px 6px rgba(12, 128, 200, 0.23);
}

button.suggested-action:active,
.button.suggested-action:active {
background-color: #328ecc;
background-image: linear-gradient(to bottom, #2b7eb6, #3b94d2);
border-color: #246590;
box-shadow:
inset 0 1px 2px rgba(0, 0, 0, 0.2),
0 1px 0 0 rgba(255, 255, 255, 0.3);
}

.button.flat {
background: rgba(0, 0, 0, 0.07);
border: none;
Expand All @@ -790,7 +846,7 @@ button.suggested-action,
min-width: 250px;
padding: 7px;
text-shadow: none;
transition: opacity 200ms ease;
transition: all 200ms ease;
}

.button.flat:focus,
Expand All @@ -801,6 +857,12 @@ button.suggested-action,
0 5px 10px -2px rgba(0, 0, 0, 0.15);
}

.button.flat:active {
background: rgba(0, 0, 0, 0.07);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
opacity: 1;
}

.light .button.flat,
.light .button.flat .svg {
border-color: #fff;
Expand Down
2 changes: 0 additions & 2 deletions docs/_mdr/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@
'styles/docs.css'
);

$page['theme-color'] = '#403757';

include $Templates['Header'];
echo '<div class="row docs">';
include $Templates['Alert'];
Expand Down
1 change: 0 additions & 1 deletion get-involved.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require_once __DIR__.'/_backend/preload.php';

$page['title'] = 'Get Involved with elementary OS';
$page['theme-color'] = '#3E4E54';

$page['styles'] = array(
'https://fonts.googleapis.com/css?family=Marck+Script',
Expand Down
1 change: 0 additions & 1 deletion thank-you.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require_once __DIR__.'/_backend/preload.php';

$page['title'] = 'Thank You for Downloading elementary OS';
$page['theme-color'] = '#3E4E54';

include $template['header'];
include $template['alert'];
Expand Down