Skip to content

Commit

Permalink
Updated component to version 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Semantic-Pusher-Robot committed Oct 6, 2022
1 parent 969d337 commit 56e3061
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 90 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"authors": [{
"name": "Jack Lukic",
"email": "[email protected]",
"web": "http://www.jacklukic.com",
"homepage": "http://www.jacklukic.com",
"role": "Creator"
}],
"keywords": ["semantic", "ui", "css", "framework"],
"license": "MIT",
"version": "2.4.1"
"version": "2.5.0"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "semantic-ui-segment",
"version": "2.4.1",
"version": "2.5.0",
"title": "Semantic UI - Segment",
"description": "Single component release of segment",
"homepage": "http://www.semantic-ui.com",
Expand Down
118 changes: 33 additions & 85 deletions segment.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.4.1 - Segment
* # Semantic UI 2.5.0 - Segment
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -16,8 +16,7 @@
.ui.segment {
position: relative;
background: #FFFFFF;
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
margin: 1rem 0em;
padding: 1em 1em;
border-radius: 0.28571429rem;
Expand All @@ -37,8 +36,7 @@
padding-right: 0em;
background: none transparent;
border-radius: 0px;
-webkit-box-shadow: none;
box-shadow: none;
box-shadow: none;
border: none;
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
}
Expand Down Expand Up @@ -90,8 +88,7 @@
.ui.basic.table.segment {
background: #FFFFFF;
border: 1px solid rgba(34, 36, 38, 0.15);
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
}
.ui[class*="very basic"].table.segment {
padding: 1em 1em;
Expand All @@ -108,19 +105,10 @@
--------------------*/

.ui.placeholder.segment {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
flex-direction: column;
justify-content: center;
align-items: stretch;
max-width: initial;
-webkit-animation: none;
animation: none;
Expand All @@ -129,8 +117,7 @@
min-height: 18rem;
background: #F9FAFB;
border-color: rgba(34, 36, 38, 0.15);
-webkit-box-shadow: 0px 2px 25px 0 rgba(34, 36, 38, 0.05) inset;
box-shadow: 0px 2px 25px 0 rgba(34, 36, 38, 0.05) inset;
box-shadow: 0px 2px 25px 0 rgba(34, 36, 38, 0.05) inset;
}
.ui.placeholder.segment .button,
.ui.placeholder.segment textarea {
Expand All @@ -153,8 +140,7 @@
margin-right: auto;
}
.ui.placeholder.segment > .inline {
-ms-flex-item-align: center;
align-self: center;
align-self: center;
}
.ui.placeholder.segment > .inline > .button {
display: inline-block;
Expand All @@ -172,8 +158,7 @@
.ui.piled.segments,
.ui.piled.segment {
margin: 3em 0em;
-webkit-box-shadow: '';
box-shadow: '';
box-shadow: '';
z-index: auto;
}
.ui.piled.segment:first-child {
Expand All @@ -195,20 +180,17 @@
position: absolute;
width: 100%;
border: 1px solid rgba(34, 36, 38, 0.15);
-webkit-box-shadow: '';
box-shadow: '';
box-shadow: '';
}
.ui.piled.segments:before,
.ui.piled.segment:before {
-webkit-transform: rotate(-1.2deg);
transform: rotate(-1.2deg);
transform: rotate(-1.2deg);
top: 0;
z-index: -2;
}
.ui.piled.segments:after,
.ui.piled.segment:after {
-webkit-transform: rotate(1.2deg);
transform: rotate(1.2deg);
transform: rotate(1.2deg);
top: 0;
z-index: -1;
}
Expand Down Expand Up @@ -299,16 +281,12 @@

/* Compact Group */
.ui.compact.segments {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
}
.ui.compact.segments .segment,
.ui.segments .compact.segment {
display: block;
-webkit-box-flex: 0;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
flex: 0 1 auto;
}

/*-------------------
Expand All @@ -329,8 +307,7 @@

.ui.raised.segments,
.ui.raised.segment {
-webkit-box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
box-shadow: 0px 2px 4px 0px rgba(34, 36, 38, 0.12), 0px 2px 10px 0px rgba(34, 36, 38, 0.15);
}


Expand All @@ -341,15 +318,11 @@

/* Group */
.ui.segments {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
flex-direction: column;
position: relative;
margin: 1rem 0em;
border: 1px solid rgba(34, 36, 38, 0.15);
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
border-radius: 0.28571429rem;
}
.ui.segments:first-child {
Expand All @@ -366,8 +339,7 @@
border-radius: 0px;
margin: 0em;
width: auto;
-webkit-box-shadow: none;
box-shadow: none;
box-shadow: none;
border: none;
border-top: 1px solid rgba(34, 36, 38, 0.15);
}
Expand All @@ -386,8 +358,7 @@
bottom: 0px;
margin-top: 0em;
margin-bottom: 0em;
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
}

Expand All @@ -410,19 +381,13 @@

/* Horizontal Group */
.ui.horizontal.segments {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
flex-direction: row;
background-color: transparent;
border-radius: 0px;
padding: 0em;
background-color: #FFFFFF;
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15);
margin: 1rem 0em;
border-radius: 0.28571429rem;
border: 1px solid rgba(34, 36, 38, 0.15);
Expand All @@ -434,15 +399,13 @@
background-color: transparent;
border-radius: 0px;
border: none;
-webkit-box-shadow: none;
box-shadow: none;
box-shadow: none;
border-top: 1px solid rgba(34, 36, 38, 0.15);
}

/* Horizontal Segment */
.ui.horizontal.segments > .segment {
-webkit-box-flex: 1;
flex: 1 1 auto;
flex: 1 1 auto;
-ms-flex: 1 1 0px;

/* Solves #2550 MS Flex */
Expand All @@ -451,8 +414,7 @@
background-color: transparent;
border-radius: 0px;
border: none;
-webkit-box-shadow: none;
box-shadow: none;
box-shadow: none;
border-left: 1px solid rgba(34, 36, 38, 0.15);
}

Expand Down Expand Up @@ -489,7 +451,6 @@
pointer-events: none;
text-shadow: none !important;
color: transparent !important;
-webkit-transition: all 0s linear;
transition: all 0s linear;
}
.ui.loading.segment:before {
Expand Down Expand Up @@ -519,29 +480,24 @@
border-color: #767676 rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
border-style: solid;
border-width: 0.2em;
-webkit-box-shadow: 0px 0px 0px 1px transparent;
box-shadow: 0px 0px 0px 1px transparent;
box-shadow: 0px 0px 0px 1px transparent;
visibility: visible;
z-index: 101;
}
@-webkit-keyframes segment-spin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes segment-spin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
transform: rotate(360deg);
}
}

Expand All @@ -557,8 +513,7 @@

.ui.basic.segment {
background: none transparent;
-webkit-box-shadow: none;
box-shadow: none;
box-shadow: none;
border: none;
border-radius: 0px;
}
Expand Down Expand Up @@ -731,8 +686,7 @@

.ui.inverted.segment {
border: none;
-webkit-box-shadow: none;
box-shadow: none;
box-shadow: none;
}
.ui.inverted.segment,
.ui.primary.inverted.segment {
Expand Down Expand Up @@ -764,8 +718,6 @@
color: rgba(0, 0, 0, 0.6);
}
.ui.secondary.inverted.segment {
background: #4c4f52 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.2)), to(rgba(255, 255, 255, 0.2)));
background: #4c4f52 -webkit-linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
background: #4c4f52 linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.2) 100%);
color: rgba(255, 255, 255, 0.8);
}
Expand All @@ -776,8 +728,6 @@
color: rgba(0, 0, 0, 0.6);
}
.ui.tertiary.inverted.segment {
background: #717579 -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.35)), to(rgba(255, 255, 255, 0.35)));
background: #717579 -webkit-linear-gradient(rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
background: #717579 linear-gradient(rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.35) 100%);
color: rgba(255, 255, 255, 0.8);
}
Expand All @@ -795,8 +745,7 @@
margin: 0em -1px;
width: calc(100% - (-1px * 2));
max-width: calc(100% - (-1px * 2));
-webkit-box-shadow: none;
box-shadow: none;
box-shadow: none;
border: 1px solid #D4D4D5;
}
.ui.attached:not(.message) + .ui.attached.segment:not(.top) {
Expand All @@ -821,8 +770,7 @@
margin-top: 0em;
top: 0px;
margin-bottom: 1rem;
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), none;
border-radius: 0em 0em 0.28571429rem 0.28571429rem;
}
.ui.segment[class*="bottom attached"]:last-child {
Expand Down
Loading

0 comments on commit 56e3061

Please sign in to comment.