diff --git a/GTheme.php b/GTheme.php index 53ed4c5..59a3926 100644 --- a/GTheme.php +++ b/GTheme.php @@ -22,6 +22,6 @@ class GTheme extends Plugin public function configureThemeVariables(Plugin\ThemeStyles $vars) { - //Nothing here + $vars->fontFamilyBase = 'Roboto, Helvetica, sans-serif'; } } diff --git a/fonts/Roboto-Light-webfont.eot b/fonts/Roboto-Light-webfont.eot new file mode 100755 index 0000000..6996623 Binary files /dev/null and b/fonts/Roboto-Light-webfont.eot differ diff --git a/fonts/Roboto-Light-webfont.svg b/fonts/Roboto-Light-webfont.svg new file mode 100755 index 0000000..3e438f3 --- /dev/null +++ b/fonts/Roboto-Light-webfont.svg @@ -0,0 +1,655 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/fonts/Roboto-Light-webfont.ttf b/fonts/Roboto-Light-webfont.ttf new file mode 100755 index 0000000..b37742d Binary files /dev/null and b/fonts/Roboto-Light-webfont.ttf differ diff --git a/fonts/Roboto-Light-webfont.woff b/fonts/Roboto-Light-webfont.woff new file mode 100755 index 0000000..8f5552d Binary files /dev/null and b/fonts/Roboto-Light-webfont.woff differ diff --git a/fonts/Roboto-Regular-webfont.eot b/fonts/Roboto-Regular-webfont.eot new file mode 100755 index 0000000..c42f240 Binary files /dev/null and b/fonts/Roboto-Regular-webfont.eot differ diff --git a/fonts/Roboto-Regular-webfont.svg b/fonts/Roboto-Regular-webfont.svg new file mode 100755 index 0000000..57a15c6 --- /dev/null +++ b/fonts/Roboto-Regular-webfont.svg @@ -0,0 +1,635 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/fonts/Roboto-Regular-webfont.ttf b/fonts/Roboto-Regular-webfont.ttf new file mode 100755 index 0000000..30be1e4 Binary files /dev/null and b/fonts/Roboto-Regular-webfont.ttf differ diff --git a/fonts/Roboto-Regular-webfont.woff b/fonts/Roboto-Regular-webfont.woff new file mode 100755 index 0000000..8aa07d7 Binary files /dev/null and b/fonts/Roboto-Regular-webfont.woff differ diff --git a/fonts/stylesheet 2.css b/fonts/stylesheet 2.css new file mode 100755 index 0000000..dd6d4c4 --- /dev/null +++ b/fonts/stylesheet 2.css @@ -0,0 +1,13 @@ +@font-face { + font-family: 'robotoregular'; + src: url('Roboto-Regular-webfont.eot'); + src: url('Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'), + url('Roboto-Regular-webfont.woff2') format('woff2'), + url('Roboto-Regular-webfont.woff') format('woff'), + url('Roboto-Regular-webfont.ttf') format('truetype'), + url('Roboto-Regular-webfont.svg#robotoregular') format('svg'); + font-weight: normal; + font-style: normal; + +} + diff --git a/fonts/stylesheet.css b/fonts/stylesheet.css new file mode 100755 index 0000000..4e5370b --- /dev/null +++ b/fonts/stylesheet.css @@ -0,0 +1,13 @@ +@font-face { + font-family: 'robotolight'; + src: url('Roboto-Light-webfont.eot'); + src: url('Roboto-Light-webfont.eot?#iefix') format('embedded-opentype'), + url('Roboto-Light-webfont.woff2') format('woff2'), + url('Roboto-Light-webfont.woff') format('woff'), + url('Roboto-Light-webfont.ttf') format('truetype'), + url('Roboto-Light-webfont.svg#robotolight') format('svg'); + font-weight: normal; + font-style: normal; + +} + diff --git a/stylesheets/components/_button.less b/stylesheets/components/_button.less index 3f10ac1..b58bcd2 100644 --- a/stylesheets/components/_button.less +++ b/stylesheets/components/_button.less @@ -1,14 +1,18 @@ -.btn, input[type="button"], .button { - box-shadow: none; - text-decoration: none; - text-transform: uppercase; - border: none; - font-weight: bold; - letter-spacing: 1.5em; +.btn, +input[type="button"], +.button { + box-shadow: none; + text-decoration: none; + text-transform: uppercase; + border: none; + font-weight: bold; + letter-spacing: 1.5em; + background-color: transparent; - &:hover { - color: #CECCD2; - box-shadow: none; - border: none; - } -} \ No newline at end of file + &:hover { + color: #ceccd2; + box-shadow: none; + border: none; + background-color: transparent; + } +} diff --git a/stylesheets/components/_login.less b/stylesheets/components/_login.less new file mode 100644 index 0000000..e6fee3e --- /dev/null +++ b/stylesheets/components/_login.less @@ -0,0 +1,8 @@ +.loginForm { + h2.card-title { + text-align: center; + } + p#piwik { + display: none; + } +} \ No newline at end of file diff --git a/stylesheets/components/_visitor_log.less b/stylesheets/components/_visitor_log.less index e76602c..a36a192 100644 --- a/stylesheets/components/_visitor_log.less +++ b/stylesheets/components/_visitor_log.less @@ -9,8 +9,8 @@ } #visitsLive { - > .datetime, - > .settings { + & .datetime, + & .settings { background-color: @theme-color-background-base; } } diff --git a/stylesheets/theme.less b/stylesheets/theme.less index 8d47633..7e4d4c2 100644 --- a/stylesheets/theme.less +++ b/stylesheets/theme.less @@ -12,6 +12,8 @@ @import "components/_visitor_log"; @import "components/_widget"; +@import "components/_login"; + @theme-color-brand: #CECCD2; @theme-color-background-base: #FAF9F6; @theme-color-header-background: #FAF9F6;