share/views/public/plugins/semantic-ui/src/definitions/collections/grid.less in rbbt-rest-1.6.13 vs share/views/public/plugins/semantic-ui/src/definitions/collections/grid.less in rbbt-rest-1.6.14

- old
+ new

@@ -1,11 +1,11 @@ -/* - * # Semantic - Grid +/*! + * # Semantic UI - Grid * http://github.com/semantic-org/semantic-ui/ * * - * Copyright 2014 Contributor + * Copyright 2015 Contributors * Released under the MIT license * http://opensource.org/licenses/MIT * */ @@ -14,34 +14,24 @@ *******************************/ @type : 'collection'; @element : 'grid'; -@import '../../theme.config'; +@import (multiple) '../../theme.config'; - /******************************* Standard *******************************/ .ui.grid { - display: block; - text-align: left; - - font-size: 0em; + display: flex; + flex-direction: row; + flex-wrap: wrap; + align-items: stretch; padding: 0em; } -.ui.grid:after, -.ui.grid > .row:after { - content: ''; - display: block; - height: 0px; - clear: both; - visibility: hidden; -} - /*---------------------- Remove Gutters -----------------------*/ .ui.grid { @@ -58,13 +48,13 @@ margin-left: -(@veryRelaxedGutterWidth / 2); margin-right: -(@veryRelaxedGutterWidth / 2); } -/* Collapse Margins on Consecutive Grids */ +/* Preserve Rows Spacing on Consecutive Grids */ .ui.grid + .grid { - margin-top: (@rowSpacing / 2); + margin-top: @consecutiveGridDistance; } /*------------------- Columns --------------------*/ @@ -72,12 +62,10 @@ /* Standard 16 column */ .ui.grid > .column:not(.row), .ui.grid > .row > .column { position: relative; display: inline-block; - text-align: left; - font-size: 1rem; width: @oneWide; padding-left: (@gutterWidth / 2); padding-right: (@gutterWidth / 2); vertical-align: top; @@ -92,14 +80,17 @@ Rows --------------------*/ .ui.grid > .row { position: relative; - display: block; - width: auto !important; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: inherit; + align-items: stretch; + width: 100% !important; padding: 0rem; - font-size: 0rem; padding-top: (@rowSpacing / 2); padding-bottom: (@rowSpacing / 2); } /*------------------- @@ -127,15 +118,34 @@ /*------------------- Loose Coupling --------------------*/ +/* Collapse Margin on Consecutive Grid */ +.ui.grid > .ui.grid:first-child { + margin-top: 0em; +} +.ui.grid > .ui.grid:last-child { + margin-bottom: 0em; +} + +/* Segment inside Aligned Grid */ +.ui.grid .aligned.row > .column > .segment:not(.compact), +.ui.aligned.grid .column > .segment:not(.compact) { + width: 100%; +} + +/* Align Dividers with Gutter */ .ui.grid .row + .ui.divider { + flex-grow: 1; margin: (@rowSpacing / 2) (@gutterWidth / 2); } +.ui.grid .column + .ui.vertical.divider { + height: ~"calc(50% - "(@rowSpacing/2)~")"; +} -/* remove Border on last horizontal segment */ +/* Remove Border on Last Horizontal Segment */ .ui.grid > .row > .column:last-child > .horizontal.segment, .ui.grid > .column:last-child > .horizontal.segment { box-shadow: none; } @@ -146,52 +156,38 @@ /*----------------------- Page Grid -------------------------*/ -.ui.page.grid { - padding-left: @computerGutter; - padding-right: @computerGutter; - width: @computerWidth; -} - -/* Collapse Margin */ -.ui.grid > .ui.grid:first-child { - margin-top: 0em; -} -.ui.grid > .ui.grid:last-child { - margin-bottom: 0em; -} - -@media only screen and (max-width: (@largestMobileScreen)) { +@media only screen and (max-width: @largestMobileScreen) { .ui.page.grid { width: @mobileWidth; padding-left: @mobileGutter; padding-right: @mobileGutter; margin-left: 0em; margin-right: 0em; } } -@media only screen and (min-width: @tabletBreakpoint) { +@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) { .ui.page.grid { width: @tabletWidth; margin-left: @tabletMargin; margin-right: @tabletMargin; padding-left: @tabletGutter; padding-right: @tabletGutter; } } -@media only screen and (min-width: @computerBreakpoint) { +@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) { .ui.page.grid { width: @computerWidth; margin-left: @computerMargin; margin-right: @computerMargin; padding-left: @computerGutter; padding-right: @computerGutter; } } -@media only screen and (min-width: @largeMonitorBreakpoint) { +@media only screen and (min-width: @largeMonitorBreakpoint) and (max-width: @largestLargeMonitor) { .ui.page.grid { width: @largeMonitorWidth; margin-left: @largeMonitorMargin; margin-right: @largeMonitorMargin; padding-left: @largeMonitorGutter; @@ -219,71 +215,71 @@ width: @oneColumn; } /* Grid Based */ .ui[class*="one column"].grid > .row > .column, -.ui[class*="one column"].grid > .column { +.ui[class*="one column"].grid > .column:not(.row) { width: @oneColumn; } .ui[class*="two column"].grid > .row > .column, -.ui[class*="two column"].grid > .column { +.ui[class*="two column"].grid > .column:not(.row) { width: @twoColumn; } .ui[class*="three column"].grid > .row > .column, -.ui[class*="three column"].grid > .column { +.ui[class*="three column"].grid > .column:not(.row) { width: @threeColumn; } .ui[class*="four column"].grid > .row > .column, -.ui[class*="four column"].grid > .column { +.ui[class*="four column"].grid > .column:not(.row) { width: @fourColumn; } .ui[class*="five column"].grid > .row > .column, -.ui[class*="five column"].grid > .column { +.ui[class*="five column"].grid > .column:not(.row) { width: @fiveColumn; } .ui[class*="six column"].grid > .row > .column, -.ui[class*="six column"].grid > .column { +.ui[class*="six column"].grid > .column:not(.row) { width: @sixColumn; } .ui[class*="seven column"].grid > .row > .column, -.ui[class*="seven column"].grid > .column { +.ui[class*="seven column"].grid > .column:not(.row) { width: @sevenColumn; } .ui[class*="eight column"].grid > .row > .column, -.ui[class*="eight column"].grid > .column { +.ui[class*="eight column"].grid > .column:not(.row) { width: @eightColumn; } .ui[class*="nine column"].grid > .row > .column, -.ui[class*="nine column"].grid > .column { +.ui[class*="nine column"].grid > .column:not(.row) { width: @nineColumn; } .ui[class*="ten column"].grid > .row > .column, -.ui[class*="ten column"].grid > .column { +.ui[class*="ten column"].grid > .column:not(.row) { width: @tenColumn; } .ui[class*="eleven column"].grid > .row > .column, -.ui[class*="eleven column"].grid > .column { +.ui[class*="eleven column"].grid > .column:not(.row) { width: @elevenColumn; } .ui[class*="twelve column"].grid > .row > .column, -.ui[class*="twelve column"].grid > .column { +.ui[class*="twelve column"].grid > .column:not(.row) { width: @twelveColumn; } .ui[class*="thirteen column"].grid > .row > .column, -.ui[class*="thirteen column"].grid > .column { +.ui[class*="thirteen column"].grid > .column:not(.row) { width: @thirteenColumn; } .ui[class*="fourteen column"].grid > .row > .column, -.ui[class*="fourteen column"].grid > .column { +.ui[class*="fourteen column"].grid > .column:not(.row) { width: @fourteenColumn; } .ui[class*="fifteen column"].grid > .row > .column, -.ui[class*="fifteen column"].grid > .column { +.ui[class*="fifteen column"].grid > .column:not(.row) { width: @fifteenColumn; } .ui[class*="sixteen column"].grid > .row > .column, -.ui[class*="sixteen column"].grid > .column { +.ui[class*="sixteen column"].grid > .column:not(.row) { width: @sixteenColumn; } /* Row Based Overrides */ .ui.grid > [class*="one column"].row > .column { @@ -441,110 +437,111 @@ /*---------------------- Width per Device -----------------------*/ /* Mobile Sizing Combinations */ -.ui.grid > .row > [class*="one wide mobile"].column, -.ui.grid > .column.row > [class*="one wide mobile"].column, -.ui.grid > [class*="one wide mobile"].column, -.ui.column.grid > [class*="one wide mobile"].column { - width: @oneWide !important; +@media only screen and (min-width: @mobileBreakpoint) and (max-width: @largestMobileScreen) { + .ui.grid > .row > [class*="one wide mobile"].column, + .ui.grid > .column.row > [class*="one wide mobile"].column, + .ui.grid > [class*="one wide mobile"].column, + .ui.column.grid > [class*="one wide mobile"].column { + width: @oneWide !important; + } + .ui.grid > .row > [class*="two wide mobile"].column, + .ui.grid > .column.row > [class*="two wide mobile"].column, + .ui.grid > [class*="two wide mobile"].column, + .ui.column.grid > [class*="two wide mobile"].column { + width: @twoWide !important; + } + .ui.grid > .row > [class*="three wide mobile"].column, + .ui.grid > .column.row > [class*="three wide mobile"].column, + .ui.grid > [class*="three wide mobile"].column, + .ui.column.grid > [class*="three wide mobile"].column { + width: @threeWide !important; + } + .ui.grid > .row > [class*="four wide mobile"].column, + .ui.grid > .column.row > [class*="four wide mobile"].column, + .ui.grid > [class*="four wide mobile"].column, + .ui.column.grid > [class*="four wide mobile"].column { + width: @fourWide !important; + } + .ui.grid > .row > [class*="five wide mobile"].column, + .ui.grid > .column.row > [class*="five wide mobile"].column, + .ui.grid > [class*="five wide mobile"].column, + .ui.column.grid > [class*="five wide mobile"].column { + width: @fiveWide !important; + } + .ui.grid > .row > [class*="six wide mobile"].column, + .ui.grid > .column.row > [class*="six wide mobile"].column, + .ui.grid > [class*="six wide mobile"].column, + .ui.column.grid > [class*="six wide mobile"].column { + width: @sixWide !important; + } + .ui.grid > .row > [class*="seven wide mobile"].column, + .ui.grid > .column.row > [class*="seven wide mobile"].column, + .ui.grid > [class*="seven wide mobile"].column, + .ui.column.grid > [class*="seven wide mobile"].column { + width: @sevenWide !important; + } + .ui.grid > .row > [class*="eight wide mobile"].column, + .ui.grid > .column.row > [class*="eight wide mobile"].column, + .ui.grid > [class*="eight wide mobile"].column, + .ui.column.grid > [class*="eight wide mobile"].column { + width: @eightWide !important; + } + .ui.grid > .row > [class*="nine wide mobile"].column, + .ui.grid > .column.row > [class*="nine wide mobile"].column, + .ui.grid > [class*="nine wide mobile"].column, + .ui.column.grid > [class*="nine wide mobile"].column { + width: @nineWide !important; + } + .ui.grid > .row > [class*="ten wide mobile"].column, + .ui.grid > .column.row > [class*="ten wide mobile"].column, + .ui.grid > [class*="ten wide mobile"].column, + .ui.column.grid > [class*="ten wide mobile"].column { + width: @tenWide !important; + } + .ui.grid > .row > [class*="eleven wide mobile"].column, + .ui.grid > .column.row > [class*="eleven wide mobile"].column, + .ui.grid > [class*="eleven wide mobile"].column, + .ui.column.grid > [class*="eleven wide mobile"].column { + width: @elevenWide !important; + } + .ui.grid > .row > [class*="twelve wide mobile"].column, + .ui.grid > .column.row > [class*="twelve wide mobile"].column, + .ui.grid > [class*="twelve wide mobile"].column, + .ui.column.grid > [class*="twelve wide mobile"].column { + width: @twelveWide !important; + } + .ui.grid > .row > [class*="thirteen wide mobile"].column, + .ui.grid > .column.row > [class*="thirteen wide mobile"].column, + .ui.grid > [class*="thirteen wide mobile"].column, + .ui.column.grid > [class*="thirteen wide mobile"].column { + width: @thirteenWide !important; + } + .ui.grid > .row > [class*="fourteen wide mobile"].column, + .ui.grid > .column.row > [class*="fourteen wide mobile"].column, + .ui.grid > [class*="fourteen wide mobile"].column, + .ui.column.grid > [class*="fourteen wide mobile"].column { + width: @fourteenWide !important; + } + .ui.grid > .row > [class*="fifteen wide mobile"].column, + .ui.grid > .column.row > [class*="fifteen wide mobile"].column, + .ui.grid > [class*="fifteen wide mobile"].column, + .ui.column.grid > [class*="fifteen wide mobile"].column { + width: @fifteenWide !important; + } + .ui.grid > .row > [class*="sixteen wide mobile"].column, + .ui.grid > .column.row > [class*="sixteen wide mobile"].column, + .ui.grid > [class*="sixteen wide mobile"].column, + .ui.column.grid > [class*="sixteen wide mobile"].column { + width: @sixteenWide !important; + } } -.ui.grid > .row > [class*="two wide mobile"].column, -.ui.grid > .column.row > [class*="two wide mobile"].column, -.ui.grid > [class*="two wide mobile"].column, -.ui.column.grid > [class*="two wide mobile"].column { - width: @twoWide !important; -} -.ui.grid > .row > [class*="three wide mobile"].column, -.ui.grid > .column.row > [class*="three wide mobile"].column, -.ui.grid > [class*="three wide mobile"].column, -.ui.column.grid > [class*="three wide mobile"].column { - width: @threeWide !important; -} -.ui.grid > .row > [class*="four wide mobile"].column, -.ui.grid > .column.row > [class*="four wide mobile"].column, -.ui.grid > [class*="four wide mobile"].column, -.ui.column.grid > [class*="four wide mobile"].column { - width: @fourWide !important; -} -.ui.grid > .row > [class*="five wide mobile"].column, -.ui.grid > .column.row > [class*="five wide mobile"].column, -.ui.grid > [class*="five wide mobile"].column, -.ui.column.grid > [class*="five wide mobile"].column { - width: @fiveWide !important; -} -.ui.grid > .row > [class*="six wide mobile"].column, -.ui.grid > .column.row > [class*="six wide mobile"].column, -.ui.grid > [class*="six wide mobile"].column, -.ui.column.grid > [class*="six wide mobile"].column { - width: @sixWide !important; -} -.ui.grid > .row > [class*="seven wide mobile"].column, -.ui.grid > .column.row > [class*="seven wide mobile"].column, -.ui.grid > [class*="seven wide mobile"].column, -.ui.column.grid > [class*="seven wide mobile"].column { - width: @sevenWide !important; -} -.ui.grid > .row > [class*="eight wide mobile"].column, -.ui.grid > .column.row > [class*="eight wide mobile"].column, -.ui.grid > [class*="eight wide mobile"].column, -.ui.column.grid > [class*="eight wide mobile"].column { - width: @eightWide !important; -} -.ui.grid > .row > [class*="nine wide mobile"].column, -.ui.grid > .column.row > [class*="nine wide mobile"].column, -.ui.grid > [class*="nine wide mobile"].column, -.ui.column.grid > [class*="nine wide mobile"].column { - width: @nineWide !important; -} -.ui.grid > .row > [class*="ten wide mobile"].column, -.ui.grid > .column.row > [class*="ten wide mobile"].column, -.ui.grid > [class*="ten wide mobile"].column, -.ui.column.grid > [class*="ten wide mobile"].column { - width: @tenWide !important; -} -.ui.grid > .row > [class*="eleven wide mobile"].column, -.ui.grid > .column.row > [class*="eleven wide mobile"].column, -.ui.grid > [class*="eleven wide mobile"].column, -.ui.column.grid > [class*="eleven wide mobile"].column { - width: @elevenWide !important; -} -.ui.grid > .row > [class*="twelve wide mobile"].column, -.ui.grid > .column.row > [class*="twelve wide mobile"].column, -.ui.grid > [class*="twelve wide mobile"].column, -.ui.column.grid > [class*="twelve wide mobile"].column { - width: @twelveWide !important; -} -.ui.grid > .row > [class*="thirteen wide mobile"].column, -.ui.grid > .column.row > [class*="thirteen wide mobile"].column, -.ui.grid > [class*="thirteen wide mobile"].column, -.ui.column.grid > [class*="thirteen wide mobile"].column { - width: @thirteenWide !important; -} -.ui.grid > .row > [class*="fourteen wide mobile"].column, -.ui.grid > .column.row > [class*="fourteen wide mobile"].column, -.ui.grid > [class*="fourteen wide mobile"].column, -.ui.column.grid > [class*="fourteen wide mobile"].column { - width: @fourteenWide !important; -} -.ui.grid > .row > [class*="fifteen wide mobile"].column, -.ui.grid > .column.row > [class*="fifteen wide mobile"].column, -.ui.grid > [class*="fifteen wide mobile"].column, -.ui.column.grid > [class*="fifteen wide mobile"].column { - width: @fifteenWide !important; -} -.ui.grid > .row > [class*="sixteen wide mobile"].column, -.ui.grid > .column.row > [class*="sixteen wide mobile"].column, -.ui.grid > [class*="sixteen wide mobile"].column, -.ui.column.grid > [class*="sixteen wide mobile"].column { - width: @sixteenWide !important; -} - /* Tablet Sizing Combinations */ -@media only screen and (min-width: @tabletBreakpoint) { +@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) { .ui.grid > .row > [class*="one wide tablet"].column, .ui.grid > .column.row > [class*="one wide tablet"].column, .ui.grid > [class*="one wide tablet"].column, .ui.column.grid > [class*="one wide tablet"].column { width: @oneWide !important; @@ -740,11 +737,11 @@ width: @sixteenWide !important; } } /* Large Monitor Sizing Combinations */ -@media only screen and (min-width: @largeMonitorBreakpoint) { +@media only screen and (min-width: @largeMonitorBreakpoint) and (max-width: @largestLargeMonitor){ .ui.grid > .row > [class*="one wide large screen"].column, .ui.grid > .column.row > [class*="one wide large screen"].column, .ui.grid > [class*="one wide large screen"].column, .ui.column.grid > [class*="one wide large screen"].column { width: @oneWide !important; @@ -945,14 +942,15 @@ Centered -----------------------*/ .ui.centered.grid, .ui.centered.grid > .row, -.ui.grid .centered.row { +.ui.grid > .centered.row { text-align: center; + justify-content: center; } -.ui.centered.grid > .column:not(.aligned), +.ui.centered.grid > .column:not(.aligned):not(.row), .ui.centered.grid > .row > .column:not(.aligned), .ui.grid .centered.row > .column:not(.aligned) { text-align: left; } @@ -1013,14 +1011,14 @@ /*---------------------- "Floated" -----------------------*/ .ui.grid [class*="left floated"].column { - float: left; + margin-right: auto; } .ui.grid [class*="right floated"].column { - float: right; + margin-left: auto; } /*---------------------- Divided @@ -1040,12 +1038,10 @@ padding-bottom: 0rem; } .ui[class*="vertically divided"].grid > .row { margin-top: 0em; margin-bottom: 0em; - padding-top: 0em; - padding-bottom: 0em; } /* No divider on first column on row */ .ui.divided.grid:not([class*="vertically divided"]) > .column:first-child, .ui.divided.grid:not([class*="vertically divided"]) > .row > .column:first-child { @@ -1116,29 +1112,24 @@ /*---------------------- Celled -----------------------*/ .ui.celled.grid { - display: table; - table-layout: fixed; width: 100%; margin: @celledMargin; box-shadow: 0px 0px 0px @celledWidth @celledBorderColor; } .ui.celled.grid > .row, .ui.celled.grid > .column.row, .ui.celled.grid > .column.row:first-child { - display: table; - table-layout: fixed; width: 100% !important; margin: 0em; padding: 0em; box-shadow: 0px (-@celledWidth) 0px 0px @celledBorderColor; } .ui.celled.grid > .column:not(.row), .ui.celled.grid > .row > .column { - display: table-cell; box-shadow: (-@celledWidth) 0px 0px 0px @celledBorderColor; } .ui.celled.grid > .column:first-child, .ui.celled.grid > .row > .column:first-child { box-shadow: none; @@ -1161,55 +1152,105 @@ } /* Internally Celled */ .ui[class*="internally celled"].grid { box-shadow: none; + margin: 0em; } .ui[class*="internally celled"].grid > .row:first-child { box-shadow: none; } .ui[class*="internally celled"].grid > .row > .column:first-child { box-shadow: none; } /*---------------------- + Vertically Aligned +-----------------------*/ + +/* Top Aligned */ +.ui[class*="top aligned"].grid .column:not(.row), +.ui.grid > [class*="top aligned"].row > .column, +.ui.grid > [class*="top aligned"].column:not(.row), +.ui.grid > .row > [class*="top aligned"].column { + flex-direction: column; + vertical-align: top; + align-self: flex-start !important; +} + +/* Middle Aligned */ +.ui[class*="middle aligned"].grid .column:not(.row), +.ui.grid > [class*="middle aligned"].row > .column, +.ui.grid > [class*="middle aligned"].column:not(.row), +.ui.grid > .row > [class*="middle aligned"].column { + flex-direction: column; + vertical-align: middle; + align-self: center !important; +} + +/* Bottom Aligned */ +.ui[class*="bottom aligned"].grid .column:not(.row), +.ui.grid > [class*="bottom aligned"].row > .column, +.ui.grid > [class*="bottom aligned"].column:not(.row), +.ui.grid > .row > [class*="bottom aligned"].column { + flex-direction: column; + vertical-align: bottom; + align-self: flex-end !important; +} + +/* Stretched */ +.ui.stretched.grid > .row > .column, +.ui.stretched.grid > .column, +.ui.grid > .stretched.row > .column, +.ui.grid > .stretched.column:not(.row), +.ui.grid > .row > .stretched.column { + display: inline-flex !important; + align-self: stretch; + flex-direction: column; +} + +.ui.stretched.grid > .row > .column > *, +.ui.stretched.grid > .column > *, +.ui.grid > .stretched.row > .column > *, +.ui.grid > .stretched.column:not(.row) > *, +.ui.grid > .row > .stretched.column > * { + flex-grow: 1; +} + +/*---------------------- Horizontally Centered -----------------------*/ /* Left Aligned */ -.ui[class*="left aligned"].grid, -.ui[class*="left aligned"].grid > .row > .column, -.ui[class*="left aligned"].grid > .column, -.ui.grid [class*="left aligned"].column, -.ui.grid > [class*="left aligned"].aligned.row > .column { +.ui[class*="left aligned"].grid .column, +.ui.grid > [class*="left aligned"].row > .column, +.ui.grid > [class*="left aligned"].column.column, +.ui.grid > .row > [class*="left aligned"].column { text-align: left; + align-self: inherit; } -.ui.grid [class*="left aligned"].column{ - text-align: left !important; -} /* Center Aligned */ -.ui[class*="center aligned"].grid, -.ui[class*="center aligned"].grid > .row > .column, -.ui[class*="center aligned"].grid > .column, -.ui.grid > [class*="center aligned"].aligned.row > .column { +.ui[class*="center aligned"].grid .column, +.ui.grid > [class*="center aligned"].row > .column, +.ui.grid > [class*="center aligned"].column.column, +.ui.grid > .row > [class*="center aligned"].column { text-align: center; + align-self: inherit; } -.ui.grid [class*="center aligned"].column{ - text-align: center !important; +.ui[class*="center aligned"].grid { + justify-content: center; } /* Right Aligned */ -.ui[class*="right aligned"].grid, -.ui[class*="right aligned"].grid > .row > .column, -.ui[class*="right aligned"].grid > .column, -.ui.grid > [class*="right aligned"].aligned.row > .column { +.ui[class*="right aligned"].grid .column, +.ui.grid > [class*="right aligned"].row > .column, +.ui.grid > [class*="right aligned"].column.column, +.ui.grid > .row > [class*="right aligned"].column { text-align: right; + align-self: inherit; } -.ui.grid [class*="right aligned"].column{ - text-align: right !important; -} /* Justified */ .ui.justified.grid, .ui.justified.grid > .row > .column, .ui.justified.grid > .column, @@ -1222,203 +1263,150 @@ text-align: justify !important; hyphens: auto !important; } /*---------------------- - Vertically Aligned ------------------------*/ - -/* Top Aligned */ -.ui[class*="top aligned"].grid, -.ui[class*="top aligned"].grid > .row > .column, -.ui[class*="top aligned"].grid > .column, -.ui.grid [class*="top aligned"].column, -.ui.grid > [class*="top aligned"].aligned.row > .column { - vertical-align: top; -} -.ui.grid [class*="top aligned"].column{ - vertical-align: top !important; -} - -/* Middle Aligned */ -.ui[class*="center aligned"].grid, -.ui[class*="middle aligned"].grid > .row > .column, -.ui[class*="middle aligned"].grid > .column, -.ui.grid > [class*="middle aligned"].aligned.row > .column { - vertical-align: middle; -} -.ui.grid [class*="middle aligned"].column{ - vertical-align: middle !important; -} - -/* Bottom Aligned */ -.ui[class*="bottom aligned"].grid, -.ui[class*="bottom aligned"].grid > .row > .column, -.ui[class*="bottom aligned"].grid > .column, -.ui.grid > [class*="bottom aligned"].aligned.row > .column { - vertical-align: bottom; -} -.ui.grid [class*="bottom aligned"].column{ - vertical-align: bottom !important; -} - -/*---------------------- Colored -----------------------*/ -.ui.grid > .white.row, -.ui.grid .white.column { - background-color: @white !important; - color: @textColor; -} -.ui.grid > .row > .white.column { +.ui.grid > .row > .red.column, +.ui.grid > .row > .orange.column, +.ui.grid > .row > .yellow.column, +.ui.grid > .row > .olive.column, +.ui.grid > .row > .green.column, +.ui.grid > .row > .teal.column, +.ui.grid > .row > .blue.column, +.ui.grid > .row > .violet.column, +.ui.grid > .row > .purple.column, +.ui.grid > .row > .pink.column, +.ui.grid > .row > .brown.column, +.ui.grid > .row > .grey.column, +.ui.grid > .row > .black.column { margin-top: -(@rowSpacing / 2); margin-bottom: -(@rowSpacing / 2); padding-top: (@rowSpacing / 2); padding-bottom: (@rowSpacing / 2); } -.ui.grid > .black.row, -.ui.grid .black.column { - background-color: @black !important; +/* Red */ +.ui.grid > .red.row, +.ui.grid > .red.column, +.ui.grid > .row > .red.column { + background-color: @red !important; color: @white; } -.ui.grid > .row > .black.column { - margin-top: -(@rowSpacing / 2); - margin-bottom: -(@rowSpacing / 2); - padding-top: (@rowSpacing / 2); - padding-bottom: (@rowSpacing / 2); +/* Orange */ +.ui.grid > .orange.row, +.ui.grid > .orange.column, +.ui.grid > .row > .orange.column { + background-color: @orange !important; + color: @white; } - -.ui.grid > .blue.row, -.ui.grid .blue.column { - background-color: @blue !important; +/* Yellow */ +.ui.grid > .yellow.row, +.ui.grid > .yellow.column, +.ui.grid > .row > .yellow.column { + background-color: @yellow !important; color: @white; } -.ui.grid > .row > .blue.column { - margin-top: -(@rowSpacing / 2); - margin-bottom: -(@rowSpacing / 2); - padding-top: (@rowSpacing / 2); - padding-bottom: (@rowSpacing / 2); +/* Olive */ +.ui.grid > .olive.row, +.ui.grid > .olive.column, +.ui.grid > .row > .olive.column { + background-color: @olive !important; + color: @white; } - +/* Green */ .ui.grid > .green.row, -.ui.grid .green.column { +.ui.grid > .green.column, +.ui.grid > .row > .green.column { background-color: @green !important; color: @white; } -.ui.grid > .row > .green.column { - margin-top: -(@rowSpacing / 2); - margin-bottom: -(@rowSpacing / 2); - padding-top: (@rowSpacing / 2); - padding-bottom: (@rowSpacing / 2); +/* Teal */ +.ui.grid > .teal.row, +.ui.grid > .teal.column, +.ui.grid > .row > .teal.column { + background-color: @teal !important; + color: @white; } - -.ui.grid > .orange.row, -.ui.grid .orange.column { - background-color: @orange !important; +/* Blue */ +.ui.grid > .blue.row, +.ui.grid > .blue.column, +.ui.grid > .row > .blue.column { + background-color: @blue !important; color: @white; } -.ui.grid > .row > .orange.column { - margin-top: -(@rowSpacing / 2); - margin-bottom: -(@rowSpacing / 2); - padding-top: (@rowSpacing / 2); - padding-bottom: (@rowSpacing / 2); -} - -.ui.grid > .pink.row, -.ui.grid .pink.column { - background-color: @pink !important; +/* Violet */ +.ui.grid > .violet.row, +.ui.grid > .violet.column, +.ui.grid > .row > .violet.column { + background-color: @violet !important; color: @white; } -.ui.grid > .row > .pink.column { - margin-top: -(@rowSpacing / 2); - margin-bottom: -(@rowSpacing / 2); - padding-top: (@rowSpacing / 2); - padding-bottom: (@rowSpacing / 2); -} - +/* Purple */ .ui.grid > .purple.row, -.ui.grid .purple.column { +.ui.grid > .purple.column, +.ui.grid > .row > .purple.column { background-color: @purple !important; color: @white; } -.ui.grid > .row > .purple.column { - margin-top: -(@rowSpacing / 2); - margin-bottom: -(@rowSpacing / 2); - padding-top: (@rowSpacing / 2); - padding-bottom: (@rowSpacing / 2); +/* Pink */ +.ui.grid > .pink.row, +.ui.grid > .pink.column, +.ui.grid > .row > .pink.column { + background-color: @pink !important; + color: @white; } - -.ui.grid > .red.row, -.ui.grid .red.column { - background-color: @red !important; +/* Brown */ +.ui.grid > .brown.row, +.ui.grid > .brown.column, +.ui.grid > .row > .brown.column { + background-color: @brown !important; color: @white; } -.ui.grid > .row > .red.column { - margin-top: -(@rowSpacing / 2); - margin-bottom: -(@rowSpacing / 2); - padding-top: (@rowSpacing / 2); - padding-bottom: (@rowSpacing / 2); -} - -.ui.grid > .teal.row, -.ui.grid .teal.column { - background-color: @teal !important; +/* Grey */ +.ui.grid > .grey.row, +.ui.grid > .grey.column, +.ui.grid > .row > .grey.column { + background-color: @grey !important; color: @white; } -.ui.grid > .row > .teal.column { - margin-top: -(@rowSpacing / 2); - margin-bottom: -(@rowSpacing / 2); - padding-top: (@rowSpacing / 2); - padding-bottom: (@rowSpacing / 2); -} - -.ui.grid > .yellow.row, -.ui.grid .yellow.column { - background-color: @yellow !important; +/* Black */ +.ui.grid > .black.row, +.ui.grid > .black.column, +.ui.grid > .row > .black.column { + background-color: @black !important; color: @white; } -.ui.grid > .row > .yellow.column { - margin-top: -(@rowSpacing / 2); - margin-bottom: -(@rowSpacing / 2); - padding-top: (@rowSpacing / 2); - padding-bottom: (@rowSpacing / 2); -} - - /*---------------------- - Equal Height Columns + Equal Width -----------------------*/ -.ui[class*="equal height"].grid { - display: table; - table-layout: fixed; -} -.ui[class*="equal height"].grid > .row, -.ui[class*="equal height"].row { - display: table; - table-layout: fixed; - width: 100% !important; +.ui[class*="equal width"].grid > .column:not(.row), +.ui[class*="equal width"].grid > .row > .column, +.ui.grid > [class*="equal width"].row > .column { + display: inline-block; + flex-grow: 1; } -.ui[class*="equal height"].grid > .column, -.ui[class*="equal height"].grid > .row > .column, -.ui.grid > [class*="equal height"].row > .column { - display: table-cell; +.ui[class*="equal width"].grid > .wide.column, +.ui[class*="equal width"].grid > .row > .wide.column, +.ui.grid > [class*="equal width"].row > .wide.column { + flex-grow: 0; } /*------------------- Doubling --------------------*/ /* Tablet Only */ @media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) { .ui.doubling.grid { - width: 100% !important; + width: auto; } .ui.grid > .doubling.row, .ui.doubling.grid > .row { margin: 0em !important; padding: 0em !important; @@ -1426,219 +1414,248 @@ .ui.grid > .doubling.row > .column, .ui.doubling.grid > .row > .column { display: inline-block !important; padding-top: (@rowSpacing / 2) !important; padding-bottom: (@rowSpacing / 2) !important; + box-shadow: none !important; margin: 0em; } .ui[class*="two column"].doubling.grid > .row > .column, - .ui[class*="two column"].doubling.grid > .column, - .ui.grid > [class*="two column"].doubling.row > .column { + .ui[class*="two column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="two column"].doubling.row.row > .column { width: @oneColumn !important; } .ui[class*="three column"].doubling.grid > .row > .column, - .ui[class*="three column"].doubling.grid > .column, - .ui.grid > [class*="three column"].doubling.row > .column { + .ui[class*="three column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="three column"].doubling.row.row > .column { width: @twoColumn !important; } .ui[class*="four column"].doubling.grid > .row > .column, - .ui[class*="four column"].doubling.grid > .column, - .ui.grid > [class*="four column"].doubling.row > .column { + .ui[class*="four column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="four column"].doubling.row.row > .column { width: @twoColumn !important; } .ui[class*="five column"].doubling.grid > .row > .column, - .ui[class*="five column"].doubling.grid > .column, - .ui.grid > [class*="five column"].doubling.row > .column { + .ui[class*="five column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="five column"].doubling.row.row > .column { width: @threeColumn !important; } .ui[class*="six column"].doubling.grid > .row > .column, - .ui[class*="six column"].doubling.grid > .column, - .ui.grid > [class*="six column"].doubling.row > .column { + .ui[class*="six column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="six column"].doubling.row.row > .column { width: @threeColumn !important; } - .ui[class*="eight column"].doubling.grid > .row > .column, - .ui[class*="eight column"].doubling.grid > .column, - .ui.grid > [class*="eight column"].doubling.row > .column { + .ui[class*="seven column"].doubling.grid > .row > .column, + .ui[class*="seven column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="seven column"].doubling.row.row > .column { width: @threeColumn !important; } .ui[class*="eight column"].doubling.grid > .row > .column, - .ui[class*="eight column"].doubling.grid > .column, - .ui.grid > [class*="eight column"].doubling.row > .column { + .ui[class*="eight column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="eight column"].doubling.row.row > .column { width: @fourColumn !important; } .ui[class*="nine column"].doubling.grid > .row > .column, - .ui[class*="nine column"].doubling.grid > .column, - .ui.grid > [class*="nine column"].doubling.row > .column { + .ui[class*="nine column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="nine column"].doubling.row.row > .column { width: @fourColumn !important; } .ui[class*="ten column"].doubling.grid > .row > .column, - .ui[class*="ten column"].doubling.grid > .column, - .ui.grid > [class*="ten column"].doubling.row > .column { + .ui[class*="ten column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="ten column"].doubling.row.row > .column { width: @fiveColumn !important; } + .ui[class*="eleven column"].doubling.grid > .row > .column, + .ui[class*="eleven column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="eleven column"].doubling.row.row > .column { + width: @fiveColumn !important; + } .ui[class*="twelve column"].doubling.grid > .row > .column, - .ui[class*="twelve column"].doubling.grid > .column, - .ui.grid > [class*="twelve column"].doubling.row > .column { + .ui[class*="twelve column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="twelve column"].doubling.row.row > .column { width: @sixColumn !important; } + .ui[class*="thirteen column"].doubling.grid > .row > .column, + .ui[class*="thirteen column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="thirteen column"].doubling.row.row > .column { + width: @sixColumn !important; + } .ui[class*="fourteen column"].doubling.grid > .row > .column, - .ui[class*="fourteen column"].doubling.grid > .column, - .ui.grid > [class*="fourteen column"].doubling.row > .column { + .ui[class*="fourteen column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="fourteen column"].doubling.row.row > .column { width: @sevenColumn !important; } + .ui[class*="fifteen column"].doubling.grid > .row > .column, + .ui[class*="fifteen column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="fifteen column"].doubling.row.row > .column { + width: @sevenColumn !important; + } .ui[class*="sixteen column"].doubling.grid > .row > .column, - .ui[class*="sixteen column"].doubling.grid > .column, - .ui.grid > [class*="sixteen column"].doubling.row > .column { + .ui[class*="sixteen column"].doubling.grid > .column:not(.row), + .ui.grid > [class*="sixteen column"].doubling.row.row > .column { width: @eightColumn !important; } } /* Mobily Only */ @media only screen and (max-width: @largestMobileScreen) { - .ui.doubling.grid { - width: 100% !important; - } .ui.grid > .doubling.row, .ui.doubling.grid > .row { - display: block !important; margin: 0em !important; padding: 0em !important; } .ui.grid > .doubling.row > .column, .ui.doubling.grid > .row > .column { - display: inline-block !important; padding-top: (@rowSpacing / 2) !important; padding-bottom: (@rowSpacing / 2) !important; margin: 0em !important; + box-shadow: none !important; } .ui[class*="two column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="two column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="two column"].doubling:not(.stackable).row > .column { + .ui[class*="two column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="two column"].doubling:not(.stackable).row.row > .column { width: @oneColumn !important; } .ui[class*="three column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="three column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="three column"].doubling:not(.stackable).row > .column { + .ui[class*="three column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="three column"].doubling:not(.stackable).row.row > .column { width: @twoColumn !important; } .ui[class*="four column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="four column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="four column"].doubling:not(.stackable).row > .column { + .ui[class*="four column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="four column"].doubling:not(.stackable).row.row > .column { width: @twoColumn !important; } .ui[class*="five column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="five column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="five column"].doubling:not(.stackable).row > .column { + .ui[class*="five column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="five column"].doubling:not(.stackable).row.row > .column { width: @twoColumn !important; } .ui[class*="six column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="six column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="six column"].doubling:not(.stackable).row > .column { + .ui[class*="six column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="six column"].doubling:not(.stackable).row.row > .column { width: @twoColumn !important; } .ui[class*="seven column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="seven column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="seven column"].doubling:not(.stackable).row > .column { + .ui[class*="seven column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="seven column"].doubling:not(.stackable).row.row > .column { width: @twoColumn !important; } .ui[class*="eight column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="eight column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="eight column"].doubling:not(.stackable).row > .column { + .ui[class*="eight column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="eight column"].doubling:not(.stackable).row.row > .column { width: @twoColumn !important; } .ui[class*="nine column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="nine column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="nine column"].doubling:not(.stackable).row > .column { + .ui[class*="nine column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="nine column"].doubling:not(.stackable).row.row > .column { width: @threeColumn !important; } .ui[class*="ten column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="ten column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="ten column"].doubling:not(.stackable).row > .column { + .ui[class*="ten column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="ten column"].doubling:not(.stackable).row.row > .column { width: @threeColumn !important; } + .ui[class*="eleven column"].doubling:not(.stackable).grid > .row > .column, + .ui[class*="eleven column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="eleven column"].doubling:not(.stackable).row.row > .column { + width: @threeColumn !important; + } .ui[class*="twelve column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="twelve column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="twelve column"].doubling:not(.stackable).row > .column { + .ui[class*="twelve column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="twelve column"].doubling:not(.stackable).row.row > .column { width: @threeColumn !important; } + .ui[class*="thirteen column"].doubling:not(.stackable).grid > .row > .column, + .ui[class*="thirteen column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="thirteen column"].doubling:not(.stackable).row.row > .column { + width: @threeColumn !important; + } .ui[class*="fourteen column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="fourteen column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="fourteen column"].doubling:not(.stackable).row > .column { + .ui[class*="fourteen column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="fourteen column"].doubling:not(.stackable).row.row > .column { width: @fourColumn !important; } + .ui[class*="fifteen column"].doubling:not(.stackable).grid > .row > .column, + .ui[class*="fifteen column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="fifteen column"].doubling:not(.stackable).row.row > .column { + width: @fourColumn !important; + } .ui[class*="sixteen column"].doubling:not(.stackable).grid > .row > .column, - .ui[class*="sixteen column"].doubling:not(.stackable).grid > .column, - .ui.grid > [class*="sixteen column"].doubling:not(.stackable).row > .column { + .ui[class*="sixteen column"].doubling:not(.stackable).grid > .column:not(.row), + .ui.grid > [class*="sixteen column"].doubling:not(.stackable).row.row > .column { width: @fourColumn !important; } } /*------------------- Stackable --------------------*/ @media only screen and (max-width: @largestMobileScreen) { .ui.stackable.grid { - display: block !important; width: auto; - padding: 0em; - margin-top: 0em; - margin-bottom: 0em; } - :not(.column) > .ui.stackable.grid { - margin: 0em; - } .ui.stackable.grid > .row > .wide.column, .ui.stackable.grid > .wide.column, .ui.stackable.grid > .column.grid > .column, .ui.stackable.grid > .column.row > .column, .ui.stackable.grid > .row > .column, - .ui.stackable.grid > .column { - display: block !important; - width: auto !important; - - margin: (@stackableRowSpacing / 4) 0em !important; - padding: (@stackableRowSpacing / 4) (@stackableGutter / 2) 0em !important; - + .ui.stackable.grid > .column:not(.row), + .ui.grid > .stackable.stackable.row > .column { + width: 100% !important; + margin: 0em 0em !important; box-shadow: none !important; + padding: (@stackableRowSpacing / 2) (@stackableGutter / 2) !important; } + .ui.stackable.grid:not(.vertically) > .row { + margin: 0em; + padding: 0em; + } - .ui.stackable.celled.grid > .column, - .ui.stackable.celled.grid > .row > .column, - .ui.stackable.divided.grid > .column, - .ui.stackable.divided.grid > .row > .column { - border-top: @stackableMobileBorder; - box-shadow: none !important; - margin: (@stackableRowSpacing) 0em !important; - padding: (@stackableRowSpacing) (@stackableGutter / 2) 0em !important; + /* Coupling */ + .ui.container > .ui.stackable.grid > .column, + .ui.container > .ui.stackable.grid > .row > .column { + padding-left: 0em !important; + padding-right: 0em !important; } - .ui.inverted.stackable.celled.grid > .column, - .ui.inverted.stackable.celled.grid > .row > .column, - .ui.inverted.stackable.divided.grid > .column, - .ui.inverted.stackable.divided.grid > .row > .column { - border-top: @stackableInvertedMobileBorder; + + /* Don't pad inside segment or nested grid */ + .ui.grid .ui.stackable.grid, + .ui.segment:not(.vertical) .ui.stackable.page.grid { + margin-left: -(@stackableGutter / 2) !important; + margin-right: -(@stackableGutter / 2) !important; } - .ui.stackable.grid > .row:first-child > .column:first-child, - .ui.stackable.grid > .column:first-child { - margin-top: 0em !important; - padding-top: 0em !important; - } + + /* Divided Stackable */ .ui.stackable.divided.grid > .row:first-child > .column:first-child, .ui.stackable.celled.grid > .row:first-child > .column:first-child, - .ui.stackable.divided.grid > .column:first-child, - .ui.stackable.celled.grid > .column:first-child { + .ui.stackable.divided.grid > .column:not(.row):first-child, + .ui.stackable.celled.grid > .column:not(.row):first-child { border-top: none !important; } + .ui.inverted.stackable.celled.grid > .column:not(.row), + .ui.inverted.stackable.divided.grid > .column:not(.row), + .ui.inverted.stackable.celled.grid > .row > .column, + .ui.inverted.stackable.divided.grid > .row > .column { + border-top: @stackableInvertedMobileBorder; + } - .ui[class*="equal height"].stackable.page.grid { - display: block !important; - width: 100% !important; + .ui.stackable.celled.grid > .column:not(.row), + .ui.stackable.divided:not(.vertically).grid > .column:not(.row), + .ui.stackable.celled.grid > .row > .column, + .ui.stackable.divided:not(.vertically).grid > .row > .column { + border-top: @stackableMobileBorder; + box-shadow: none !important; + padding-top: @stackableRowSpacing !important; + padding-bottom: @stackableRowSpacing !important; } - /* Remove pointers from vertical menus */ - .ui.stackable.grid .vertical.pointing.menu .item:after { - display: none; + .ui.stackable.divided:not(.vertically).grid > .column:not(.row), + .ui.stackable.divided:not(.vertically).grid > .row > .column { + padding-left: 0em !important; + padding-right: 0em !important; } } /*---------------------- @@ -1647,11 +1664,11 @@ /* These include arbitrary class repetitions for forced specificity */ /* Mobile Only Hide */ -@media only screen and ( max-width: @largestMobileScreen ) { +@media only screen and (max-width: @largestMobileScreen) { .ui.tablet:not(.mobile).only.grid.grid.grid, .ui.grid.grid.grid > [class*="tablet only"].row:not(.mobile), .ui.grid.grid.grid > [class*="tablet only"].column:not(.mobile), .ui.grid.grid.grid > .row > [class*="tablet only"].column:not(.mobile) { display: none !important; @@ -1660,13 +1677,25 @@ .ui.grid.grid.grid > [class*="computer only"].row:not(.mobile), .ui.grid.grid.grid > [class*="computer only"].column:not(.mobile), .ui.grid.grid.grid > .row > [class*="computer only"].column:not(.mobile) { display: none !important; } + .ui[class*="large screen only"].grid.grid.grid:not(.mobile), + .ui.grid.grid.grid > [class*="large screen only"].row:not(.mobile), + .ui.grid.grid.grid > [class*="large screen only"].column:not(.mobile), + .ui.grid.grid.grid > .row > [class*="large screen only"].column:not(.mobile) { + display: none !important; + } + .ui[class*="widescreen"].grid.grid.grid:not(.mobile), + .ui.grid.grid.grid > [class*="large screen only"].row:not(.mobile), + .ui.grid.grid.grid > [class*="large screen only"].column:not(.mobile), + .ui.grid.grid.grid > .row > [class*="large screen only"].column:not(.mobile) { + display: none !important; + } } /* Tablet Only Hide */ -@media only screen and (min-width: @tabletBreakpoint ) and (max-width: @largestTabletScreen) { +@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) { .ui[class*="mobile only"].grid.grid.grid:not(.tablet), .ui.grid.grid.grid > [class*="mobile only"].row:not(.tablet), .ui.grid.grid.grid > [class*="mobile only"].column:not(.tablet), .ui.grid.grid.grid > .row > [class*="mobile only"].column:not(.tablet) { display: none !important; @@ -1675,14 +1704,26 @@ .ui.grid.grid.grid > [class*="computer only"].row:not(.tablet), .ui.grid.grid.grid > [class*="computer only"].column:not(.tablet), .ui.grid.grid.grid > .row > [class*="computer only"].column:not(.tablet) { display: none !important; } + .ui[class*="large screen only"].grid.grid.grid:not(.mobile), + .ui.grid.grid.grid > [class*="large screen only"].row:not(.mobile), + .ui.grid.grid.grid > [class*="large screen only"].column:not(.mobile), + .ui.grid.grid.grid > .row > [class*="large screen only"].column:not(.mobile) { + display: none !important; + } + .ui[class*="widescreen"].grid.grid.grid:not(.mobile), + .ui.grid.grid.grid > [class*="widescreen only"].row:not(.mobile), + .ui.grid.grid.grid > [class*="widescreen only"].column:not(.mobile), + .ui.grid.grid.grid > .row > [class*="widescreen only"].column:not(.mobile) { + display: none !important; + } } /* Computer Only Hide */ -@media only screen and ( min-width: (@computerBreakpoint) ) { +@media only screen and (min-width: @computerBreakpoint) and (max-width: @largestSmallMonitor) { .ui[class*="mobile only"].grid.grid.grid:not(.computer), .ui.grid.grid.grid > [class*="mobile only"].row:not(.computer), .ui.grid.grid.grid > [class*="mobile only"].column:not(.computer), .ui.grid.grid.grid > .row > [class*="mobile only"].column:not(.computer) { display: none !important; @@ -1691,8 +1732,59 @@ .ui.grid.grid.grid > [class*="tablet only"].row:not(.computer), .ui.grid.grid.grid > [class*="tablet only"].column:not(.computer), .ui.grid.grid.grid > .row > [class*="tablet only"].column:not(.computer) { display: none !important; } + .ui[class*="large screen only"].grid.grid.grid:not(.mobile), + .ui.grid.grid.grid > [class*="large screen only"].row:not(.mobile), + .ui.grid.grid.grid > [class*="large screen only"].column:not(.mobile), + .ui.grid.grid.grid > .row > [class*="large screen only"].column:not(.mobile) { + display: none !important; + } + .ui[class*="widescreen"].grid.grid.grid:not(.mobile), + .ui.grid.grid.grid > [class*="widescreen only"].row:not(.mobile), + .ui.grid.grid.grid > [class*="widescreen only"].column:not(.mobile), + .ui.grid.grid.grid > .row > [class*="widescreen only"].column:not(.mobile) { + display: none !important; + } } -.loadUIOverrides(); \ No newline at end of file +/* Large Screen Only Hide */ +@media only screen and (min-width: @largeMonitorBreakpoint) and (max-width: @largestLargeMonitor) { + .ui[class*="mobile only"].grid.grid.grid:not(.computer), + .ui.grid.grid.grid > [class*="mobile only"].row:not(.computer), + .ui.grid.grid.grid > [class*="mobile only"].column:not(.computer), + .ui.grid.grid.grid > .row > [class*="mobile only"].column:not(.computer) { + display: none !important; + } + .ui[class*="tablet only"].grid.grid.grid:not(.computer), + .ui.grid.grid.grid > [class*="tablet only"].row:not(.computer), + .ui.grid.grid.grid > [class*="tablet only"].column:not(.computer), + .ui.grid.grid.grid > .row > [class*="tablet only"].column:not(.computer) { + display: none !important; + } + .ui[class*="widescreen"].grid.grid.grid:not(.mobile), + .ui.grid.grid.grid > [class*="widescreen only"].row:not(.mobile), + .ui.grid.grid.grid > [class*="widescreen only"].column:not(.mobile), + .ui.grid.grid.grid > .row > [class*="widescreen only"].column:not(.mobile) { + display: none !important; + } +} + +/* Widescreen Only Hide */ +@media only screen and (min-width: @widescreenMonitorBreakpoint) { + .ui[class*="mobile only"].grid.grid.grid:not(.computer), + .ui.grid.grid.grid > [class*="mobile only"].row:not(.computer), + .ui.grid.grid.grid > [class*="mobile only"].column:not(.computer), + .ui.grid.grid.grid > .row > [class*="mobile only"].column:not(.computer) { + display: none !important; + } + .ui[class*="tablet only"].grid.grid.grid:not(.computer), + .ui.grid.grid.grid > [class*="tablet only"].row:not(.computer), + .ui.grid.grid.grid > [class*="tablet only"].column:not(.computer), + .ui.grid.grid.grid > .row > [class*="tablet only"].column:not(.computer) { + display: none !important; + } +} + + +.loadUIOverrides();