From 1e8f60cea3514ab384ecf44bc09c76da75bb48bc Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 9 Mar 2015 16:35:49 -0400 Subject: [PATCH] Update container element --- src/definitions/elements/container.less | 28 +++++++++++++++---- .../default/elements/container.variables | 7 ++--- 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/src/definitions/elements/container.less b/src/definitions/elements/container.less index 00c5797b8..97d2bb3af 100644 --- a/src/definitions/elements/container.less +++ b/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; +} + + +} \ No newline at end of file diff --git a/src/themes/default/elements/container.variables b/src/themes/default/elements/container.variables index dc3ad976d..dcf98446e 100644 --- a/src/themes/default/elements/container.variables +++ b/src/themes/default/elements/container.variables @@ -6,8 +6,7 @@ Element --------------------*/ +@width: 1200px; +@maxWidth: 100%; - -/*------------------- - Types ---------------------*/ +@textWidth: 700px;