Skip to content

Commit

Permalink
Add ability to use modifier '_width_available' without theme
Browse files Browse the repository at this point in the history
  • Loading branch information
sipayRT committed Mar 16, 2015
1 parent 5f129bf commit 7de9799
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 27 deletions.
4 changes: 4 additions & 0 deletions common.blocks/input/_width/input_width_available.styl
@@ -0,0 +1,4 @@
.input_width_available
{
width: 100%;
}
4 changes: 4 additions & 0 deletions common.blocks/select/_width/select_width_available.styl
@@ -0,0 +1,4 @@
.select_width_available
{
width: 100%;
}
6 changes: 6 additions & 0 deletions common.blocks/textarea/_width/textarea_width_available.styl
@@ -0,0 +1,6 @@
.textarea_width_available
{
width: 100%;

resize: vertical;
}
5 changes: 0 additions & 5 deletions design/common.blocks/input/_theme/input_theme_islands.styl
Expand Up @@ -250,11 +250,6 @@ ctx = '.input_theme_islands'
}
}

&.input_width_available
{
width: 100%;
}

&.input_type_password .input__control
{
text-overflow: clip;
Expand Down
5 changes: 0 additions & 5 deletions design/common.blocks/input/_theme/input_theme_simple.styl
Expand Up @@ -108,11 +108,6 @@
}
}

&.input_width_available
{
width: 100%;
}

&.input_focused
{
.input__box
Expand Down
5 changes: 0 additions & 5 deletions design/common.blocks/select/_theme/select_theme_islands.styl
Expand Up @@ -95,9 +95,4 @@
{
transform: rotate(-180deg);
}

&.select_width_available
{
width: 100%;
}
}
Expand Up @@ -76,11 +76,4 @@

padding-left: 11px;
}

&.textarea_width_available
{
width: 100%;

resize: vertical;
}
}
Expand Up @@ -30,9 +30,4 @@
outline: none;
}
}

&.textarea_width_available
{
width: 100%;
}
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7de9799

Please sign in to comment.