Browse Source

Update container element

pull/2034/head
jlukic 9 years ago
parent
commit
1e8f60cea3
2 changed files with 26 additions and 9 deletions
  1. 28
      src/definitions/elements/container.less
  2. 7
      src/themes/default/elements/container.variables

28
src/definitions/elements/container.less

@ -24,12 +24,12 @@
Container
*******************************/
/*-------------------
Animated
--------------------*/
.ui.container {
display: block;
margin: 0px auto !important;
width: @width;
max-width: @maxWidth;
}
@ -38,8 +38,26 @@
*******************************/
.ui.text.container {
display: block;
margin: 0px auto;
width: @textWidth;
}
.loadUIOverrides();
/*******************************
Variations
*******************************/
.ui[class*="left aligned"].container {
text-align: left;
}
.ui[class*="center aligned"].container {
text-align: center;
}
.ui[class*="right aligned"].container {
text-align: right;
}
}

7
src/themes/default/elements/container.variables

@ -6,8 +6,7 @@
Element
--------------------*/
@width: 1200px;
@maxWidth: 100%;
/*-------------------
Types
--------------------*/
@textWidth: 700px;
Loading…
Cancel
Save