Skip to content

Commit

Permalink
Merge 55224c0 into 9c05806
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre-Eduardo authored Sep 28, 2018
2 parents 9c05806 + 55224c0 commit 12feae6
Show file tree
Hide file tree
Showing 6 changed files with 191 additions and 43 deletions.
28 changes: 21 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 19 additions & 26 deletions src/_nav.js
Original file line number Diff line number Diff line change
@@ -1,68 +1,61 @@
export default {
items: [
{
name: 'Dashboard',
name: 'Início',
url: '/dashboard',
icon: 'icon-speedometer',
badge: {
variant: 'info',
text: 'NEW',
},
icon: 'icon-home',
},
{
title: true,
name: 'Theme',
name: 'Jogos',
wrapper: { // optional wrapper object
element: '', // required valid HTML5 element tag
attributes: {} // optional valid JS object with JS API naming ex: { className: "my-class", style: { fontFamily: "Verdana" }, id: "my-id"}
},
class: '' // optional class names space delimited list for title item ex: "text-center"
},
{
name: 'Colors',
url: '/theme/colors',
icon: 'icon-drop',
name: 'Tendências',
url: '/TrendingGames',
icon: 'icon-badge',
},
{
name: 'Typography',
url: '/theme/typography',
icon: 'icon-pencil',
name: 'Recentes',
url: '/base/progress-bar',
icon: 'icon-graph',
},
{
title: true,
name: 'Components',
wrapper: {
element: '',
attributes: {},
},
name: 'Horas jogadas',
url: '/theme/typography',
icon: 'icon-clock',
},
{
name: 'Base',
name: 'Gênero',
url: '/base',
icon: 'icon-puzzle',
children: [
{
name: 'Breadcrumbs',
name: 'Aventura',
url: '/base/breadcrumbs',
icon: 'icon-puzzle',
},
{
name: 'Cards',
name: 'Rpg',
url: '/base/cards',
icon: 'icon-puzzle',
},
{
name: 'Carousels',
name: 'Estratégia',
url: '/base/carousels',
icon: 'icon-puzzle',
},
{
name: 'Collapses',
name: 'Indie',
url: '/base/collapses',
icon: 'icon-puzzle',
},
{
name: 'Dropdowns',
name: 'Esportes',
url: '/base/dropdowns',
icon: 'icon-puzzle',
},
Expand Down Expand Up @@ -255,6 +248,6 @@ export default {
},
],
},

],
};
15 changes: 9 additions & 6 deletions src/containers/DefaultLayout/DefaultHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,22 @@ class DefaultHeader extends Component {
minimized={{ src: sygnet, width: 40, height: 40, alt: 'CoreUI Logo' }}
/>
<AppSidebarToggler className="d-md-down-none" display="lg" />

<Nav className="d-md-down-none" navbar>
<NavItem className="px-3">
<NavLink href="#/">Home</NavLink>
</NavItem>
<NavItem className="px-3">
<NavLink href="#/TrendingGames">Trending Games</NavLink>
</NavItem>

</Nav>
<div class="wrap">
<div className="search">
<input type="text" className="searchTerm" align="center" placeholder="O que você procura?" ></input>
<button type="submit" className="searchButton">
<i className="fa fa-search"></i>
</button>
</div>
</div>
<Nav className="ml-auto" navbar>

</Nav>

<AppAsideToggler className="d-md-down-none" />
{/*<AppAsideToggler className="d-lg-none" mobile />*/}
</React.Fragment>
Expand Down
76 changes: 75 additions & 1 deletion src/scss/_custom.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Here you can add other styles

.pb-border_1{
padding-bottom: 50px !important;}
padding-bottom: 80px !important;}

.pb-border_2{
padding-bottom: 60px !important;}
Expand Down Expand Up @@ -35,3 +35,77 @@ font-family: 'Open Sans', sans-serif; }
.bg-white_04 {
background-color: rgba(255,255,255,0.4) !important;
}

@import url(https://fonts.googleapis.com/css?family=Open+Sans);

body{
background: #f2f2f2;
font-family: 'Open Sans', sans-serif;
}

.search {
width: 100%;
position: relative
}

.searchTerm {
float: left;
width: 100%;
border: 3px solid #00B4CC;
padding: 5px;
height: 36px;
border-radius: 5px;
outline: none;
color: #9DBFAF;
}

.searchTerm:focus{
color: #00B4CC;
}

.searchButton {
position: absolute;
right: -50px;
width: 40px;
height: 36px;
border: 1px solid #00B4CC;
background: #00B4CC;
text-align: center;
color: #fff;
border-radius: 5px;
cursor: pointer;
font-size: 20px;
}

/*Resize the wrap to see the search bar change!*/
.wrap{
width: 10%;
position: absolute;
top: 50%;
left: 90%;
transform: translate(-50%, -50%);
}

.chart-wrapper_1 canvas {

width: 50%;
}


.brand-card-header .chart-wrapper_1 {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%; }

.callout .chart-wrapper_1 {
position: absolute;
top: 10px;
left: 50%;
float: right;
width: 50%; }

*[dir="rtl"] .callout .chart-wrapper_1 {
left: 0;
float: left; }
Loading

0 comments on commit 12feae6

Please sign in to comment.