Skip to content

Commit 9681fa9

Browse files
hmoreauhmoreau
authored andcommitted
auto-compile less files
1 parent 827e989 commit 9681fa9

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

css/bootstrap.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2596,7 +2596,7 @@ input[type="button"].btn-block {
25962596
background-image: linear-gradient(to bottom,#08c,#0044cc);
25972597
background-repeat: repeat-x;
25982598
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0043cc', GradientType=0);
2599-
border-color: #0044cc #0044cc #002a80;
2599+
border-color: #0044cc #0044cc #002b80;
26002600
border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
26012601
*background-color: #0044cc;
26022602
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
@@ -2608,7 +2608,7 @@ input[type="button"].btn-block {
26082608
.btn-primary[disabled] {
26092609
color: #fff;
26102610
background-color: #0044cc;
2611-
*background-color: #003bb3;
2611+
*background-color: #003cb3;
26122612
}
26132613
.btn-primary:active,
26142614
.btn-primary.active {

index.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
<?php include 'templates/_layout.php'; ?>
1+
<?php
2+
require "less/lessc.inc.php";
3+
$less = new lessc;
4+
file_put_contents('css/bootstrap.css',$less->compileFile("less/bootstrap.less"));
5+
6+
include 'templates/_layout.php'; ?>

0 commit comments

Comments
 (0)