Skip to content

Commit

Permalink
Merge pull request #1 from openSUSE/master
Browse files Browse the repository at this point in the history
want to add counter
  • Loading branch information
ddemaio authored Apr 15, 2019
2 parents cda224b + 0c9a5fe commit e724543
Show file tree
Hide file tree
Showing 233 changed files with 29,574 additions and 583 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
po/*.po*
node_modules/
6 changes: 6 additions & 0 deletions How_to_Participate/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<head>
<meta http-equiv="refresh" content="0; URL=https://en.opensuse.org/Portal:How_to_participate">
</head>
<body>
<a href="https://en.opensuse.org/Portal:How_to_participate">redirecting to wiki ...</a>
</body>
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2015 The openSUSE Project

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
127 changes: 77 additions & 50 deletions README.md

Large diffs are not rendered by default.

68 changes: 66 additions & 2 deletions assets/css/buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
margin-top: 50px;
}

.btn-primary {
.btn-default {
border: 1px solid @opensuse-green;
background: transparent;
color: @opensuse-green;
Expand All @@ -14,7 +14,7 @@
color: #fff;
}
}
#more-information-os .btn-primary {
#more-information-os .btn-default, #contribute-to-opensuse .btn-default {
border-color: #fff;
color: #fff;
&:hover {
Expand All @@ -23,10 +23,74 @@
}
}

.btn-primary {
border: 1px solid @opensuse-green;
background: @opensuse-green;
color: @opensuse-blue;
&:hover {
background: @opensuse-light-green;
border: 1px solid @opensuse-light-green;
color: #fff;
}
}
#more-information-os .btn-primary {
border-color: #fff;
background: #fff;
color: @gray;
&:hover {
background: @opensuse-blue;
border-color: @opensuse-blue;
color: #fff;
i.fa {
color: #fff
}
}
}

#more-information-os {
.btn {
i {
font-size: 1em;
margin-right: .6em;
}
&.btn-primary {
i {
color: @gray
}
}
}
}

#more-information-os .btn-link {
color: #fff;
margin-top: 5em;
&:hover, &:hover i {
color: @opensuse-blue
}
}

.btn.btn-default.dropdown-toggle {
border-color: @gray-light;
color: @gray-light;
&:hover {
background: @gray-lighter
}
}

.go-to-top {
background: rgba(255, 255, 255, 0.5);
border-radius: 4px;
bottom: 15px;
color: #444;
display: none;
position: fixed;
padding: 5px 10px;
right: 15px;
z-index: 9999;
}

.not-clickable {
pointer-events: none;
cursor: default;
}

4 changes: 0 additions & 4 deletions assets/css/fontawesome/font-awesome.min.css

This file was deleted.

4 changes: 4 additions & 0 deletions assets/css/images.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ img[src*="new-tools-to-try-out.png"] {
.distributions-icon img {
height: 57px;
}
.laptop-responsive {
width: 100%;
padding: 1em;
}
66 changes: 54 additions & 12 deletions assets/css/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,52 +12,94 @@ body {
}
header {
background: @header;
padding: 20px 0;
display: block;
padding: 20px 0;
position: fixed;
transition: all .5s ease;
width: 100%;
z-index: 100;
#open_main_menu {
cursor: pointer;
padding: 8px 4px;
color: @button-main-menu;
cursor: pointer;
padding: 8px;
}
#opensuseLogo, ul li a {
transition: all .5s ease;
}
ul{
padding: 0;
li {
padding: 5px 0 0 0;
display: inline-block;
padding: 5px 0 0 0;
a {
color: @header-links-horizontal;
display: block;
font-family: 'Source Sans Pro', sans-serif;
text-transform: uppercase;
font-weight: 400;
font-size: 18px;
margin-left: 18px;
&:hover {
color: @header-links-horizontal-hover;
text-transform: uppercase;
padding-bottom: 0.3em;
position: relative;
overflow: hidden;
&:before {
content: "";
position: absolute;
z-index: -1;
left: 50%;
right: 50%;
bottom: 0;
background: @header-links-horizontal-hover;
opacity: 0;
height: 3px;
.prefixed(transition-property, "left, right");
.prefixed(transition-duration, .3s);
.prefixed(transition-timing-function, ease-out);
}
&:hover,
&:focus,
&:active {
text-decoration: none;
border-bottom: 3px solid @header-links-horizontal-hover;
color: @header-links-horizontal-hover;
&:before {
left: 0;
right: 0;
opacity: 1;
}
}
}
}
}
}
.prefixed(@property, @value) {
-webkit-@{property}: @value;
-moz-@{property}: @value;
-ms-@{property}: @value;
-o-@{property}: @value;
@{property}: @value;
}
aside {
position: fixed;
top: @menu-mobile-height;
left: -250px;
background: @aside;
left: -250px;
position: fixed;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
z-index: 1000
top: @menu-mobile-height;
z-index: 1000;
width: 250px;
text-transform: uppercase;

ul{
li{
a{
font-size: 14px;
font-weight: 400;
}
}
}
}

section{
Expand Down
2 changes: 0 additions & 2 deletions assets/css/openSUSE.css

This file was deleted.

18 changes: 10 additions & 8 deletions assets/css/openSUSE.less
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
//dependencies
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600);
@import "bootstrap/bootstrap.less";
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');
@import "vendor/bootstrap/bootstrap.less";

//Opensuse theme
@import "layout.less";
@import "variables.less";
@import "types.less";
@import "sections.less";
@import "buttons.less";
@import "lists.less";
@import "images.less";
@import "layout.less";
@import "lists.less";
@import "sections.less";
@import "slide-owl.less";

@import "types.less";
@import "variables.less";
//Responsiveness. leave always at the end.
@import "responsive-utilities.less";

//Libraries for internal/external use
@import "opensuse-countdown.less";
70 changes: 70 additions & 0 deletions assets/css/opensuse-countdown.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,700);

.opensuse-countdown {
padding-top: 30px;
padding-left: 30px;
padding-right: 30px;
text-align: center;
width: 480px;


color: #fff;
font-family: 'Source Sans Pro', sans-serif;
text-align: left;
text-decoration: none;
text-transform: uppercase;

.opensuse-countdown__time-left,
.opensuse-countdown__alex,
.opensuse-countdown__released {
display: inline-block;
vertical-align: top;
}

.opensuse-countdown__time-left {
margin-right: 15px;
}

.opensuse-countdown__time-left,
.opensuse-countdown__released {
a {
color: #fff;
font-family: 'Source Sans Pro', sans-serif;
text-align: left;
text-decoration: none;
text-transform: uppercase;
}
}

.opensuse-countdown__number,
.opensuse-countdown__version-name {
font-weight: 700;
margin-right: 15px;
}

.opensuse-countdown__time-left__text {
margin-bottom: -15px;
}

.opensuse-countdown__days,
.opensuse-countdown__hours,
.opensuse-countdown__version-name,
.opensuse-countdown__number {
font-size: 65px;
display: inline-block;
vertical-align: top;
}

.opensuse-countdown__days,
.opensuse-countdown__hours {
font-weight: 300;
}

.opensuse-countdown__call-to-action {
font-size: 20px;
font-weight: 300;
}



}
Loading

0 comments on commit e724543

Please sign in to comment.