Commit 054c681827798177f27441adf6774e94b7c69f5b
1 parent
1f43f303
Exists in
master
build.sh: verificando se n?o est? vazio e colocando no diretorio correto. scss: …
…adicionando a borda no bottom
Showing
5 changed files
with
25 additions
and
6 deletions
Show diff stats
LEIAME
@@ -4,11 +4,26 @@ Como instalar | @@ -4,11 +4,26 @@ Como instalar | ||
4 | 4 | ||
5 | Dependências: | 5 | Dependências: |
6 | 6 | ||
7 | + | ||
7 | - Flask | 8 | - Flask |
9 | + # sudo pip install flask | ||
8 | - assetgen | 10 | - assetgen |
11 | + # sudo pip install assetgen | ||
9 | - node.js | 12 | - node.js |
10 | - - coffeescript | ||
11 | - - sass | 13 | + # sudo apt-get install python-software-properties python g++ make |
14 | + # sudo add-apt-repository ppa:chris-lea/node.js | ||
15 | + # sudo apt-get update | ||
16 | + # sudo apt-get install nodejs | ||
17 | + # sudo apt-get install npm | ||
18 | + - coffeescript | ||
19 | + # sudo npm install -g coffee-script | ||
20 | + - sass | ||
21 | + # sudo apt-get install ruby-full build-essential | ||
22 | + # sudo apt-get install rubygems | ||
23 | + # sudo gem install sass | ||
24 | + # sass -v | ||
25 | + - uglifyjs | ||
26 | + # sudo npm install -g uglify-js | ||
12 | 27 | ||
13 | Requisitos da Barra | 28 | Requisitos da Barra |
14 | 29 |
app/templates/exemplo.html
@@ -6,6 +6,6 @@ | @@ -6,6 +6,6 @@ | ||
6 | <div id="barra-brasil"><a href="http://brasil.gov.br" style="background:#7F7F7F; height: 20px; padding:4px 0 4px 10px; display: block; font-family:sans,sans-serif; text-decoration:none; color:white; ">Portal do Governo Brasileiro</a></div> | 6 | <div id="barra-brasil"><a href="http://brasil.gov.br" style="background:#7F7F7F; height: 20px; padding:4px 0 4px 10px; display: block; font-family:sans,sans-serif; text-decoration:none; color:white; ">Portal do Governo Brasileiro</a></div> |
7 | <h1>Barra Brasil</h1> | 7 | <h1>Barra Brasil</h1> |
8 | <p>Veja as <a href="http://epwg.governoeletronico.gov.br/barra/">instruções de como usar a barra</a> no e-PWG.</p> | 8 | <p>Veja as <a href="http://epwg.governoeletronico.gov.br/barra/">instruções de como usar a barra</a> no e-PWG.</p> |
9 | - <script src="barra.js" type="text/javascript"></script> | 9 | + <script src="copa2014/barra-brasil.js" type="text/javascript"></script> |
10 | </body> | 10 | </body> |
11 | </html> | 11 | </html> |
build.sh
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | echo "" | 2 | echo "" |
3 | -echo "" | ||
4 | -if test -d "recipes/$1" | 3 | +if [ -n "$1" ] && test -d "recipes/$1" |
5 | then | 4 | then |
6 | - sh recipes/$1/compile.sh | 5 | + cd recipes/$1 |
6 | + sh ./compile.sh | ||
7 | else | 7 | else |
8 | echo "Error. Profile $1 does not exist." | 8 | echo "Error. Profile $1 does not exist." |
9 | fi | 9 | fi |
recipes/copa2014/assets/barra-copa.scss
@@ -16,6 +16,9 @@ | @@ -16,6 +16,9 @@ | ||
16 | font-size: 13px; | 16 | font-size: 13px; |
17 | line-height: 32px; | 17 | line-height: 32px; |
18 | font-family: "Open Sans",Arial,Helvetica,sans-serif; | 18 | font-family: "Open Sans",Arial,Helvetica,sans-serif; |
19 | + border-bottom-style: solid; | ||
20 | + border-bottom-color: hsl(45, 70%, 49%); | ||
21 | + border-bottom-width: 1px; | ||
19 | a { | 22 | a { |
20 | text-decoration: none; | 23 | text-decoration: none; |
21 | } | 24 | } |
recipes/copa2014/compile.sh