Browse Source

Adds stats back in, adds star button to menu, removes definition button

Former-commit-id: 9cabeb8ae2
Former-commit-id: 90cb24cdcd
pull/258/head
jlukic 11 years ago
parent
commit
f43fc044b1
5 changed files with 90 additions and 2 deletions
  1. 27
      build/less/views/statistic.css
  2. 27
      node/src/files/release/less/views/statistic.css
  3. 3
      node/src/files/stylesheets/semantic.css
  4. 8
      node/src/layouts/default.html.eco
  5. 27
      src/views/statistic.css

27
build/less/views/statistic.css

@ -0,0 +1,27 @@
/*
* # Statistic
*
*
* Copyright 2013 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
* Released: Aug 20, 2013
*/
/*******************************
Statistic
*******************************/
.ui.statistic {
text-align: center;
}
/*******************************
Content
*******************************/
.ui.statistic > .number {
font-size: 4em;
font-weight: bold;
color: rgba(0, 0, 0, 0.7);
}
.ui.statistic > .description {
opacity: 0.8;
}

27
node/src/files/release/less/views/statistic.css

@ -0,0 +1,27 @@
/*
* # Statistic
*
*
* Copyright 2013 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
* Released: Aug 20, 2013
*/
/*******************************
Statistic
*******************************/
.ui.statistic {
text-align: center;
}
/*******************************
Content
*******************************/
.ui.statistic > .number {
font-size: 4em;
font-weight: bold;
color: rgba(0, 0, 0, 0.7);
}
.ui.statistic > .description {
opacity: 0.8;
}

3
node/src/files/stylesheets/semantic.css

@ -241,6 +241,9 @@ a:hover {
-ms-transition: margin 0.3s ease;
transition: margin 0.3s ease;
}
#example .main.menu iframe {
margin: 10px 0px 0px 0px;
}
#example .main.menu .count {
/* font-size: 0.875em;
vertical-align: middle;*/

8
node/src/layouts/default.html.eco

@ -199,10 +199,14 @@
<div class="disabled item"><i class="right arrow icon"></i></div>
<% end %>
<div class="right menu">
<div class="fitted borderless item">
<iframe src="http://ghbtns.com/github-btn.html?user=jlukic&repo=semantic-ui&type=watch&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="95" height="20"></iframe>
</div>
<% if @document.type is 'UI Element' or @document.type is 'UI View' or @document.type is 'Quirky Element' or @document.type is 'UI Collection' or @document.type is 'UI Module': %>
<a class="popup overview icon item" title="Toggle Definition">
<!-- <a class="popup overview icon item" title="Toggle Definition">
<i class="book icon"></i>
</a>
</a> -->
<a class="popup designer icon item" title="Designer Mode">
<i class="paint icon"></i>
</a>

27
src/views/statistic.css

@ -0,0 +1,27 @@
/*
* # Statistic
*
*
* Copyright 2013 Contributors
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
* Released: Aug 20, 2013
*/
/*******************************
Statistic
*******************************/
.ui.statistic {
text-align: center;
}
/*******************************
Content
*******************************/
.ui.statistic > .number {
font-size: 4em;
font-weight: bold;
color: rgba(0, 0, 0, 0.7);
}
.ui.statistic > .description {
opacity: 0.8;
}
Loading…
Cancel
Save