1
0
Fork 0
mirror of https://github.com/mwalbeck/nextcloud-breeze-dark.git synced 2025-07-05 02:34:21 +00:00

Initial commit

This commit is contained in:
Magnus Walbeck 2017-01-27 13:02:47 +01:00
commit 888b5c6813
6 changed files with 519 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
core/css/.sass-cache

156
core/css/styles.css Normal file
View file

@ -0,0 +1,156 @@
body {
color: #eff0f1; }
a {
color: #eff0f1; }
/* header color */
#body-user #header,
#body-settings #header,
#body-public #header {
background-color: #31363b; }
/* log in screen background color */
#body-login {
background: #232629; }
/* primary action button */
.primary, input[type="submit"].primary, input[type="button"].primary, button.primary, .button.primary,
.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active {
border-color: #676b6f;
background-color: #31363b;
color: #eff0f1; }
.primary:hover, input[type="submit"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover,
.primary:focus, input[type="submit"].primary:focus, input[type="button"].primary:focus, button.primary:focus, .button.primary:focus {
color: #eff0f1;
border-color: #3cabe5;
background-color: #31363b; }
.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active,
.primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,
.primary:disabled:hover, input[type="submit"].primary:disabled:hover, input[type="button"].primary:disabled:hover, button.primary:disabled:hover, .button.primary:disabled:hover,
.primary:disabled:focus, input[type="submit"].primary:disabled:focus, input[type="button"].primary:disabled:focus, button.primary:disabled:focus, .button.primary:disabled:focus {
background-color: #31363b; }
input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="tel"], input[type="url"],
input[type="time"], input[type="date"], textarea, select, button, .button, input[type="submit"], input[type="button"], #quota, .pager li a {
border: 1px solid #676b6f; }
/* use logos from theme */
#header .logo {
background-image: url("../img/logo.svg");
width: 250px;
height: 121px; }
#header .logo-icon {
background-image: url("../img/logo-icon.svg");
width: 62px;
height: 34px; }
input, input[type="text"], input[type="email"], input[type="password"],
input:hover, input[type="text"]:hover, input[type="email"]:hover, input[type="password"]:hover,
input:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
background-color: #31363b;
color: #eff0f1; }
#body-login p.info, #body-login form fieldset legend, #body-login #datadirContent label,
#body-login form fieldset .warning-info, #body-login form input[type="checkbox"] + label {
color: #eff0f1; }
#app-settings-content {
background-color: #232629; }
#app-settings-content, #app-settings-header {
border-right: 1px solid #676b6f; }
#app-navigation {
background-color: #232629;
border-right: 1px solid #676b6f; }
#app-navigation li > a {
color: #eff0f1; }
.nav-trashbin {
color: #eff0f1;
background-color: #232629;
border-color: #676b6f; }
.settings-button {
background-color: #232629; }
input[type="submit"], input[type="button"], button, .button, #quota, select, .pager li a {
color: #eff0f1; }
#app-content {
background-color: #232629; }
#controls {
background-color: #232629; }
table th, table td {
border-color: #676b6f; }
table thead th {
background-color: #232629; }
#filestable tbody tr {
background-color: #232629; }
#filestable tbody tr:hover, #filestable tbody tr:focus, #filestable tbody .name:focus, #filestable tbody tr:active, #filestable tbody tr.highlighted,
#filestable tbody tr.highlighted .name:focus, #filestable tbody tr.selected, #filestable tbody tr.searchresult, table tr.mouseOver td {
background-color: #31363b; }
tbody a {
color: #eff0f1; }
span.modified.live-relative-timestamp {
color: #eff0f1 !important; }
#app-sidebar {
background-color: #232629;
border-color: #676b6f; }
input[type="text"], input[type="password"], input[type="search"], input[type="number"],
input[type="email"], input[type="tel"], input[type="url"], input[type="time"], textarea {
background-color: #31363b;
color: #eff0f1; }
input[type="text"]:hover, input[type="text"]:focus, input[type="text"]:active, input[type="password"]:hover, input[type="password"]:focus, input[type="password"]:active,
input[type="number"]:hover, input[type="number"]:focus, input[type="number"]:active, input[type="search"]:hover, input[type="search"]:focus, input[type="search"]:active,
input[type="email"]:hover, input[type="email"]:focus, input[type="email"]:active, input[type="tel"]:hover, input[type="tel"]:focus, input[type="tel"]:active,
input[type="url"]:hover, input[type="url"]:focus, input[type="url"]:active, input[type="time"]:hover, input[type="time"]:focus, input[type="time"]:active, textarea:hover,
textarea:focus, textarea:active {
color: #eff0f1;
border-color: #3cabe5; }
.tabHeaders .tabHeader.selected, .tabHeaders .tabHeader.selected a, .tabHeaders .tabHeader:hover, .tabHeaders .tabHeader:hover a {
color: #eff0f1; }
.tabHeaders .tabHeader.selected, .tabHeaders .tabHeader:hover {
border-color: #3cabe5; }
.settings-button:hover, .settings-button:focus {
background-color: #31363b;
color: #eff0f1; }
.button {
background-color: #31363b; }
.button:hover, .button:focus {
background-color: #31363b;
border-color: #3cabe5; }
.bubble, #app-navigation .app-navigation-entry-menu {
background-color: #31363b;
color: #eff0f1;
-webkit-filter: none;
-moz-filter: none;
-ms-filter: none;
filter: none; }
.popovermenu .menuitem {
color: #eff0f1; }
.bubble::after, #app-navigation .app-navigation-entry-menu::after {
border-bottom-color: #31363b; }
/*# sourceMappingURL=styles.css.map */

7
core/css/styles.css.map Normal file
View file

@ -0,0 +1,7 @@
{
"version": 3,
"mappings": "AAMA,IAAK;EACJ,KAAK,EAPQ,OAAO;;AAUrB,CAAE;EACD,KAAK,EAXQ,OAAO;;AAcpB,kBAAkB;AACnB;;oBAEqB;EACpB,gBAAgB,EAhBA,OAAO;;AAmBxB,oCAAoC;AACpC,WAAY;EACX,UAAU,EAtBS,OAAO;;AAyB3B,2BAA2B;AAC3B;wIACyI;EACxI,YAAY,EAzBG,OAAO;EA0BtB,gBAAgB,EA5BA,OAAO;EA6BvB,KAAK,EA/BQ,OAAO;;AAiCrB;mIACoI;EACnI,KAAK,EAnCQ,OAAO;EAoCpB,YAAY,EAjCG,OAAO;EAkCtB,gBAAgB,EAnCA,OAAO;;AAsCxB;;;gLAGiL;EAChL,gBAAgB,EA1CA,OAAO;;AA6CxB;0IAC2I;EAC1I,MAAM,EAAE,iBAAuB;;AAGhC,0BAA0B;AAEzB,aAAM;EACN,gBAAgB,EAAE,sBAAsB;EACxC,KAAK,EAAE,KAAK;EACZ,MAA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A8D;EAC7D,YAAY,EArKG,OAAO;;AAwKvB,8CAA+C;EAC9C,gBAAgB,EA1KA,OAAO;EA2KvB,KAAK,EA7KQ,OAAO;;AAgLrB,OAAQ;EACP,gBAAgB,EA/KA,OAAO;;AAkLxB,4BAA6B;EAC5B,gBAAgB,EAnLA,OAAO;EAoLvB,YAAY,EAnLG,OAAO;;AAsLvB,mDAAoD;EACnD,gBAAgB,EAxLA,OAAO;EAyLvB,KAAK,EA3LQ,OAAO;EA4LpB,cAAc,EAAE,IAAI;EACpB,WAAW,EAAE,IAAI;EACjB,UAAU,EAAE,IAAI;EAChB,MAAM,EAAE,IAAI;;AAGb,sBAAuB;EACtB,KAAK,EAnMQ,OAAO;;AAsMrB,iEAAkE;EACjE,mBAAmB,EArMH,OAAO",
"sources": ["styles.scss"],
"names": [],
"file": "styles.css"
}

201
core/css/styles.scss Normal file
View file

@ -0,0 +1,201 @@
$text-color: #eff0f1;
$background-color: #232629;
$default-color: #31363b;
$accent-color: #3cabe5;
$border-color: #676b6f;
body {
color: $text-color;
}
a {
color: $text-color;
}
/* header color */
#body-user #header,
#body-settings #header,
#body-public #header {
background-color: $default-color;
}
/* log in screen background color */
#body-login {
background: $background-color;
}
/* primary action button */
.primary, input[type="submit"].primary, input[type="button"].primary, button.primary, .button.primary,
.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active {
border-color: $border-color;
background-color: $default-color;
color: $text-color;
}
.primary:hover, input[type="submit"].primary:hover, input[type="button"].primary:hover, button.primary:hover, .button.primary:hover,
.primary:focus, input[type="submit"].primary:focus, input[type="button"].primary:focus, button.primary:focus, .button.primary:focus {
color: $text-color;
border-color: $accent-color;
background-color: $default-color;
}
.primary:active, input[type="submit"].primary:active, input[type="button"].primary:active, button.primary:active, .button.primary:active,
.primary:disabled, input[type="submit"].primary:disabled, input[type="button"].primary:disabled, button.primary:disabled, .button.primary:disabled,
.primary:disabled:hover, input[type="submit"].primary:disabled:hover, input[type="button"].primary:disabled:hover, button.primary:disabled:hover, .button.primary:disabled:hover,
.primary:disabled:focus, input[type="submit"].primary:disabled:focus, input[type="button"].primary:disabled:focus, button.primary:disabled:focus, .button.primary:disabled:focus {
background-color: $default-color;
}
input[type="text"], input[type="password"], input[type="search"], input[type="number"], input[type="email"], input[type="tel"], input[type="url"],
input[type="time"], input[type="date"], textarea, select, button, .button, input[type="submit"], input[type="button"], #quota, .pager li a {
border: 1px solid $border-color;
}
/* use logos from theme */
#header {
.logo {
background-image: url('../img/logo.svg');
width: 250px;
height: 121px;
}
.logo-icon {
background-image: url('../img/logo-icon.svg');
width: 62px;
height: 34px;
}
}
input, input[type="text"], input[type="email"], input[type="password"],
input:hover, input[type="text"]:hover, input[type="email"]:hover, input[type="password"]:hover,
input:focus, input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, {
background-color: $default-color;
color: $text-color;
}
#body-login p.info, #body-login form fieldset legend, #body-login #datadirContent label,
#body-login form fieldset .warning-info, #body-login form input[type="checkbox"] + label {
color: $text-color;
}
#app-settings-content {
background-color: $background-color;
}
#app-settings-content, #app-settings-header {
border-right: 1px solid $border-color;
}
#app-navigation {
background-color: $background-color;
border-right: 1px solid $border-color;
li > a {
color: $text-color;
}
}
.nav-trashbin {
color: $text-color;
background-color: $background-color;
border-color: $border-color;
}
.settings-button {
background-color: $background-color;
}
input[type="submit"], input[type="button"], button, .button, #quota, select, .pager li a {
color: $text-color;
}
#app-content {
background-color: $background-color;
}
#controls {
background-color: $background-color;
}
table th, table td {
border-color: $border-color;
}
table thead th {
background-color: $background-color;
}
#filestable tbody tr {
background-color: $background-color;
}
#filestable tbody tr:hover, #filestable tbody tr:focus, #filestable tbody .name:focus, #filestable tbody tr:active, #filestable tbody tr.highlighted,
#filestable tbody tr.highlighted .name:focus, #filestable tbody tr.selected, #filestable tbody tr.searchresult, table tr.mouseOver td {
background-color: $default-color;
}
tbody a {
color: $text-color;
}
span.modified.live-relative-timestamp {
color: $text-color !important;
}
#app-sidebar {
background-color: $background-color;
border-color: $border-color;
}
input[type="text"], input[type="password"], input[type="search"], input[type="number"],
input[type="email"], input[type="tel"], input[type="url"], input[type="time"], textarea {
background-color: $default-color;
color: $text-color;
}
input[type="text"]:hover, input[type="text"]:focus, input[type="text"]:active, input[type="password"]:hover, input[type="password"]:focus, input[type="password"]:active,
input[type="number"]:hover, input[type="number"]:focus, input[type="number"]:active, input[type="search"]:hover, input[type="search"]:focus, input[type="search"]:active,
input[type="email"]:hover, input[type="email"]:focus, input[type="email"]:active, input[type="tel"]:hover, input[type="tel"]:focus, input[type="tel"]:active,
input[type="url"]:hover, input[type="url"]:focus, input[type="url"]:active, input[type="time"]:hover, input[type="time"]:focus, input[type="time"]:active, textarea:hover,
textarea:focus, textarea:active {
color: $text-color;
border-color: $accent-color;
}
.tabHeaders .tabHeader.selected, .tabHeaders .tabHeader.selected a, .tabHeaders .tabHeader:hover, .tabHeaders .tabHeader:hover a {
color: $text-color;
}
.tabHeaders .tabHeader.selected, .tabHeaders .tabHeader:hover {
border-color: $accent-color;
}
.settings-button:hover, .settings-button:focus {
background-color: $default-color;
color: $text-color;
}
.button {
background-color: $default-color;
}
.button:hover, .button:focus {
background-color: $default-color;
border-color: $accent-color;
}
.bubble, #app-navigation .app-navigation-entry-menu {
background-color: $default-color;
color: $text-color;
-webkit-filter: none;
-moz-filter: none;
-ms-filter: none;
filter: none;
}
.popovermenu .menuitem {
color: $text-color;
}
.bubble::after, #app-navigation .app-navigation-entry-menu::after {
border-bottom-color: $default-color;
}

BIN
core/img/logo.svg Normal file

Binary file not shown.

After

(image error) Size: 7 KiB

154
defaults.php Normal file
View file

@ -0,0 +1,154 @@
<?php
/**
* @author Björn Schießle <schiessle@owncloud.com>
* @author Jan-Christoph Borchardt, http://jancborchardt.net
* @copyright Copyright (c) 2016, ownCloud, Inc.
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License, version 3,
* along with this program. If not, see <http://www.gnu.org/licenses/>
*/
class OC_Theme {
/**
* Returns the base URL
* @return string URL
*/
public function getBaseUrl() {
return 'https://nextcloud.com';
}
/**
* Returns the URL where the sync clients are listed
* @return string URL
*/
public function getSyncClientUrl() {
return 'https://nextcloud.com/install/#install-clients';
}
/**
* Returns the URL to the App Store for the iOS Client
* @return string URL
*/
public function getiOSClientUrl() {
return 'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8';
}
/**
* Returns the AppId for the App Store for the iOS Client
* @return string AppId
*/
public function getiTunesAppId() {
return '1125420102';
}
/**
* Returns the URL to Google Play for the Android Client
* @return string URL
*/
public function getAndroidClientUrl() {
return 'https://play.google.com/store/apps/details?id=com.nextcloud.client';
}
/**
* Returns the documentation URL
* @return string URL
*/
public function getDocBaseUrl() {
return 'https://docs.nextcloud.com';
}
/**
* Returns the title
* @return string title
*/
public function getTitle() {
return 'Custom Cloud';
}
/**
* Returns the short name of the software
* @return string title
*/
public function getName() {
return 'Custom Cloud';
}
/**
* Returns the short name of the software containing HTML strings
* @return string title
*/
public function getHTMLName() {
return 'Custom Cloud';
}
/**
* Returns entity (e.g. company name) - used for footer, copyright
* @return string entity name
*/
public function getEntity() {
return 'Custom Cloud Co.';
}
/**
* Returns slogan
* @return string slogan
*/
public function getSlogan() {
return 'Your custom cloud, personalized for you!';
}
/**
* Returns logo claim
* @return string logo claim
*/
public function getLogoClaim() {
return '';
}
/**
* Returns short version of the footer
* @return string short footer
*/
public function getShortFooter() {
$footer = '© 2016 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
'<br/>' . $this->getSlogan();
return $footer;
}
/**
* Returns long version of the footer
* @return string long footer
*/
public function getLongFooter() {
$footer = '© 2016 <a href="'.$this->getBaseUrl().'" target="_blank\">'.$this->getEntity().'</a>'.
'<br/>' . $this->getSlogan();
return $footer;
}
public function buildDocLinkToKey($key) {
return $this->getDocBaseUrl() . '/server/11/go.php?to=' . $key;
}
/**
* Returns mail header color
* @return string
*/
public function getMailHeaderColor() {
return '#745bca';
}
}