Skip to content

Commit 24a8b9a

Browse files
candybar ui on boss
Signed-off-by: Arnav Gupta <arnav@codingblocks.com>
1 parent 87cfa03 commit 24a8b9a

File tree

6 files changed

+89
-17
lines changed

6 files changed

+89
-17
lines changed

public_static/lib/semantic/semantic.css

Lines changed: 51 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ body {
572572
min-width: 320px;
573573
background: #FFFFFF;
574574
font-family: 'Cabin', 'Helvetica Neue', Arial;
575-
font-size: 14px;
575+
font-size: 16px;
576576
line-height: 1.4285em;
577577
color: rgba(0, 0, 0, 0.87);
578578
font-smoothing: antialiased;
@@ -4994,6 +4994,20 @@ body .ui.inverted::-webkit-scrollbar-thumb:hover {
49944994
/*******************************
49954995
Site Overrides
49964996
*******************************/
4997+
4998+
.ui.primary.button {
4999+
background: -webkit-gradient(linear, left top, right top, from(#ed7298), to(#ec8871));
5000+
background: -webkit-linear-gradient(left, #ed7298, #ec8871);
5001+
background: linear-gradient(to right, #ed7298, #ec8871);
5002+
}
5003+
5004+
.ui.primary.button:hover {
5005+
background: -webkit-gradient(linear, left top, right top, from(#ed7298), to(#ec8871));
5006+
background: -webkit-linear-gradient(left, #ed7298, #ec8871);
5007+
background: linear-gradient(to right, #ed7298, #ec8871);
5008+
-webkit-box-shadow: 0 10px 41px 0 rgba(236, 131, 122, 0.2);
5009+
box-shadow: 0 10px 41px 0 rgba(236, 131, 122, 0.2);
5010+
}
49975011
/*!
49985012
* # Semantic UI 2.3.1 - Container
49995013
* http://github.com/semantic-org/semantic-ui/
@@ -13297,7 +13311,7 @@ img.ui.bordered.image {
1329713311
text-transform: none;
1329813312
font-weight: bold;
1329913313
border: 0px solid transparent;
13300-
border-radius: 0.28571429rem;
13314+
border-radius: 2rem;
1330113315
-webkit-transition: background 0.1s ease;
1330213316
transition: background 0.1s ease;
1330313317
}
@@ -13437,7 +13451,7 @@ a.ui.label {
1343713451
text-transform: none;
1343813452
background: #E8E8E8;
1343913453
padding: 0.5833em 0.833em 0.5833em 0.5em;
13440-
border-radius: 0.28571429rem;
13454+
border-radius: 2rem;
1344113455
-webkit-box-shadow: none;
1344213456
box-shadow: none;
1344313457
}
@@ -13447,14 +13461,14 @@ a.ui.label {
1344713461
vertical-align: top;
1344813462
height: 2.1666em;
1344913463
margin: -0.5833em 0.5em -0.5833em -0.5em;
13450-
border-radius: 0.28571429rem 0em 0em 0.28571429rem;
13464+
border-radius: 2rem 0em 0em 2rem;
1345113465
}
1345213466

1345313467
.ui.image.label .detail {
1345413468
background: rgba(0, 0, 0, 0.1);
1345513469
margin: -0.5833em -0.833em -0.5833em 0.5em;
1345613470
padding: 0.5833em 0.833em;
13457-
border-radius: 0em 0.28571429rem 0.28571429rem 0em;
13471+
border-radius: 0em 2rem 2rem 0em;
1345813472
}
1345913473

1346013474
/*-------------------
@@ -13467,7 +13481,7 @@ a.ui.label {
1346713481
position: relative;
1346813482
padding-left: 1.5em;
1346913483
padding-right: 1.5em;
13470-
border-radius: 0em 0.28571429rem 0.28571429rem 0em;
13484+
border-radius: 0em 2rem 2rem 0em;
1347113485
-webkit-transition: none;
1347213486
transition: none;
1347313487
}
@@ -13597,7 +13611,7 @@ a.ui.label {
1359713611
min-width: -webkit-max-content;
1359813612
min-width: -moz-max-content;
1359913613
min-width: max-content;
13600-
border-radius: 0em 0.28571429rem 0.28571429rem 0em;
13614+
border-radius: 0em 2rem 2rem 0em;
1360113615
border-color: rgba(0, 0, 0, 0.15);
1360213616
}
1360313617

@@ -13636,7 +13650,7 @@ a.ui.label {
1363613650
text-align: left;
1363713651
-webkit-transform: translateX(-100%);
1363813652
transform: translateX(-100%);
13639-
border-radius: 0.28571429rem 0em 0em 0.28571429rem;
13653+
border-radius: 2rem 0em 0em 2rem;
1364013654
}
1364113655

1364213656
.ui[class*="right ribbon"].label:after {
@@ -13702,21 +13716,21 @@ a.ui.label {
1370213716
.ui[class*="top left attached"].label {
1370313717
width: auto;
1370413718
margin-top: 0em !important;
13705-
border-radius: 0.21428571rem 0em 0.28571429rem 0em;
13719+
border-radius: 0.21428571rem 0em 2rem 0em;
1370613720
}
1370713721

1370813722
.ui[class*="top right attached"].label {
1370913723
width: auto;
1371013724
left: auto;
1371113725
right: 0em;
13712-
border-radius: 0em 0.21428571rem 0em 0.28571429rem;
13726+
border-radius: 0em 0.21428571rem 0em 2rem;
1371313727
}
1371413728

1371513729
.ui[class*="bottom left attached"].label {
1371613730
width: auto;
1371713731
top: auto;
1371813732
bottom: 0em;
13719-
border-radius: 0em 0.28571429rem 0em 0.21428571rem;
13733+
border-radius: 0em 2rem 0em 0.21428571rem;
1372013734
}
1372113735

1372213736
.ui[class*="bottom right attached"].label {
@@ -13725,7 +13739,7 @@ a.ui.label {
1372513739
left: auto;
1372613740
right: 0em;
1372713741
width: auto;
13728-
border-radius: 0.28571429rem 0em 0.21428571rem 0em;
13742+
border-radius: 2rem 0em 0.21428571rem 0em;
1372913743
}
1373013744

1373113745
/*******************************
@@ -23448,6 +23462,31 @@ Floated Menu / Item
2344823462
.ui.secondary.pointing.menu {
2344923463
background: white;
2345023464
}
23465+
23466+
.ui.item.menu {
23467+
border-radius: 2rem;
23468+
}
23469+
23470+
.ui.item.menu .item {
23471+
border-radius: 2rem;
23472+
}
23473+
23474+
.ui.item.menu .item:hover {
23475+
-webkit-box-shadow: 0 8px 20px 0 rgba(236, 131, 122, 0.2);
23476+
box-shadow: 0 8px 20px 0 rgba(236, 131, 122, 0.2);
23477+
}
23478+
23479+
.ui.menu .active.item {
23480+
background: -webkit-gradient(linear, left top, right top, from(#ed7298), to(#ec8871));
23481+
background: -webkit-linear-gradient(left, #ed7298, #ec8871);
23482+
background: linear-gradient(to right, #ed7298, #ec8871);
23483+
}
23484+
23485+
.ui.menu .active.item:hover {
23486+
background: -webkit-gradient(linear, left top, right top, from(#ed7298), to(#ec8871));
23487+
background: -webkit-linear-gradient(left, #ed7298, #ec8871);
23488+
background: linear-gradient(to right, #ed7298, #ec8871);
23489+
}
2345123490
/*!
2345223491
* # Semantic UI 2.3.1 - Message
2345323492
* http://github.com/semantic-org/semantic-ui/

public_static/lib/semantic/semantic.min.css

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semantic/src/site/collections/menu.overrides

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,24 @@
44

55
.ui.secondary.pointing.menu {
66
background: white;
7+
}
8+
9+
.ui.item.menu {
10+
border-radius: 2rem;
11+
12+
.item {
13+
border-radius: 2rem;
14+
15+
&:hover {
16+
box-shadow: 0 8px 20px 0 rgba(236,131,122,.2);
17+
}
18+
}
19+
}
20+
21+
.ui.menu .active.item {
22+
background: @buttonColor;
23+
24+
&:hover {
25+
background: @buttonColor;
26+
}
727
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
/*******************************
22
Site Overrides
33
*******************************/
4+
.ui.primary.button {
5+
background: @buttonColor;
6+
7+
&:hover {
8+
background: @buttonColor;
9+
box-shadow: 0 10px 41px 0 rgba(236,131,122,.2);
10+
}
11+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
/*******************************
22
User Variable Overrides
33
*******************************/
4+
5+
@borderRadius: 2rem;

semantic/src/site/globals/site.variables

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
@secondaryColor: @grey;
1010

1111
@linkColor: @red;
12+
@buttonColor: linear-gradient(to right,#ed7298,#ec8871);
1213

1314
@titleFont: 'Quicksand';
1415
@headerFont: 'Quicksand';
15-
@pageFont: 'Cabin', 'Helvetica Neue', Arial;
16+
@pageFont: 'Cabin', 'Helvetica Neue', Arial;
17+
18+
@fontSize: 16px;

0 commit comments

Comments
 (0)