469 lines
9.9 KiB
CSS
469 lines
9.9 KiB
CSS
/* SportsPress admin styles */
|
|
.post-state-format.post-format-calendar:before, .post-format-icon.post-format-calendar:before, a.post-state-format.format-calendar:before {
|
|
content: "\f145";
|
|
}
|
|
|
|
.post-state-format.post-format-league:before, .post-format-icon.post-format-league:before, a.post-state-format.format-league:before {
|
|
content: "\f313";
|
|
}
|
|
|
|
.post-state-format.post-format-friendly:before, .post-format-icon.post-format-friendly:before, a.post-state-format.format-friendly:before {
|
|
content: "\f328";
|
|
}
|
|
|
|
.post-state-format.post-format-roster:before, .post-format-icon.post-format-roster:before, a.post-state-format.format-roster:before {
|
|
content: "\f307";
|
|
}
|
|
|
|
.post-state-format.post-format-list:before, .post-format-icon.post-format-list:before, a.post-state-format.format-list:before {
|
|
content: "\f163";
|
|
}
|
|
|
|
#sp_videodiv .inside > fieldset > p:last-child {
|
|
margin-bottom: 1px !important;
|
|
}
|
|
|
|
.fixed .column-sp_team .result,
|
|
.sp-calendar-table .result {
|
|
background: #888;
|
|
color: #fff;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
height: 1.4em;
|
|
line-height: 1.4em;
|
|
min-width: .7em;
|
|
padding: 0 6px;
|
|
display: inline-block;
|
|
-webkit-border-radius: 2px;
|
|
border-radius: 2px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fixed .column-sp_team .result:hover,
|
|
.sp-calendar-table .result:hover {
|
|
background: #2ea2cc;
|
|
}
|
|
|
|
.fixed .column-sp_format,
|
|
.fixed .column-sp_icon,
|
|
.fixed .column-sp_number {
|
|
width: 2.3em;
|
|
text-align: center;
|
|
}
|
|
|
|
.fixed .column-sp_time {
|
|
width: 6%;
|
|
}
|
|
|
|
.fixed .column-sp_league, .fixed .column-sp_season, .fixed .column-sp_venue, .fixed .column-sp_position, .fixed .column-sp_views {
|
|
width: 10%;
|
|
}
|
|
|
|
.fixed td.column-sp_format .dashicons:before {
|
|
color: #888;
|
|
}
|
|
|
|
/* Settings */
|
|
.sportspress table.form-table, .sportspress table.form-table .forminp-radio ul {
|
|
margin: 0;
|
|
}
|
|
.sportspress table.form-table fieldset {
|
|
margin-top: 4px;
|
|
}
|
|
.sportspress table.form-table fieldset:first-child {
|
|
margin-top: 0;
|
|
}
|
|
.sportspress table.form-table fieldset p.description {
|
|
margin-bottom: 8px;
|
|
}
|
|
.sportspress table.sp-admin-config-table .edit {
|
|
text-align: right;
|
|
}
|
|
.sportspress table.form-table .sp-color-box {
|
|
border: 1px solid #ccc;
|
|
box-shadow: 1px 1px 3px rgba(0,0,0,.2);
|
|
-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,.2);
|
|
-moz-box-shadow: 1px 1px 3px rgba(0,0,0,.2);
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px;
|
|
padding: 4px 6px;
|
|
float: left;
|
|
width: 90px;
|
|
margin: 0 10px 0 0;
|
|
}
|
|
.sportspress table.form-table .sp-color-box strong {
|
|
text-align: left;
|
|
display: block;
|
|
padding: 0 0 2px;
|
|
font-size: .92em;
|
|
}
|
|
.sportspress table.form-table .sp-color-box input.colorpick {
|
|
width: 100%;
|
|
margin: 0;
|
|
font-family: monospace;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
.sportspress table.form-table .sp-color-box .iris-picker {
|
|
z-index: 100;
|
|
position: absolute;
|
|
display: none;
|
|
border: 1px solid #ccc;
|
|
box-shadow: 1px 1px 3px rgba(0,0,0,.2);
|
|
-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,.2);
|
|
-moz-box-shadow: 1px 1px 3px rgba(0,0,0,.2);
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px;
|
|
margin: 15px 0 0 -7px;
|
|
}
|
|
|
|
/* Messages */
|
|
.sportspress-message {
|
|
border-left-color: #6bc2a5 !important;
|
|
}
|
|
|
|
.sportspress-message a.button-primary,
|
|
.sportspress-message a.button-secondary {
|
|
background: #6bc2a5;
|
|
border-color: #409e7f;
|
|
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sportspress-message a.button-primary:hover,
|
|
.sportspress-message a.button-secondary:hover {
|
|
background: #3bad87;
|
|
border-color: #338a6d;
|
|
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sportspress-message a.button-secondary {
|
|
-moz-opacity: 0.7;
|
|
opacity: 0.7;
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
|
|
}
|
|
|
|
.wp-media-buttons .button.sp-insert {
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.wp-media-buttons .sp-insert span.sp-buttons-icon {
|
|
display: inline-block;
|
|
width: 18px;
|
|
height: 18px;
|
|
vertical-align: text-top;
|
|
margin: 0 2px;
|
|
}
|
|
|
|
.wp-media-buttons .sp-insert span.sp-buttons-icon:before {
|
|
font: 400 18px/1 dashicons;
|
|
speak: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
color: #888;
|
|
}
|
|
|
|
.wp-media-buttons .sp-insert span.sp-map-buttons-icon:before {
|
|
content: '\f231';
|
|
}
|
|
|
|
.wp-media-buttons .sp-insert span.sp-table-buttons-icon:before {
|
|
content: '\f185';
|
|
}
|
|
|
|
table.widefat.sp-data-table img {
|
|
vertical-align: top;
|
|
}
|
|
|
|
table.widefat.sp-data-table th.column-outcome {
|
|
width: 10em;
|
|
}
|
|
|
|
table.widefat.sp-data-table td {
|
|
line-height: 2;
|
|
overflow: visible;
|
|
}
|
|
|
|
table.widefat.sp-data-table td:first-child {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
table.widefat.sp-data-table input[type="text"],
|
|
table.widefat.sp-data-table input[type="number"] {
|
|
min-width: 1.25em;
|
|
width: 100%;
|
|
}
|
|
|
|
table.widefat.sp-data-table input.name {
|
|
min-width: 0;
|
|
width: auto;
|
|
}
|
|
|
|
table.widefat.sp-data-table a.dashicons {
|
|
cursor: pointer;
|
|
height: 27px;
|
|
line-height: 27px;
|
|
}
|
|
|
|
table.widefat.sp-data-table a.sp-edit-name {
|
|
-moz-opacity: 0;
|
|
opacity: 0;
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
|
}
|
|
|
|
table.widefat.sp-data-table tr:hover a.sp-edit-name {
|
|
-moz-opacity: 1;
|
|
opacity: 1;
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
|
|
}
|
|
|
|
table.widefat.sp-data-table th:not(.check-column) input[type=checkbox] {
|
|
margin: -4px 1px 0;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
table.widefat select.sp-outcome {
|
|
width: 100%;
|
|
}
|
|
|
|
.sp-admin-config-table th,
|
|
.sp-admin-config-table td {
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.sp-admin-config-table th.radio,
|
|
.sp-admin-config-table td.radio {
|
|
width: 1%;
|
|
text-align: center;
|
|
}
|
|
|
|
.sp-admin-config-table th.radio input[type=radio],
|
|
.sp-admin-config-table td.radio input[type=radio] {
|
|
margin: 0;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
#sp_venue-adder h4,
|
|
#sp_team-adder h4,
|
|
#sp_season-adder h4,
|
|
#sp_player-adder h4,
|
|
#sp_position-adder h4 {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.form-field .sp-location-picker {
|
|
width: 95%;
|
|
height: 320px;
|
|
}
|
|
|
|
.sp-prefs .button {
|
|
margin: 0 3px 4px 0;
|
|
padding: 0 7px 1px 5px;
|
|
}
|
|
|
|
.sp-prefs .button input[type=checkbox] {
|
|
background: transparent;
|
|
border: none;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.sp-prefs .button input[type=checkbox]:not(:checked):before {
|
|
float: left;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
width: 16px;
|
|
font: 400 21px/1 dashicons;
|
|
speak: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
content: '\f335';
|
|
margin: -3px 0 0 -4px;
|
|
color: #a00;
|
|
}
|
|
|
|
.chosen-container-single .chosen-single {
|
|
-webkit-border-radius: 3px;
|
|
border-radius: 3px;
|
|
color: #555;
|
|
border-color: #ccc;
|
|
background: #f7f7f7;
|
|
-webkit-box-shadow: inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);
|
|
box-shadow: inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);
|
|
}
|
|
|
|
.chosen-container-active .chosen-single {
|
|
border-color: #999;
|
|
background: #fff;
|
|
}
|
|
|
|
.chosen-container-active.chosen-with-drop .chosen-single {
|
|
background: #fff;
|
|
}
|
|
|
|
.chosen-container-single .chosen-drop {
|
|
-webkit-border-radius: 0 0 3px 3px;
|
|
border-radius: 0 0 3px 3px;
|
|
}
|
|
|
|
.chosen-container-multi .chosen-choices {
|
|
background: #fff;
|
|
color: #333;
|
|
padding: 3px 0;
|
|
border-color: #ddd;
|
|
box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
|
|
line-height: 2;
|
|
}
|
|
|
|
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
|
|
color: #a9a9a9;
|
|
}
|
|
|
|
.chosen-container-multi .chosen-choices li.search-choice {
|
|
color: #555;
|
|
border-color: #ccc;
|
|
background: #f7f7f7;
|
|
-webkit-box-shadow: inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);
|
|
box-shadow: inset 0 1px 0 #fff,0 1px 0 rgba(0,0,0,.08);
|
|
vertical-align: top;
|
|
}
|
|
|
|
.chosen-container-multi .chosen-choices li.search-choice:hover {
|
|
background: #fafafa;
|
|
border-color: #999;
|
|
color: #222;
|
|
}
|
|
|
|
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
|
|
transition: none;
|
|
-webkit-transition: none;
|
|
}
|
|
|
|
/* TipTip */
|
|
|
|
.tips {
|
|
cursor: help;
|
|
}
|
|
|
|
#tiptip_holder {
|
|
display: none;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 99999;
|
|
}
|
|
|
|
#tiptip_holder.tip_top {
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
#tiptip_holder.tip_bottom {
|
|
padding-top: 5px;
|
|
}
|
|
|
|
#tiptip_holder.tip_right {
|
|
padding-left: 5px;
|
|
}
|
|
|
|
#tiptip_holder.tip_left {
|
|
padding-right: 5px;
|
|
}
|
|
|
|
#tiptip_content {
|
|
font-size: 11px;
|
|
color: #fff;
|
|
padding: .5em;
|
|
background: #464646;
|
|
-webkit-border-radius: 3px;
|
|
-moz-border-radius: 3px;
|
|
border-radius: 3px;
|
|
-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,.1);
|
|
-moz-box-shadow: 1px 1px 3px rgba(0,0,0,.1);
|
|
box-shadow: 1px 1px 3px rgba(0,0,0,.1);
|
|
text-align: center;
|
|
}
|
|
|
|
#tiptip_arrow, #tiptip_arrow_inner {
|
|
position: absolute;
|
|
border-color: transparent;
|
|
border-style: solid;
|
|
border-width: 6px;
|
|
height: 0;
|
|
width: 0;
|
|
}
|
|
|
|
#tiptip_holder.tip_top #tiptip_arrow {
|
|
border-top-color: #fff;
|
|
border-top-color: rgba(255,255,255,0.25);
|
|
}
|
|
|
|
#tiptip_holder.tip_bottom #tiptip_arrow {
|
|
border-bottom-color: #fff;
|
|
border-bottom-color: rgba(255,255,255,0.25);
|
|
}
|
|
|
|
#tiptip_holder.tip_right #tiptip_arrow {
|
|
border-right-color: #fff;
|
|
border-right-color: rgba(255,255,255,0.25);
|
|
}
|
|
|
|
#tiptip_holder.tip_left #tiptip_arrow {
|
|
border-left-color: #fff;
|
|
border-left-color: rgba(255,255,255,0.25);
|
|
}
|
|
|
|
#tiptip_holder.tip_top #tiptip_arrow_inner {
|
|
margin-top: -7px;
|
|
margin-left: -6px;
|
|
border-top-color: #464646;
|
|
}
|
|
|
|
#tiptip_holder.tip_bottom #tiptip_arrow_inner {
|
|
margin-top: -5px;
|
|
margin-left: -6px;
|
|
border-bottom-color: #464646;
|
|
}
|
|
|
|
#tiptip_holder.tip_right #tiptip_arrow_inner {
|
|
margin-top: -6px;
|
|
margin-left: -5px;
|
|
border-right-color: #464646;
|
|
}
|
|
|
|
#tiptip_holder.tip_left #tiptip_arrow_inner {
|
|
margin-top: -6px;
|
|
margin-left: -7px;
|
|
border-left-color: #464646;
|
|
}
|
|
|
|
/* Media Queries */
|
|
@media only screen and (max-width: 782px) {
|
|
|
|
.fixed .column-sp_time,
|
|
.fixed .column-sp_team,
|
|
.fixed .column-sp_league,
|
|
.fixed .column-sp_season,
|
|
.fixed .column-sp_venue,
|
|
.fixed .column-sp_views,
|
|
.fixed .column-sp_position,
|
|
.fixed .column-sp_player {
|
|
display: none;
|
|
}
|
|
|
|
.form-field .sp-location-picker {
|
|
width: 99%;
|
|
}
|
|
.form-field td .sp-location-picker {
|
|
width: 100%;
|
|
}
|
|
|
|
} |