less-rails-semantic_ui 2.0.7.0 → 2.1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons-local.ttf +0 -0
- data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons.svg +200 -0
- data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons.ttf +0 -0
- data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons.woff +0 -0
- data/assets/javascripts/semantic_ui/definitions/behaviors/api.js +26 -8
- data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +281 -74
- data/assets/javascripts/semantic_ui/definitions/globals/site.js +2 -2
- data/assets/javascripts/semantic_ui/definitions/modules/accordion.js +17 -13
- data/assets/javascripts/semantic_ui/definitions/modules/checkbox.js +124 -48
- data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +202 -112
- data/assets/javascripts/semantic_ui/definitions/modules/embed.js +1 -4
- data/assets/javascripts/semantic_ui/definitions/modules/modal.js +13 -13
- data/assets/javascripts/semantic_ui/definitions/modules/nag.js +11 -1
- data/assets/javascripts/semantic_ui/definitions/modules/popup.js +23 -10
- data/assets/javascripts/semantic_ui/definitions/modules/search.js +84 -55
- data/assets/javascripts/semantic_ui/definitions/modules/sticky.js +34 -32
- data/assets/javascripts/semantic_ui/definitions/modules/tab.js +10 -9
- data/assets/javascripts/semantic_ui/definitions/modules/transition.js +5 -5
- data/assets/stylesheets/semantic_ui/definitions/collections/breadcrumb.less +1 -1
- data/assets/stylesheets/semantic_ui/definitions/collections/form.less +90 -25
- data/assets/stylesheets/semantic_ui/definitions/collections/grid.less +146 -23
- data/assets/stylesheets/semantic_ui/definitions/collections/menu.less +138 -64
- data/assets/stylesheets/semantic_ui/definitions/collections/message.less +6 -6
- data/assets/stylesheets/semantic_ui/definitions/collections/table.less +19 -0
- data/assets/stylesheets/semantic_ui/definitions/elements/button.less +109 -31
- data/assets/stylesheets/semantic_ui/definitions/elements/container.less +25 -1
- data/assets/stylesheets/semantic_ui/definitions/elements/divider.less +4 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/header.less +0 -2
- data/assets/stylesheets/semantic_ui/definitions/elements/icon.less +22 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/input.less +59 -28
- data/assets/stylesheets/semantic_ui/definitions/elements/label.less +353 -235
- data/assets/stylesheets/semantic_ui/definitions/elements/list.less +16 -1
- data/assets/stylesheets/semantic_ui/definitions/elements/reveal.less +4 -11
- data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +2 -1
- data/assets/stylesheets/semantic_ui/definitions/elements/step.less +9 -5
- data/assets/stylesheets/semantic_ui/definitions/globals/site.less +3 -0
- data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +19 -1
- data/assets/stylesheets/semantic_ui/definitions/views/item.less +2 -2
- data/assets/stylesheets/semantic_ui/theme.less +10 -4
- data/assets/stylesheets/semantic_ui/themes/amazon/globals/site.variables +43 -0
- data/assets/stylesheets/semantic_ui/themes/bookish/elements/header.variables +5 -5
- data/assets/stylesheets/semantic_ui/themes/chubby/elements/header.variables +5 -5
- data/assets/stylesheets/semantic_ui/themes/default/collections/breadcrumb.variables +1 -1
- data/assets/stylesheets/semantic_ui/themes/default/collections/form.variables +15 -5
- data/assets/stylesheets/semantic_ui/themes/default/collections/grid.variables +5 -0
- data/assets/stylesheets/semantic_ui/themes/default/collections/menu.variables +29 -14
- data/assets/stylesheets/semantic_ui/themes/default/elements/button.variables +14 -4
- data/assets/stylesheets/semantic_ui/themes/default/elements/container.variables +14 -1
- data/assets/stylesheets/semantic_ui/themes/default/elements/icon.overrides +0 -12
- data/assets/stylesheets/semantic_ui/themes/default/elements/input.variables +5 -6
- data/assets/stylesheets/semantic_ui/themes/default/elements/label.variables +30 -6
- data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +11 -2
- data/assets/stylesheets/semantic_ui/themes/default/modules/checkbox.variables +4 -4
- data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables +13 -7
- data/assets/stylesheets/semantic_ui/themes/default/modules/popup.variables +1 -1
- data/assets/stylesheets/semantic_ui/themes/github/collections/breadcrumb.variables +11 -0
- data/assets/stylesheets/semantic_ui/themes/github/collections/grid.variables +2 -0
- data/assets/stylesheets/semantic_ui/themes/github/collections/table.variables +8 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/header.variables +9 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/icon.overrides +208 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/icon.variables +13 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/image.variables +5 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/input.overrides +32 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/input.variables +16 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/label.overrides +9 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/label.variables +4 -0
- data/assets/stylesheets/semantic_ui/themes/github/globals/site.variables +47 -0
- data/assets/stylesheets/semantic_ui/themes/github/modules/dropdown.overrides +53 -0
- data/assets/stylesheets/semantic_ui/themes/github/modules/dropdown.variables +35 -0
- data/assets/stylesheets/semantic_ui/themes/github/modules/popup.variables +12 -0
- data/assets/stylesheets/semantic_ui/themes/material/elements/button.overrides +0 -8
- data/assets/stylesheets/semantic_ui/themes/material/elements/button.variables +4 -2
- data/assets/stylesheets/semantic_ui/themes/twitter/elements/button.variables +1 -2
- data/lib/less/rails/semantic_ui/version.rb +1 -1
- metadata +22 -2
@@ -341,6 +341,10 @@
|
|
341
341
|
width: @sixteenColumn !important;
|
342
342
|
}
|
343
343
|
|
344
|
+
/* Celled Page */
|
345
|
+
.ui.celled.page.grid {
|
346
|
+
box-shadow: none;
|
347
|
+
}
|
344
348
|
|
345
349
|
/*-------------------
|
346
350
|
Column Width
|
@@ -1126,27 +1130,24 @@
|
|
1126
1130
|
.ui.celled.grid {
|
1127
1131
|
width: 100%;
|
1128
1132
|
margin: @celledMargin;
|
1129
|
-
box-shadow:
|
1133
|
+
box-shadow: @celledGridDivider;
|
1130
1134
|
}
|
1131
|
-
|
1132
|
-
.ui.celled.grid > .
|
1133
|
-
.ui.celled.grid > .column.row:first-child {
|
1135
|
+
|
1136
|
+
.ui.celled.grid > .row {
|
1134
1137
|
width: 100% !important;
|
1135
1138
|
margin: 0em;
|
1136
1139
|
padding: 0em;
|
1137
|
-
box-shadow:
|
1140
|
+
box-shadow: @celledRowDivider;
|
1138
1141
|
}
|
1139
1142
|
.ui.celled.grid > .column:not(.row),
|
1140
1143
|
.ui.celled.grid > .row > .column {
|
1141
|
-
box-shadow:
|
1144
|
+
box-shadow: @celledColumnDivider;
|
1142
1145
|
}
|
1146
|
+
|
1143
1147
|
.ui.celled.grid > .column:first-child,
|
1144
1148
|
.ui.celled.grid > .row > .column:first-child {
|
1145
1149
|
box-shadow: none;
|
1146
1150
|
}
|
1147
|
-
.ui.celled.page.grid {
|
1148
|
-
box-shadow: none;
|
1149
|
-
}
|
1150
1151
|
|
1151
1152
|
.ui.celled.grid > .column:not(.row),
|
1152
1153
|
.ui.celled.grid > .row > .column {
|
@@ -1178,7 +1179,8 @@
|
|
1178
1179
|
-----------------------*/
|
1179
1180
|
|
1180
1181
|
/* Top Aligned */
|
1181
|
-
.ui[class*="top aligned"].grid .column:not(.row),
|
1182
|
+
.ui[class*="top aligned"].grid > .column:not(.row),
|
1183
|
+
.ui[class*="top aligned"].grid > .row > .column,
|
1182
1184
|
.ui.grid > [class*="top aligned"].row > .column,
|
1183
1185
|
.ui.grid > [class*="top aligned"].column:not(.row),
|
1184
1186
|
.ui.grid > .row > [class*="top aligned"].column {
|
@@ -1188,7 +1190,8 @@
|
|
1188
1190
|
}
|
1189
1191
|
|
1190
1192
|
/* Middle Aligned */
|
1191
|
-
.ui[class*="middle aligned"].grid .column:not(.row),
|
1193
|
+
.ui[class*="middle aligned"].grid > .column:not(.row),
|
1194
|
+
.ui[class*="middle aligned"].grid > .row > .column,
|
1192
1195
|
.ui.grid > [class*="middle aligned"].row > .column,
|
1193
1196
|
.ui.grid > [class*="middle aligned"].column:not(.row),
|
1194
1197
|
.ui.grid > .row > [class*="middle aligned"].column {
|
@@ -1198,7 +1201,8 @@
|
|
1198
1201
|
}
|
1199
1202
|
|
1200
1203
|
/* Bottom Aligned */
|
1201
|
-
.ui[class*="bottom aligned"].grid .column:not(.row),
|
1204
|
+
.ui[class*="bottom aligned"].grid > .column:not(.row),
|
1205
|
+
.ui[class*="bottom aligned"].grid > .row > .column,
|
1202
1206
|
.ui.grid > [class*="bottom aligned"].row > .column,
|
1203
1207
|
.ui.grid > [class*="bottom aligned"].column:not(.row),
|
1204
1208
|
.ui.grid > .row > [class*="bottom aligned"].column {
|
@@ -1231,7 +1235,8 @@
|
|
1231
1235
|
-----------------------*/
|
1232
1236
|
|
1233
1237
|
/* Left Aligned */
|
1234
|
-
.ui[class*="left aligned"].grid .column,
|
1238
|
+
.ui[class*="left aligned"].grid > .column,
|
1239
|
+
.ui[class*="left aligned"].grid > .row > .column,
|
1235
1240
|
.ui.grid > [class*="left aligned"].row > .column,
|
1236
1241
|
.ui.grid > [class*="left aligned"].column.column,
|
1237
1242
|
.ui.grid > .row > [class*="left aligned"].column {
|
@@ -1240,7 +1245,8 @@
|
|
1240
1245
|
}
|
1241
1246
|
|
1242
1247
|
/* Center Aligned */
|
1243
|
-
.ui[class*="center aligned"].grid .column,
|
1248
|
+
.ui[class*="center aligned"].grid > .column,
|
1249
|
+
.ui[class*="center aligned"].grid > .row > .column,
|
1244
1250
|
.ui.grid > [class*="center aligned"].row > .column,
|
1245
1251
|
.ui.grid > [class*="center aligned"].column.column,
|
1246
1252
|
.ui.grid > .row > [class*="center aligned"].column {
|
@@ -1252,7 +1258,8 @@
|
|
1252
1258
|
}
|
1253
1259
|
|
1254
1260
|
/* Right Aligned */
|
1255
|
-
.ui[class*="right aligned"].grid .column,
|
1261
|
+
.ui[class*="right aligned"].grid > .column,
|
1262
|
+
.ui[class*="right aligned"].grid > .row > .column,
|
1256
1263
|
.ui.grid > [class*="right aligned"].row > .column,
|
1257
1264
|
.ui.grid > [class*="right aligned"].column.column,
|
1258
1265
|
.ui.grid > .row > [class*="right aligned"].column {
|
@@ -1261,18 +1268,14 @@
|
|
1261
1268
|
}
|
1262
1269
|
|
1263
1270
|
/* Justified */
|
1264
|
-
.ui.justified.grid,
|
1265
|
-
.ui.justified.grid > .row > .column,
|
1266
1271
|
.ui.justified.grid > .column,
|
1267
|
-
.ui.grid .
|
1268
|
-
.ui.grid > .justified.row > .column
|
1272
|
+
.ui.justified.grid > .row > .column,
|
1273
|
+
.ui.grid > .justified.row > .column,
|
1274
|
+
.ui.grid > .justified.column.column,
|
1275
|
+
.ui.grid > .row > .justified.column {
|
1269
1276
|
text-align: justify;
|
1270
1277
|
hyphens: auto;
|
1271
1278
|
}
|
1272
|
-
.ui.grid .justified.column {
|
1273
|
-
text-align: justify !important;
|
1274
|
-
hyphens: auto !important;
|
1275
|
-
}
|
1276
1279
|
|
1277
1280
|
/*----------------------
|
1278
1281
|
Colored
|
@@ -1407,6 +1410,121 @@
|
|
1407
1410
|
}
|
1408
1411
|
|
1409
1412
|
|
1413
|
+
/*----------------------
|
1414
|
+
Reverse
|
1415
|
+
-----------------------*/
|
1416
|
+
|
1417
|
+
|
1418
|
+
/* Mobile */
|
1419
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
1420
|
+
.ui[class*="mobile reversed"].grid,
|
1421
|
+
.ui[class*="mobile reversed"].grid > .row,
|
1422
|
+
.ui.grid > [class*="mobile reversed"].row {
|
1423
|
+
flex-direction: row-reverse;
|
1424
|
+
}
|
1425
|
+
.ui[class*="mobile vertically reversed"].grid,
|
1426
|
+
.ui.stackable[class*="mobile reversed"] {
|
1427
|
+
flex-direction: column-reverse;
|
1428
|
+
}
|
1429
|
+
|
1430
|
+
/* Divided Reversed */
|
1431
|
+
.ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .column:first-child,
|
1432
|
+
.ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
|
1433
|
+
box-shadow: @dividedBorder;
|
1434
|
+
}
|
1435
|
+
.ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .column:last-child,
|
1436
|
+
.ui[class*="mobile reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child {
|
1437
|
+
box-shadow: none;
|
1438
|
+
}
|
1439
|
+
/* Vertically Divided Reversed */
|
1440
|
+
.ui.grid[class*="vertically divided"][class*="mobile vertically reversed"] > .row:first-child:before {
|
1441
|
+
box-shadow: @verticallyDividedBorder;
|
1442
|
+
}
|
1443
|
+
.ui.grid[class*="vertically divided"][class*="mobile vertically reversed"] > .row:last-child:before {
|
1444
|
+
box-shadow: none;
|
1445
|
+
}
|
1446
|
+
/* Celled Reversed */
|
1447
|
+
.ui[class*="mobile reversed"].celled.grid > .row > .column:first-child {
|
1448
|
+
box-shadow: @celledColumnDivider;
|
1449
|
+
}
|
1450
|
+
.ui[class*="mobile reversed"].celled.grid > .row > .column:last-child {
|
1451
|
+
box-shadow: none;
|
1452
|
+
}
|
1453
|
+
}
|
1454
|
+
|
1455
|
+
/* Tablet */
|
1456
|
+
@media only screen and (min-width: @tabletBreakpoint) and (max-width: @largestTabletScreen) {
|
1457
|
+
.ui[class*="tablet reversed"].grid,
|
1458
|
+
.ui[class*="tablet reversed"].grid > .row,
|
1459
|
+
.ui.grid > [class*="tablet reversed"].row {
|
1460
|
+
flex-direction: row-reverse;
|
1461
|
+
}
|
1462
|
+
.ui[class*="tablet vertically reversed"].grid {
|
1463
|
+
flex-direction: column-reverse;
|
1464
|
+
}
|
1465
|
+
|
1466
|
+
/* Divided Reversed */
|
1467
|
+
.ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .column:first-child,
|
1468
|
+
.ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
|
1469
|
+
box-shadow: @dividedBorder;
|
1470
|
+
}
|
1471
|
+
.ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .column:last-child,
|
1472
|
+
.ui[class*="tablet reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child {
|
1473
|
+
box-shadow: none;
|
1474
|
+
}
|
1475
|
+
/* Vertically Divided Reversed */
|
1476
|
+
.ui.grid[class*="vertically divided"][class*="tablet vertically reversed"] > .row:first-child:before {
|
1477
|
+
box-shadow: @verticallyDividedBorder;
|
1478
|
+
}
|
1479
|
+
.ui.grid[class*="vertically divided"][class*="tablet vertically reversed"] > .row:last-child:before {
|
1480
|
+
box-shadow: none;
|
1481
|
+
}
|
1482
|
+
/* Celled Reversed */
|
1483
|
+
.ui[class*="tablet reversed"].celled.grid > .row > .column:first-child {
|
1484
|
+
box-shadow: @celledColumnDivider;
|
1485
|
+
}
|
1486
|
+
.ui[class*="tablet reversed"].celled.grid > .row > .column:last-child {
|
1487
|
+
box-shadow: none;
|
1488
|
+
}
|
1489
|
+
}
|
1490
|
+
|
1491
|
+
/* Computer */
|
1492
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
1493
|
+
.ui[class*="computer reversed"].grid,
|
1494
|
+
.ui[class*="computer reversed"].grid > .row,
|
1495
|
+
.ui.grid > [class*="computer reversed"].row {
|
1496
|
+
flex-direction: row-reverse;
|
1497
|
+
}
|
1498
|
+
.ui[class*="computer vertically reversed"].grid {
|
1499
|
+
flex-direction: column-reverse;
|
1500
|
+
}
|
1501
|
+
|
1502
|
+
/* Divided Reversed */
|
1503
|
+
.ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .column:first-child,
|
1504
|
+
.ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:first-child {
|
1505
|
+
box-shadow: @dividedBorder;
|
1506
|
+
}
|
1507
|
+
.ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .column:last-child,
|
1508
|
+
.ui[class*="computer reversed"].divided.grid:not([class*="vertically divided"]) > .row > .column:last-child {
|
1509
|
+
box-shadow: none;
|
1510
|
+
}
|
1511
|
+
/* Vertically Divided Reversed */
|
1512
|
+
.ui.grid[class*="vertically divided"][class*="computer vertically reversed"] > .row:first-child:before {
|
1513
|
+
box-shadow: @verticallyDividedBorder;
|
1514
|
+
}
|
1515
|
+
.ui.grid[class*="vertically divided"][class*="computer vertically reversed"] > .row:last-child:before {
|
1516
|
+
box-shadow: none;
|
1517
|
+
}
|
1518
|
+
/* Celled Reversed */
|
1519
|
+
.ui[class*="computer reversed"].celled.grid > .row > .column:first-child {
|
1520
|
+
box-shadow: @celledColumnDivider;
|
1521
|
+
}
|
1522
|
+
.ui[class*="computer reversed"].celled.grid > .row > .column:last-child {
|
1523
|
+
box-shadow: none;
|
1524
|
+
}
|
1525
|
+
}
|
1526
|
+
|
1527
|
+
|
1410
1528
|
/*-------------------
|
1411
1529
|
Doubling
|
1412
1530
|
--------------------*/
|
@@ -1604,6 +1722,8 @@
|
|
1604
1722
|
@media only screen and (max-width: @largestMobileScreen) {
|
1605
1723
|
.ui.stackable.grid {
|
1606
1724
|
width: auto;
|
1725
|
+
margin-left: 0em !important;
|
1726
|
+
margin-right: 0em !important;
|
1607
1727
|
}
|
1608
1728
|
.ui.stackable.grid > .row > .wide.column,
|
1609
1729
|
.ui.stackable.grid > .wide.column,
|
@@ -1660,6 +1780,9 @@
|
|
1660
1780
|
padding-bottom: @stackableRowSpacing !important;
|
1661
1781
|
}
|
1662
1782
|
|
1783
|
+
.ui.stackable.celled.grid > .row {
|
1784
|
+
box-shadow: none !important;
|
1785
|
+
}
|
1663
1786
|
.ui.stackable.divided:not(.vertically).grid > .column:not(.row),
|
1664
1787
|
.ui.stackable.divided:not(.vertically).grid > .row > .column {
|
1665
1788
|
padding-left: 0em !important;
|
@@ -92,6 +92,7 @@
|
|
92
92
|
line-height: 1;
|
93
93
|
text-decoration: none;
|
94
94
|
-webkit-tap-highlight-color: transparent;
|
95
|
+
flex: 0 0 auto;
|
95
96
|
user-select: none;
|
96
97
|
|
97
98
|
background: @itemBackground;
|
@@ -186,12 +187,6 @@
|
|
186
187
|
padding-top: @inputVerticalPadding;
|
187
188
|
padding-bottom: @inputVerticalPadding;
|
188
189
|
}
|
189
|
-
.ui.menu .item > .input .button,
|
190
|
-
.ui.menu .item > .input .label {
|
191
|
-
padding-top: @inputVerticalPadding;
|
192
|
-
padding-bottom: @inputVerticalPadding;
|
193
|
-
}
|
194
|
-
|
195
190
|
|
196
191
|
|
197
192
|
/*--------------
|
@@ -244,12 +239,14 @@
|
|
244
239
|
background: @dropdownBackground;
|
245
240
|
margin: @dropdownMenuDistance 0px 0px;
|
246
241
|
box-shadow: @dropdownMenuBoxShadow;
|
242
|
+
flex-direction: column !important;
|
247
243
|
}
|
248
244
|
|
249
245
|
|
250
246
|
/* Menu Items */
|
251
247
|
.ui.menu .ui.dropdown .menu > .item {
|
252
248
|
margin: 0;
|
249
|
+
text-align: left;
|
253
250
|
font-size: @dropdownItemFontSize !important;
|
254
251
|
padding: @dropdownItemPadding !important;
|
255
252
|
background: @dropdownItemBackground !important;
|
@@ -346,9 +343,6 @@
|
|
346
343
|
margin-bottom: @labelOffset;
|
347
344
|
padding: @labelVerticalPadding @labelHorizontalPadding;
|
348
345
|
}
|
349
|
-
.ui.menu .item > .label:before {
|
350
|
-
background-color: @labelBackground;
|
351
|
-
}
|
352
346
|
.ui.menu .item > .floating.label {
|
353
347
|
padding: @labelVerticalPadding @labelHorizontalPadding;
|
354
348
|
}
|
@@ -393,7 +387,7 @@
|
|
393
387
|
|
394
388
|
@media only screen and (max-width: @largestMobileScreen) {
|
395
389
|
.ui.menu > .ui.container {
|
396
|
-
width: 100
|
390
|
+
width: 100% !important;
|
397
391
|
margin-left: 0em !important;
|
398
392
|
margin-right: 0em !important;
|
399
393
|
}
|
@@ -432,7 +426,7 @@
|
|
432
426
|
.ui.menu .link.item:active,
|
433
427
|
.ui.menu a.item:active {
|
434
428
|
background: @pressedItemBackground;
|
435
|
-
color: @
|
429
|
+
color: @pressedItemTextColor;
|
436
430
|
}
|
437
431
|
|
438
432
|
|
@@ -587,13 +581,13 @@ Floated Menu / Item
|
|
587
581
|
box-shadow: @verticalActiveBoxShadow;
|
588
582
|
}
|
589
583
|
.ui.vertical.menu > .active.item:first-child {
|
590
|
-
border-radius:
|
584
|
+
border-radius: @borderRadius @borderRadius 0em 0em;
|
591
585
|
}
|
592
586
|
.ui.vertical.menu > .active.item:last-child {
|
593
|
-
border-radius: 0em 0em @borderRadius
|
587
|
+
border-radius: 0em 0em @borderRadius @borderRadius;
|
594
588
|
}
|
595
589
|
.ui.vertical.menu > .active.item:only-child {
|
596
|
-
border-radius:
|
590
|
+
border-radius: @borderRadius;
|
597
591
|
}
|
598
592
|
.ui.vertical.menu .active.item .menu .active.item {
|
599
593
|
border-left: none;
|
@@ -610,26 +604,24 @@ Floated Menu / Item
|
|
610
604
|
---------------*/
|
611
605
|
|
612
606
|
.ui.tabular.menu {
|
613
|
-
background-color: transparent;
|
614
607
|
border-radius: 0em;
|
615
608
|
box-shadow: none !important;
|
616
609
|
border: none;
|
610
|
+
background: @tabularBackground;
|
617
611
|
border-bottom: @tabularBorderWidth solid @tabularBorderColor;
|
618
612
|
}
|
619
613
|
.ui.tabular.fluid.menu {
|
620
614
|
width: @tabularFluidWidth !important;
|
621
615
|
}
|
622
616
|
.ui.tabular.menu .item {
|
623
|
-
background
|
617
|
+
background: transparent;
|
618
|
+
border-bottom: none;
|
624
619
|
|
625
620
|
border-left: @tabularBorderWidth solid transparent;
|
626
621
|
border-right: @tabularBorderWidth solid transparent;
|
627
622
|
border-top: @tabularOppositeBorderWidth solid transparent;
|
628
|
-
|
629
|
-
|
630
|
-
padding-left: @tabularHorizontalPadding;
|
631
|
-
padding-right: @tabularHorizontalPadding;
|
632
|
-
color: @tabularMenuTextColor;
|
623
|
+
padding: @tabularVerticalPadding @tabularHorizontalPadding;
|
624
|
+
color: @tabularTextColor;
|
633
625
|
}
|
634
626
|
.ui.tabular.menu .item:before {
|
635
627
|
display: none;
|
@@ -638,12 +630,12 @@ Floated Menu / Item
|
|
638
630
|
/* Hover */
|
639
631
|
.ui.tabular.menu .item:hover {
|
640
632
|
background-color: transparent;
|
641
|
-
color: @
|
633
|
+
color: @tabularHoveredTextColor;
|
642
634
|
}
|
643
635
|
|
644
636
|
/* Active */
|
645
637
|
.ui.tabular.menu .active.item {
|
646
|
-
background
|
638
|
+
background: @tabularActiveBackground;
|
647
639
|
color: @tabularActiveColor;
|
648
640
|
border-top-width: @tabularBorderWidth;
|
649
641
|
border-color: @tabularBorderColor;
|
@@ -654,16 +646,43 @@ Floated Menu / Item
|
|
654
646
|
}
|
655
647
|
|
656
648
|
/* Coupling with segment for attachment */
|
657
|
-
.ui.tabular.menu + .bottom.attached.segment
|
658
|
-
.ui.tabular.menu ~ .bottom.attached.segment + .bottom.attached.segment {
|
649
|
+
.ui.tabular.menu + .bottom.attached.segment {
|
659
650
|
border-top: none;
|
660
651
|
margin: 0px;
|
661
652
|
width: 100%;
|
662
653
|
}
|
654
|
+
.top.attached.segment + .ui.bottom.tabular.menu {
|
655
|
+
position: relative;
|
656
|
+
width: @tabularFluidWidth;
|
657
|
+
left: -@tabularFluidOffset;
|
658
|
+
}
|
659
|
+
|
660
|
+
/* Bottom Vertical Tabular */
|
661
|
+
.ui.bottom.tabular.menu {
|
662
|
+
background: @tabularBackground;
|
663
|
+
border-radius: 0em;
|
664
|
+
box-shadow: none !important;
|
665
|
+
border-bottom: none;
|
666
|
+
border-top: @tabularBorderWidth solid @tabularBorderColor;
|
667
|
+
}
|
668
|
+
.ui.bottom.tabular.menu .item {
|
669
|
+
background: none;
|
670
|
+
border-left: @tabularBorderWidth solid transparent;
|
671
|
+
border-right: @tabularBorderWidth solid transparent;
|
672
|
+
border-bottom: @tabularBorderWidth solid transparent;
|
673
|
+
border-top: none;
|
674
|
+
}
|
675
|
+
.ui.bottom.tabular.menu .active.item {
|
676
|
+
background: @tabularActiveBackground;
|
677
|
+
color: @tabularActiveColor;
|
678
|
+
border-color: @tabularBorderColor;
|
679
|
+
margin: -@tabularBorderWidth 0px 0px 0px;
|
680
|
+
border-radius: 0px 0px @tabularBorderRadius @tabularBorderRadius !important;
|
681
|
+
}
|
663
682
|
|
664
|
-
/* Vertical Tabular */
|
683
|
+
/* Vertical Tabular (Left) */
|
665
684
|
.ui.vertical.tabular.menu {
|
666
|
-
background
|
685
|
+
background: @tabularVerticalBackground;
|
667
686
|
border-radius: 0em;
|
668
687
|
box-shadow: none !important;
|
669
688
|
border-bottom: none;
|
@@ -676,16 +695,38 @@ Floated Menu / Item
|
|
676
695
|
border-top: @tabularBorderWidth solid transparent;
|
677
696
|
border-right: none;
|
678
697
|
}
|
679
|
-
|
680
|
-
/* Active */
|
681
698
|
.ui.vertical.tabular.menu .active.item {
|
682
|
-
background
|
683
|
-
color: @
|
699
|
+
background: @tabularActiveBackground;
|
700
|
+
color: @tabularActiveColor;
|
684
701
|
border-color: @tabularBorderColor;
|
685
702
|
margin: 0px -@tabularBorderWidth 0px 0px;
|
686
703
|
border-radius: @tabularBorderRadius 0px 0px @tabularBorderRadius !important;
|
687
704
|
}
|
688
705
|
|
706
|
+
/* Vertical Right Tabular */
|
707
|
+
.ui.vertical.right.tabular.menu {
|
708
|
+
background: @tabularVerticalBackground;
|
709
|
+
border-radius: 0em;
|
710
|
+
box-shadow: none !important;
|
711
|
+
border-bottom: none;
|
712
|
+
border-right: none;
|
713
|
+
border-left: @tabularBorderWidth solid @tabularBorderColor;
|
714
|
+
}
|
715
|
+
.ui.vertical.right.tabular.menu .item {
|
716
|
+
background: none;
|
717
|
+
border-right: @tabularBorderWidth solid transparent;
|
718
|
+
border-bottom: @tabularBorderWidth solid transparent;
|
719
|
+
border-top: @tabularBorderWidth solid transparent;
|
720
|
+
border-left: none;
|
721
|
+
}
|
722
|
+
.ui.vertical.right.tabular.menu .active.item {
|
723
|
+
background: @tabularActiveBackground;
|
724
|
+
color: @tabularActiveColor;
|
725
|
+
border-color: @tabularBorderColor;
|
726
|
+
margin: 0px 0px 0px -@tabularBorderWidth;
|
727
|
+
border-radius: 0px @tabularBorderRadius @tabularBorderRadius 0px !important;
|
728
|
+
}
|
729
|
+
|
689
730
|
/* Dropdown */
|
690
731
|
.ui.tabular.menu .active.dropdown.item {
|
691
732
|
margin-bottom: 0px;
|
@@ -827,6 +868,15 @@ Floated Menu / Item
|
|
827
868
|
box-shadow: none;
|
828
869
|
}
|
829
870
|
|
871
|
+
/* Sub Menu */
|
872
|
+
.ui.vertical.secondary.menu .item:not(.dropdown) > .menu {
|
873
|
+
margin: @secondaryMenuSubMenuMargin;
|
874
|
+
}
|
875
|
+
.ui.vertical.secondary.menu .item:not(.dropdown) > .menu > .item {
|
876
|
+
margin: @secondaryMenuSubMenuItemMargin;
|
877
|
+
padding: @secondaryMenuSubMenuItemPadding;
|
878
|
+
}
|
879
|
+
|
830
880
|
|
831
881
|
/*---------------------
|
832
882
|
Secondary Vertical
|
@@ -981,21 +1031,16 @@ Floated Menu / Item
|
|
981
1031
|
margin: @textMenuMargin;
|
982
1032
|
}
|
983
1033
|
.ui.text.menu .item {
|
984
|
-
padding: 0em;
|
985
1034
|
border-radius: 0px;
|
986
1035
|
box-shadow: none;
|
987
1036
|
align-self: center;
|
988
1037
|
margin: @textMenuItemMargin;
|
1038
|
+
padding: @textMenuItemPadding;
|
989
1039
|
font-weight: @textMenuItemFontWeight;
|
990
1040
|
color: @textMenuItemColor;
|
991
1041
|
transition: @textMenuItemTransition;
|
992
1042
|
}
|
993
1043
|
|
994
|
-
/* Sub Menu */
|
995
|
-
.ui.vertical.text.menu > .menu {
|
996
|
-
margin: @textMenuSubMenuMargin;
|
997
|
-
}
|
998
|
-
|
999
1044
|
/* Border */
|
1000
1045
|
.ui.text.menu .item:before,
|
1001
1046
|
.ui.text.menu .menu .item:before {
|
@@ -1005,7 +1050,6 @@ Floated Menu / Item
|
|
1005
1050
|
/* Header */
|
1006
1051
|
.ui.text.menu .header.item {
|
1007
1052
|
background-color: transparent;
|
1008
|
-
padding: 0em;
|
1009
1053
|
opacity: 1;
|
1010
1054
|
color: @textMenuHeaderColor;
|
1011
1055
|
font-size: @textMenuHeaderSize;
|
@@ -1044,6 +1088,15 @@ Floated Menu / Item
|
|
1044
1088
|
margin: @textVerticalMenuHeaderMargin;
|
1045
1089
|
}
|
1046
1090
|
|
1091
|
+
/* Vertical Sub Menu */
|
1092
|
+
.ui.vertical.text.menu .item:not(.dropdown) > .menu {
|
1093
|
+
margin: @textMenuSubMenuMargin;
|
1094
|
+
}
|
1095
|
+
.ui.vertical.text.menu .item:not(.dropdown) > .menu > .item {
|
1096
|
+
margin: @textMenuSubMenuItemMargin;
|
1097
|
+
padding: @textMenuSubMenuItemPadding;
|
1098
|
+
}
|
1099
|
+
|
1047
1100
|
/*--- hover ---*/
|
1048
1101
|
.ui.text.menu .item:hover {
|
1049
1102
|
opacity: 1;
|
@@ -1053,7 +1106,6 @@ Floated Menu / Item
|
|
1053
1106
|
/*--- active ---*/
|
1054
1107
|
.ui.text.menu .active.item {
|
1055
1108
|
background-color: transparent;
|
1056
|
-
padding: 0em;
|
1057
1109
|
border: none;
|
1058
1110
|
box-shadow: none;
|
1059
1111
|
font-weight: @textMenuActiveItemFontWeight;
|
@@ -1091,33 +1143,42 @@ Floated Menu / Item
|
|
1091
1143
|
Icon Only
|
1092
1144
|
---------------*/
|
1093
1145
|
|
1146
|
+
/* Vertical Menu */
|
1147
|
+
.ui.vertical.icon.menu {
|
1148
|
+
display: inline-block;
|
1149
|
+
width: auto;
|
1150
|
+
}
|
1151
|
+
|
1152
|
+
/* Item */
|
1094
1153
|
.ui.icon.menu .item {
|
1095
1154
|
height: auto;
|
1096
1155
|
text-align: @iconMenuTextAlign;
|
1097
1156
|
color: @iconMenuItemColor;
|
1098
1157
|
}
|
1099
|
-
|
1100
|
-
|
1158
|
+
|
1159
|
+
/* Icon */
|
1160
|
+
.ui.icon.menu .item > .icon:not(.dropdown) {
|
1161
|
+
margin: 0;
|
1101
1162
|
opacity: 1;
|
1102
1163
|
}
|
1103
|
-
|
1104
|
-
|
1105
|
-
margin: 0em auto;
|
1106
|
-
float: none;
|
1107
|
-
}
|
1164
|
+
|
1165
|
+
/* Icon Gylph */
|
1108
1166
|
.ui.icon.menu .icon:before {
|
1109
1167
|
opacity: 1;
|
1110
1168
|
}
|
1111
1169
|
|
1112
|
-
/* Item Icon
|
1170
|
+
/* (x) Item Icon */
|
1113
1171
|
.ui.menu .icon.item > .icon {
|
1114
1172
|
width: auto;
|
1115
1173
|
margin: 0em auto;
|
1116
1174
|
}
|
1117
1175
|
|
1118
|
-
/* Vertical */
|
1119
|
-
.ui.vertical.icon.menu {
|
1120
|
-
|
1176
|
+
/* Vertical Icon */
|
1177
|
+
.ui.vertical.icon.menu .item > .icon:not(.dropdown) {
|
1178
|
+
display: block;
|
1179
|
+
opacity: 1;
|
1180
|
+
margin: 0em auto;
|
1181
|
+
float: none;
|
1121
1182
|
}
|
1122
1183
|
|
1123
1184
|
/* Inverted */
|
@@ -1129,31 +1190,30 @@ Floated Menu / Item
|
|
1129
1190
|
Labeled Icon
|
1130
1191
|
---------------*/
|
1131
1192
|
|
1193
|
+
/* Menu */
|
1132
1194
|
.ui.labeled.icon.menu {
|
1133
1195
|
text-align: center;
|
1134
1196
|
}
|
1135
|
-
.ui.fluid.labeled.icon.menu .item {
|
1136
|
-
min-width: 0em;
|
1137
|
-
}
|
1138
1197
|
|
1139
|
-
|
1198
|
+
/* Item */
|
1199
|
+
.ui.labeled.icon.menu .item {
|
1140
1200
|
min-width: @labeledIconMinWidth;
|
1141
|
-
|
1142
|
-
.ui.labeled.icon.menu:not(.vertical) .item {
|
1143
|
-
padding-left: @labeledIconItemHorizontalPadding;
|
1144
|
-
padding-right: @labeledIconItemHorizontalPadding;
|
1201
|
+
flex-direction: column;
|
1145
1202
|
}
|
1146
1203
|
|
1204
|
+
/* Icon */
|
1147
1205
|
.ui.labeled.icon.menu .item > .icon:not(.dropdown) {
|
1148
1206
|
height: 1em;
|
1149
1207
|
display: block;
|
1150
1208
|
font-size: @labeledIconSize !important;
|
1151
|
-
margin: 0em @labeledIconTextMargin 0em 0em !important;
|
1152
|
-
}
|
1153
|
-
.ui.vertical.labeled.icon.menu .item > .icon:not(.dropdown) {
|
1154
1209
|
margin: 0em auto @labeledIconTextMargin !important;
|
1155
1210
|
}
|
1156
1211
|
|
1212
|
+
/* Fluid */
|
1213
|
+
.ui.fluid.labeled.icon.menu > .item {
|
1214
|
+
min-width: 0em;
|
1215
|
+
}
|
1216
|
+
|
1157
1217
|
|
1158
1218
|
/*******************************
|
1159
1219
|
Variations
|
@@ -1368,6 +1428,7 @@ Floated Menu / Item
|
|
1368
1428
|
---------------*/
|
1369
1429
|
|
1370
1430
|
/* Red */
|
1431
|
+
.ui.inverted.menu .red.active.item,
|
1371
1432
|
.ui.inverted.red.menu {
|
1372
1433
|
background-color: @red;
|
1373
1434
|
}
|
@@ -1379,6 +1440,7 @@ Floated Menu / Item
|
|
1379
1440
|
}
|
1380
1441
|
|
1381
1442
|
/* Orange */
|
1443
|
+
.ui.inverted.menu .orange.active.item,
|
1382
1444
|
.ui.inverted.orange.menu {
|
1383
1445
|
background-color: @orange;
|
1384
1446
|
}
|
@@ -1390,6 +1452,7 @@ Floated Menu / Item
|
|
1390
1452
|
}
|
1391
1453
|
|
1392
1454
|
/* Yellow */
|
1455
|
+
.ui.inverted.menu .yellow.active.item,
|
1393
1456
|
.ui.inverted.yellow.menu {
|
1394
1457
|
background-color: @yellow;
|
1395
1458
|
}
|
@@ -1401,6 +1464,7 @@ Floated Menu / Item
|
|
1401
1464
|
}
|
1402
1465
|
|
1403
1466
|
/* Olive */
|
1467
|
+
.ui.inverted.menu .olive.active.item,
|
1404
1468
|
.ui.inverted.olive.menu {
|
1405
1469
|
background-color: @olive;
|
1406
1470
|
}
|
@@ -1412,6 +1476,7 @@ Floated Menu / Item
|
|
1412
1476
|
}
|
1413
1477
|
|
1414
1478
|
/* Green */
|
1479
|
+
.ui.inverted.menu .green.active.item,
|
1415
1480
|
.ui.inverted.green.menu {
|
1416
1481
|
background-color: @green;
|
1417
1482
|
}
|
@@ -1423,6 +1488,7 @@ Floated Menu / Item
|
|
1423
1488
|
}
|
1424
1489
|
|
1425
1490
|
/* Teal */
|
1491
|
+
.ui.inverted.menu .teal.active.item,
|
1426
1492
|
.ui.inverted.teal.menu {
|
1427
1493
|
background-color: @teal;
|
1428
1494
|
}
|
@@ -1434,6 +1500,7 @@ Floated Menu / Item
|
|
1434
1500
|
}
|
1435
1501
|
|
1436
1502
|
/* Blue */
|
1503
|
+
.ui.inverted.menu .blue.active.item,
|
1437
1504
|
.ui.inverted.blue.menu {
|
1438
1505
|
background-color: @blue;
|
1439
1506
|
}
|
@@ -1445,6 +1512,7 @@ Floated Menu / Item
|
|
1445
1512
|
}
|
1446
1513
|
|
1447
1514
|
/* Violet */
|
1515
|
+
.ui.inverted.menu .violet.active.item,
|
1448
1516
|
.ui.inverted.violet.menu {
|
1449
1517
|
background-color: @violet;
|
1450
1518
|
}
|
@@ -1456,6 +1524,7 @@ Floated Menu / Item
|
|
1456
1524
|
}
|
1457
1525
|
|
1458
1526
|
/* Purple */
|
1527
|
+
.ui.inverted.menu .purple.active.item,
|
1459
1528
|
.ui.inverted.purple.menu {
|
1460
1529
|
background-color: @purple;
|
1461
1530
|
}
|
@@ -1467,6 +1536,7 @@ Floated Menu / Item
|
|
1467
1536
|
}
|
1468
1537
|
|
1469
1538
|
/* Pink */
|
1539
|
+
.ui.inverted.menu .pink.active.item,
|
1470
1540
|
.ui.inverted.pink.menu {
|
1471
1541
|
background-color: @pink;
|
1472
1542
|
}
|
@@ -1478,6 +1548,7 @@ Floated Menu / Item
|
|
1478
1548
|
}
|
1479
1549
|
|
1480
1550
|
/* Brown */
|
1551
|
+
.ui.inverted.menu .brown.active.item,
|
1481
1552
|
.ui.inverted.brown.menu {
|
1482
1553
|
background-color: @brown;
|
1483
1554
|
}
|
@@ -1489,6 +1560,7 @@ Floated Menu / Item
|
|
1489
1560
|
}
|
1490
1561
|
|
1491
1562
|
/* Grey */
|
1563
|
+
.ui.inverted.menu .grey.active.item,
|
1492
1564
|
.ui.inverted.grey.menu {
|
1493
1565
|
background-color: @grey;
|
1494
1566
|
}
|
@@ -1574,8 +1646,10 @@ Floated Menu / Item
|
|
1574
1646
|
.ui.item.menu,
|
1575
1647
|
.ui.item.menu .item {
|
1576
1648
|
width: 100%;
|
1577
|
-
padding-left:
|
1578
|
-
padding-right:
|
1649
|
+
padding-left: 0em !important;
|
1650
|
+
padding-right: 0em !important;
|
1651
|
+
margin-left: 0em !important;
|
1652
|
+
margin-right: 0em !important;
|
1579
1653
|
text-align: center;
|
1580
1654
|
justify-content: center;
|
1581
1655
|
}
|
@@ -1860,4 +1934,4 @@ Floated Menu / Item
|
|
1860
1934
|
width: @hugeWidth;
|
1861
1935
|
}
|
1862
1936
|
|
1863
|
-
.loadUIOverrides();
|
1937
|
+
.loadUIOverrides();
|