Skip to content

Commit

Permalink
Restuta#207: Simple styling
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderKapelyukhovskiy committed May 28, 2017
1 parent 11a6325 commit fb553bf
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/client/calendar/Calendars.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Component from 'react-pure-render/component'
import './Calendars.scss'
import React from 'react'

class Calendars extends Component {
Expand All @@ -13,12 +14,10 @@ class Calendars extends Component {
</li>)

return (
<div>
<span>Calendars:</span>
<ul>
{calendarsComponent}
</ul>
</div>
<ul className='Calendars'>
<li>Calendars:</li>
{calendarsComponent}
</ul>
)
}
}
Expand Down
27 changes: 27 additions & 0 deletions src/client/calendar/Calendars.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
.Calendars {
list-style-type: none;

li {
height: 25px;
width: 240px;
float: left;
text-align: center;
margin-right: 0px;
border: 1px solid #aaa;
padding: 0 20px;
}

li:first-child {
border: none;
text-align: right;
}

li a {
text-decoration: none;
text-transform: uppercase;
}

li a:hover {
font-weight: bold;
}
}

0 comments on commit fb553bf

Please sign in to comment.