Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
Major update; Profile pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ggoodman committed Mar 17, 2013
1 parent ce382c7 commit cf6eb58
Show file tree
Hide file tree
Showing 59 changed files with 1,063 additions and 12,655 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Expand Up @@ -49,3 +49,9 @@
[submodule "assets/vendor/ui-bootstrap"]
path = assets/vendor/ui-bootstrap
url = git://github.com/angular-ui/bootstrap.git
[submodule "assets/vendor/typeahead"]
path = assets/vendor/typeahead
url = git://github.com/twitter/typeahead.js.git
[submodule "assets/vendor/typeahead-bootstrap"]
path = assets/vendor/typeahead-bootstrap
url = git://github.com/jharding/typeahead.js-bootstrap.css.git
4 changes: 4 additions & 0 deletions assets/css/apps/editor.less
Expand Up @@ -64,6 +64,10 @@
@import "../components/toolbar";
@import "../components/multipane";

a[ng-click]:hover {
cursor: pointer;
}

.navbar .brand {
background: url('/img/plunker.png') no-repeat;
background-size: 40px 40px;
Expand Down
3 changes: 3 additions & 0 deletions assets/css/apps/landing.less
Expand Up @@ -66,9 +66,12 @@
@import "../components/quickview";
@import "../components/plunkinfo";
@import "../components/pager";
@import "../components/eip";

@import "../views/landing";
@import "../views/preview";
@import "../views/packages";
@import "../views/members";


body {
Expand Down
54 changes: 54 additions & 0 deletions assets/css/components/eip.less
@@ -0,0 +1,54 @@
.eip-container {
display: inline-block;

.eip-show, .eip-edit {
display: inline-block;
}

.eip-form {
margin: 0;
}

ul.eip-ops {
display: none;
list-style: none;
margin: 0 0 0 8px;
padding: 0;

> li {
display: inline-block;
margin: 0;
padding: 0;

> a:hover {
cursor: pointer;
color: #005580;
}
}
}

ul.eip-ops-show {
display: inline-block;
}

:hover ul.eip-ops {
display: inline-block;
}
}

.hide-edit>.eip-container .eip-op-edit {
display: none;
}


.hide-destroy>.eip-container .eip-op-destroy {
display: none;
}

.hide-save>.eip-container .eip-op-save {
display: none;
}

.hide-cancel>.eip-container .eip-op-cancel {
display: none;
}
11 changes: 11 additions & 0 deletions assets/css/components/typeahead.less
@@ -0,0 +1,11 @@
@import "../../vendor/typeahead/dist/typeahead.css";

@import "../../vendor/typeahead-bootstrap/typeahead.js-bootstrap";

input.typeahead {
margin-top: 0;
}

.tt-suggestion {
font-size: 14px;
}
9 changes: 9 additions & 0 deletions assets/css/views/members.less
@@ -0,0 +1,9 @@
.thumbnail {
background-color: white;
}

.tab-pane {
.plunker-gallery {
overflow: hidden;
}
}
49 changes: 49 additions & 0 deletions assets/css/views/packages.less
@@ -0,0 +1,49 @@
@import "../components/typeahead";

.package-search {
.add-on {
width: 34px;
}
.add-on, input {
height: 34px;
font-size: 26px;
line-height: 34px;
}
.tt-query, .tt-hint {
width: 400px;
}

.tt-hint {
color: #999;
}
}

.package-editor {
.modal > form {
margin: 0;
}

ul.ops {
display: none;
list-style: none;
margin: 0; padding: 0;

li {
display: inline-block;
margin: 0; padding: 0;
}
}
li:hover > ul.ops {
display: inline-block;

a {
cursor: pointer;
}
}

li.add a {
color: #333;
font-style: italic;
cursor: pointer;
}
}
18 changes: 9 additions & 9 deletions assets/js/apps/editor.coffee
@@ -1,14 +1,14 @@
#= require ../../vendor/angular.js
#= require ../../vendor/bootstrap/js/bootstrap-button.js
#= require ./../../vendor/angular.js
#= require ./../../vendor/bootstrap/js/bootstrap-button.js

#= require ../services/importer
#= require ../services/session
#= require ../services/notifier
#= require ./../services/importer
#= require ./../services/session
#= require ./../services/notifier

#= require ../directives/userpanel
#= require ../directives/toolbar
#= require ../directives/overlay
#= require ../directives/layout
#= require ./../directives/userpanel
#= require ./../directives/toolbar
#= require ./../directives/overlay
#= require ./../directives/layout

module = angular.module "plunker.editorPage", [
"plunker.userpanel"
Expand Down
27 changes: 13 additions & 14 deletions assets/js/apps/landing.coffee
@@ -1,25 +1,24 @@
#= require ../../vendor/angular
#= require ./../../vendor/angular

#= require ../controllers/explore
#= require ../controllers/users
#= require ../controllers/tags
#= require ../controllers/editor
#= require ../controllers/profile
#= require ../controllers/packages
#= require ../controllers/preview
#= require ../controllers/notfound
#= require ./../controllers/explore
#= require ./../controllers/members
#= require ./../controllers/tags
#= require ./../controllers/editor
#= require ./../controllers/packages
#= require ./../controllers/preview
#= require ./../controllers/notfound

#= require ../services/menu
#= require ../services/plunks
#= require ./../services/menu
#= require ./../services/plunks
#= require ./../services/users

#= require ../directives/userpanel
#= require ./../directives/userpanel


module = angular.module "plunker.landing", [
"plunker.explore"
"plunker.users"
"plunker.tags"
"plunker.profile"
"plunker.members"
"plunker.editorPage"
"plunker.packages"
"plunker.preview"
Expand Down

0 comments on commit cf6eb58

Please sign in to comment.