Skip to content

Commit

Permalink
Change @imports
Browse files Browse the repository at this point in the history
  • Loading branch information
@soyjavi committed Feb 2, 2013
1 parent 5489dd0 commit 3a6e261
Show file tree
Hide file tree
Showing 19 changed files with 135 additions and 38 deletions.
69 changes: 67 additions & 2 deletions packages/lungo/theme.lungo.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,35 @@ a.theme:active {
color: #666;
-webkit-text-shadow: 0 1px 0 #fff;
-moz-text-shadow: 0 1px 0 #fff;
-ms-text-shadow: 0 1px 0 #fff;
-o-text-shadow: 0 1px 0 #fff;
text-shadow: 0 1px 0 #fff;
}
/* -------------------------- LAYOUT COLORS -------------------------- */
section {
background-color: #222;
}
section > header {
background-color: #0093d5;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25), inset 0 1px 0 #03b1ff, inset 0 -1px 0 #007db5;
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25), inset 0 1px 0 #03b1ff, inset 0 -1px 0 #007db5;
-ms-box-shadow: 0 1px 3px rgba(0,0,0,0.25), inset 0 1px 0 #03b1ff, inset 0 -1px 0 #007db5;
-o-box-shadow: 0 1px 3px rgba(0,0,0,0.25), inset 0 1px 0 #03b1ff, inset 0 -1px 0 #007db5;
box-shadow: 0 1px 3px rgba(0,0,0,0.25), inset 0 1px 0 #03b1ff, inset 0 -1px 0 #007db5;
color: #fff;
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
-ms-border-radius: 4px 4px 0 0;
-o-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}
section > footer,
section nav.groupbar {
background-color: #222;
-webkit-box-shadow: inset 0 3px 0 #1d1d1d;
-moz-box-shadow: inset 0 3px 0 #1d1d1d;
-ms-box-shadow: inset 0 3px 0 #1d1d1d;
-o-box-shadow: inset 0 3px 0 #1d1d1d;
box-shadow: inset 0 3px 0 #1d1d1d;
}
section > article,
Expand All @@ -62,11 +73,15 @@ section > [data-control="pull"].splash {
section.aside {
-webkit-box-shadow: -1px 0 2px rgba(0,0,0,0.2);
-moz-box-shadow: -1px 0 2px rgba(0,0,0,0.2);
-ms-box-shadow: -1px 0 2px rgba(0,0,0,0.2);
-o-box-shadow: -1px 0 2px rgba(0,0,0,0.2);
box-shadow: -1px 0 2px rgba(0,0,0,0.2);
}
section.aside.right {
-webkit-box-shadow: 1px 0 2px rgba(0,0,0,0.2);
-moz-box-shadow: 1px 0 2px rgba(0,0,0,0.2);
-ms-box-shadow: 1px 0 2px rgba(0,0,0,0.2);
-o-box-shadow: 1px 0 2px rgba(0,0,0,0.2);
box-shadow: 1px 0 2px rgba(0,0,0,0.2);
}
aside {
Expand All @@ -80,13 +95,17 @@ aside > footer {
aside > header {
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25), inset 0 1px 0 #222, inset 0 -1px 0 #141414;
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25), inset 0 1px 0 #222, inset 0 -1px 0 #141414;
-ms-box-shadow: 0 1px 3px rgba(0,0,0,0.25), inset 0 1px 0 #222, inset 0 -1px 0 #141414;
-o-box-shadow: 0 1px 3px rgba(0,0,0,0.25), inset 0 1px 0 #222, inset 0 -1px 0 #141414;
box-shadow: 0 1px 3px rgba(0,0,0,0.25), inset 0 1px 0 #222, inset 0 -1px 0 #141414;
}
/* -------------------------- NAVIGATION -------------------------- */
section > header > nav a:not(.button) {
color: #00608a;
-webkit-text-shadow: 0 1px 0 #20baff;
-moz-text-shadow: 0 1px 0 #20baff;
-ms-text-shadow: 0 1px 0 #20baff;
-o-text-shadow: 0 1px 0 #20baff;
text-shadow: 0 1px 0 #20baff;
}
section > header > nav a:not(.button):active {
Expand All @@ -95,6 +114,8 @@ section > header > nav a:not(.button):active {
section > nav.groupbar > a.active {
-webkit-box-shadow: inset 0 -3px 0 #0093d5;
-moz-box-shadow: inset 0 -3px 0 #0093d5;
-ms-box-shadow: inset 0 -3px 0 #0093d5;
-o-box-shadow: inset 0 -3px 0 #0093d5;
box-shadow: inset 0 -3px 0 #0093d5;
}
section > footer > nav > a,
Expand All @@ -108,13 +129,17 @@ nav.groupbar > a.active {
section > footer > nav > a {
-webkit-box-shadow: 1px 0 0 #1d1d1d;
-moz-box-shadow: 1px 0 0 #1d1d1d;
-ms-box-shadow: 1px 0 0 #1d1d1d;
-o-box-shadow: 1px 0 0 #1d1d1d;
box-shadow: 1px 0 0 #1d1d1d;
}
section > footer > nav > a.active {
color: #fff;
background-color: #1d1d1d;
-webkit-box-shadow: inset 0 3px 0 #0093d5;
-moz-box-shadow: inset 0 3px 0 #0093d5;
-ms-box-shadow: inset 0 3px 0 #0093d5;
-o-box-shadow: inset 0 3px 0 #0093d5;
box-shadow: inset 0 3px 0 #0093d5;
}
aside nav a {
Expand All @@ -133,16 +158,22 @@ section .list li:not(.anchor) {
section .list li.secondary {
-webkit-box-shadow: inset 4px 0px 0px #bfbfbf;
-moz-box-shadow: inset 4px 0px 0px #bfbfbf;
-ms-box-shadow: inset 4px 0px 0px #bfbfbf;
-o-box-shadow: inset 4px 0px 0px #bfbfbf;
box-shadow: inset 4px 0px 0px #bfbfbf;
}
section .list li.accept {
-webkit-box-shadow: inset 4px 0px 0px #3fb58e;
-moz-box-shadow: inset 4px 0px 0px #3fb58e;
-ms-box-shadow: inset 4px 0px 0px #3fb58e;
-o-box-shadow: inset 4px 0px 0px #3fb58e;
box-shadow: inset 4px 0px 0px #3fb58e;
}
section .list li.cancel {
-webkit-box-shadow: inset 4px 0px 0px #ee6557;
-moz-box-shadow: inset 4px 0px 0px #ee6557;
-ms-box-shadow: inset 4px 0px 0px #ee6557;
-o-box-shadow: inset 4px 0px 0px #ee6557;
box-shadow: inset 4px 0px 0px #ee6557;
}
section .list li,
Expand Down Expand Up @@ -216,13 +247,17 @@ aside .list li:not(:first-child) {
aside .list li:not(:last-child) {
border-bottom: solid 1px #141414;
}
aside .list li.active {
aside .list li.active,
aside .list li:active {
background: #0093d5;
border-color: transparent;
}
aside .list li.active strong,
aside .list li:active strong,
aside .list li.active small,
aside .list li.active .icon {
aside .list li:active small,
aside .list li.active .icon,
aside .list li:active .icon {
color: #fff;
}
aside .list li strong {
Expand All @@ -237,6 +272,8 @@ aside .list li .icon {
color: #fff;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-ms-border-radius: 2px;
-o-border-radius: 2px;
border-radius: 2px;
font-weight: 700 !important;
}
Expand All @@ -249,6 +286,8 @@ aside .list li .icon {
footer .tag:not(.icon) {
-webkit-box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
-moz-box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
-ms-box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
-o-box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.5);
}
/* -------------------------- NOTIFICATION -------------------------- */
Expand All @@ -263,17 +302,23 @@ footer .tag:not(.icon) {
color: #222;
-webkit-box-shadow: 0 0 8px #000;
-moz-box-shadow: 0 0 8px #000;
-ms-box-shadow: 0 0 8px #000;
-o-box-shadow: 0 0 8px #000;
box-shadow: 0 0 8px #000;
}
.notification .window:not(.growl) button,
.notification .window:not(.growl) .button {
background: #fff !important;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
-ms-box-shadow: none !important;
-o-box-shadow: none !important;
box-shadow: none !important;
color: #007db5 !important;
-webkit-border-radius: 0px !important;
-moz-border-radius: 0px !important;
-ms-border-radius: 0px !important;
-o-border-radius: 0px !important;
border-radius: 0px !important;
border: none !important;
margin-bottom: 1px;
Expand All @@ -292,9 +337,13 @@ header button {
background-color: #007db5;
-webkit-box-shadow: 0 1px 0 #03b1ff, inset 0 1px 0 #00608a;
-moz-box-shadow: 0 1px 0 #03b1ff, inset 0 1px 0 #00608a;
-ms-box-shadow: 0 1px 0 #03b1ff, inset 0 1px 0 #00608a;
-o-box-shadow: 0 1px 0 #03b1ff, inset 0 1px 0 #00608a;
box-shadow: 0 1px 0 #03b1ff, inset 0 1px 0 #00608a;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-ms-border-radius: 4px;
-o-border-radius: 4px;
border-radius: 4px;
}
header .button:active,
Expand All @@ -305,20 +354,28 @@ article .button,
article button {
-webkit-border-radius: FORM-border-radius;
-moz-border-radius: FORM-border-radius;
-ms-border-radius: FORM-border-radius;
-o-border-radius: FORM-border-radius;
border-radius: FORM-border-radius;
color: #fff;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-ms-border-radius: 2px;
-o-border-radius: 2px;
border-radius: 2px;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
-ms-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
-o-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
border: solid 1px rgba(0,0,0,0.1);
}
article .button:active,
article button:active {
-webkit-box-shadow: inset 0 0 128px rgba(0,0,0,0.25);
-moz-box-shadow: inset 0 0 128px rgba(0,0,0,0.25);
-ms-box-shadow: inset 0 0 128px rgba(0,0,0,0.25);
-o-box-shadow: inset 0 0 128px rgba(0,0,0,0.25);
box-shadow: inset 0 0 128px rgba(0,0,0,0.25);
border-color: none;
}
Expand Down Expand Up @@ -394,9 +451,13 @@ form textarea,
border: 1px solid #ddd;
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
-ms-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
-o-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
-ms-border-radius: 0px;
-o-border-radius: 0px;
border-radius: 0px;
}
form input[type="text"].error,
Expand Down Expand Up @@ -518,6 +579,8 @@ form input[type=range],
.form input[type=range] {
-webkit-box-shadow: 'inset 0 1px 2px rgba(0,0,0,0.1)';
-moz-box-shadow: 'inset 0 1px 2px rgba(0,0,0,0.1)';
-ms-box-shadow: 'inset 0 1px 2px rgba(0,0,0,0.1)';
-o-box-shadow: 'inset 0 1px 2px rgba(0,0,0,0.1)';
box-shadow: 'inset 0 1px 2px rgba(0,0,0,0.1)';
}
form input[type=range]:not(.checkbox),
Expand All @@ -542,6 +605,8 @@ form input[type=range]::-webkit-slider-thumb,
.form input[type=range]::-webkit-slider-thumb {
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
-ms-border-radius: 2px;
-o-border-radius: 2px;
border-radius: 2px;
background-color: #e7eae2;
border: solid 1px #d0d4c6;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ FONT_SIZE_SMALL = 0.9em
FONT_SIZE_BIG = 1.2em

TRANSITION_TIME = 350ms

// @import url("https://raw.github.com/soyjavi/CSSmethods/master/stylus/vendor.styl")
@import "vendor.styl"

3 changes: 1 addition & 2 deletions src/stylesheets/lungo.icon.brand.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"


@font-face
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.icon.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"

@font-face
font-family: 'lungojsicon'
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.layout.article.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"

article
position: absolute
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.layout.aside.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"

section.aside
&:not(.small)
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.layout.grid.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"

.row, .rows
width: 100%
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.layout.list.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"

.list
& li
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.layout.nav.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"

nav
&.groupbar, footer &
Expand Down
4 changes: 2 additions & 2 deletions src/stylesheets/lungo.layout.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"
@import url("https://raw.github.com/soyjavi/CSSmethods/master/stylus/vendor.styl")

body
&[data-position="absolute"] > section
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.widgets.button.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"


.button, button
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.widgets.form.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"

FORM_INPUT_HEIGHT = 30px
PROGRESS_HEIGHT = 15px
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.widgets.loading.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"

.loading
position: relative
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.widgets.notification.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"

OPACITY = rgba(0,0,0,0.75)
LOADING = 104px
Expand Down
3 changes: 1 addition & 2 deletions src/stylesheets/lungo.widgets.pull.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* @author Javier Jimenez Villar <[email protected]> || @soyjavi
*/

@import "import/constants.styl"
@import "import/vendor.styl"
@import "constants.styl"

section.show > [data-control="pull"]
position: absolute
Expand Down
Loading

0 comments on commit 3a6e261

Please sign in to comment.